You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

56 lines
1.5 KiB

// Colours from Atom One Dark Syntax
// https://github.com/atom/atom/blob/master/packages/one-dark-syntax/styles/colors.less
// Base colors
$background: hsl(220deg 13% 18%);
$background-alt: #21242b;
$foreground: hsl(220deg 14% 71%);
$foreground-alt: hsl(220deg 9% 55%);
// Accent colors
$cyan: hsl(187deg 47% 55%);
$blue: hsl(207deg 82% 66%);
$purple: hsl(286deg 60% 67%);
$green: hsl(95deg 38% 62%);
$red: hsl(355deg 65% 65%);
$orange: hsl(29deg 54% 61%);
// Actual theme definition
$theme-atom-one-dark: (
"alert": $orange,
"background-primary": $background,
"background-secondary": $background-alt,
"comment-label-exemplary": $blue,
"comment-label-joke": $green,
"comment-label-noise": $orange,
"comment-label-offtopic": $cyan,
"comment-label-malice": $red,
"error": $red,
"foreground-primary": $foreground,
"foreground-secondary": $foreground-alt,
"foreground-highlight": $foreground,
"link": $blue,
"link-visited": $purple,
"stripe-mine": $purple,
"stripe-target": $orange,
"success": $green,
"syntax-builtin": $cyan,
"syntax-comment": $foreground-alt,
"syntax-constant": $red,
"syntax-keyword": $pink,
"syntax-literal": $purple,
"syntax-string": $yellow,
"topic-tag-nsfw": $red,
"topic-tag-spoiler": $orange,
"warning": $orange,
);
body.theme-atom-one-dark {
@include use-theme($theme-atom-one-dark);
}
@include theme-preview-block(
"atom-one-dark",
map.get($theme-atom-one-dark, "foreground-primary"),
map.get($theme-atom-one-dark, "background-primary")
);