Browse Source

Revert some SCSS changes to fix Ansible provisioning

merge-requests/173/head
Andrew Shu 3 months ago
parent
commit
e5ee092057
  1. 1
      tildes/package.json
  2. 8
      tildes/scss/_functions.scss
  3. 4
      tildes/scss/themes/_atom_one_dark.scss
  4. 4
      tildes/scss/themes/_black.scss
  5. 4
      tildes/scss/themes/_default.scss
  6. 6
      tildes/scss/themes/_dracula.scss
  7. 12
      tildes/scss/themes/_gruvbox.scss
  8. 8
      tildes/scss/themes/_love.scss
  9. 12
      tildes/scss/themes/_nord.scss
  10. 12
      tildes/scss/themes/_solarized.scss
  11. 170
      tildes/scss/themes/_theme_mixins.scss
  12. 4
      tildes/scss/themes/_zenburn.scss

1
tildes/package.json

@ -149,6 +149,7 @@
], ],
"scss/double-slash-comment-whitespace-inside": "always", "scss/double-slash-comment-whitespace-inside": "always",
"scss/load-no-partial-leading-underscore": true, "scss/load-no-partial-leading-underscore": true,
"scss/no-global-function-names": null,
"scss/operator-no-newline-after": true, "scss/operator-no-newline-after": true,
"scss/operator-no-newline-before": true, "scss/operator-no-newline-before": true,
"scss/operator-no-unspaced": true, "scss/operator-no-unspaced": true,

8
tildes/scss/_functions.scss

@ -8,7 +8,7 @@
$x1: $x0; $x1: $x0;
@for $i from 1 through 10 { @for $i from 1 through 10 {
$x1: $x0 - ($x0 * $x0 - math.abs($r)) / (2 * $x0);
$x1: $x0 - ($x0 * $x0 - abs($r)) / (2 * $x0);
$x0: $x1; $x0: $x1;
} }
@ -24,9 +24,9 @@
$brightness-divisor: $red-magic-number + $green-magic-number + $blue-magic-number; $brightness-divisor: $red-magic-number + $green-magic-number + $blue-magic-number;
// Extract color components // Extract color components
$red-component: color.red($color);
$green-component: color.green($color);
$blue-component: color.blue($color);
$red-component: red($color);
$green-component: green($color);
$blue-component: blue($color);
// Calculate a brightness value in 3d color space between 0 and 255 // Calculate a brightness value in 3d color space between 0 and 255
$red: $red-component * $red-component * $red-magic-number; $red: $red-component * $red-component * $red-magic-number;

4
tildes/scss/themes/_atom_one_dark.scss

@ -52,6 +52,6 @@ body.theme-atom-one-dark {
@include theme-preview-block( @include theme-preview-block(
"atom-one-dark", "atom-one-dark",
map.get($theme-atom-one-dark, "foreground-primary"),
map.get($theme-atom-one-dark, "background-primary")
map-get($theme-atom-one-dark, "foreground-primary"),
map-get($theme-atom-one-dark, "background-primary")
); );

4
tildes/scss/themes/_black.scss

@ -30,6 +30,6 @@ body.theme-black {
@include theme-preview-block( @include theme-preview-block(
"black", "black",
map.get($theme-black, "foreground-primary"),
map.get($theme-black, "background-primary")
map-get($theme-black, "foreground-primary"),
map-get($theme-black, "background-primary")
); );

4
tildes/scss/themes/_default.scss

@ -34,6 +34,6 @@ body {
@include theme-preview-block( @include theme-preview-block(
"white", "white",
map.get($default-theme, "foreground-primary"),
map.get($default-theme, "background-primary")
map-get($default-theme, "foreground-primary"),
map-get($default-theme, "background-primary")
); );

6
tildes/scss/themes/_dracula.scss

@ -20,7 +20,7 @@ $theme-dracula: (
"alert": $orange, "alert": $orange,
"background-primary": $background, "background-primary": $background,
"background-secondary": $background-alt, "background-secondary": $background-alt,
"background-input": color.adjust($background, $lightness: -10%),
"background-input": darken($background, 10%),
"border": $foreground-alt, "border": $foreground-alt,
"comment-label-exemplary": $cyan, "comment-label-exemplary": $cyan,
"comment-label-joke": $green, "comment-label-joke": $green,
@ -53,6 +53,6 @@ body.theme-dracula {
@include theme-preview-block( @include theme-preview-block(
"dracula", "dracula",
map.get($theme-dracula, "foreground-primary"),
map.get($theme-dracula, "background-primary")
map-get($theme-dracula, "foreground-primary"),
map-get($theme-dracula, "background-primary")
); );

12
tildes/scss/themes/_gruvbox.scss

@ -93,7 +93,7 @@ $gruvbox-base: (
// Dark theme definition // Dark theme definition
$theme-gruvbox-dark: $theme-gruvbox-dark:
map.merge(
map-merge(
$gruvbox-base, $gruvbox-base,
( (
"alert": $gb-dm-light-orange, "alert": $gb-dm-light-orange,
@ -118,13 +118,13 @@ body.theme-gruvbox-dark {
@include theme-preview-block( @include theme-preview-block(
"gruvbox-dark", "gruvbox-dark",
map.get($theme-gruvbox-dark, "foreground-primary"),
map.get($theme-gruvbox-dark, "background-primary")
map-get($theme-gruvbox-dark, "foreground-primary"),
map-get($theme-gruvbox-dark, "background-primary")
); );
// Light theme definition // Light theme definition
$theme-gruvbox-light: $theme-gruvbox-light:
map.merge(
map-merge(
$gruvbox-base, $gruvbox-base,
( (
"alert": $dark-orange, "alert": $dark-orange,
@ -149,6 +149,6 @@ body.theme-gruvbox-light {
@include theme-preview-block( @include theme-preview-block(
"gruvbox-light", "gruvbox-light",
map.get($theme-gruvbox-light, "foreground-primary"),
map.get($theme-gruvbox-light, "background-primary")
map-get($theme-gruvbox-light, "foreground-primary"),
map-get($theme-gruvbox-light, "background-primary")
); );

8
tildes/scss/themes/_love.scss

@ -36,8 +36,8 @@ body.theme-love-dark {
@include theme-preview-block( @include theme-preview-block(
"love-dark", "love-dark",
map.get($theme-love-dark, "foreground-primary"),
map.get($theme-love-dark, "background-primary")
map-get($theme-love-dark, "foreground-primary"),
map-get($theme-love-dark, "background-primary")
); );
// Love Light // Love Light
@ -76,6 +76,6 @@ body.theme-love-light {
@include theme-preview-block( @include theme-preview-block(
"love-light", "love-light",
map.get($theme-love-light, "foreground-primary"),
map.get($theme-love-light, "background-primary")
map-get($theme-love-light, "foreground-primary"),
map-get($theme-love-light, "background-primary")
); );

12
tildes/scss/themes/_nord.scss

@ -52,7 +52,7 @@ $theme-nord-base: (
// Dark theme definition // Dark theme definition
$theme-nord-dark: $theme-nord-dark:
map.merge(
map-merge(
$theme-nord-base, $theme-nord-base,
( (
"background-input": #001f27, "background-input": #001f27,
@ -71,13 +71,13 @@ body.theme-nord-dark {
@include theme-preview-block( @include theme-preview-block(
"nord-dark", "nord-dark",
map.get($theme-nord-dark, "foreground-primary"),
map.get($theme-nord-dark, "background-primary")
map-get($theme-nord-dark, "foreground-primary"),
map-get($theme-nord-dark, "background-primary")
); );
// Light theme definition // Light theme definition
$theme-nord-light: $theme-nord-light:
map.merge(
map-merge(
$theme-nord-base, $theme-nord-base,
( (
"background-input": #fefbf1, "background-input": #fefbf1,
@ -98,6 +98,6 @@ body.theme-nord-light {
@include theme-preview-block( @include theme-preview-block(
"nord-light", "nord-light",
map.get($theme-nord-light, "foreground-primary"),
map.get($theme-nord-light, "background-primary")
map-get($theme-nord-light, "foreground-primary"),
map-get($theme-nord-light, "background-primary")
); );

12
tildes/scss/themes/_solarized.scss

@ -56,7 +56,7 @@ $theme-solarized-base: (
// Dark theme definition // Dark theme definition
$theme-solarized-dark: $theme-solarized-dark:
map.merge(
map-merge(
$theme-solarized-base, $theme-solarized-base,
( (
"background-input": #001f27, "background-input": #001f27,
@ -75,13 +75,13 @@ body.theme-solarized-dark {
@include theme-preview-block( @include theme-preview-block(
"solarized-dark", "solarized-dark",
map.get($theme-solarized-dark, "foreground-primary"),
map.get($theme-solarized-dark, "background-primary")
map-get($theme-solarized-dark, "foreground-primary"),
map-get($theme-solarized-dark, "background-primary")
); );
// Light theme definition // Light theme definition
$theme-solarized-light: $theme-solarized-light:
map.merge(
map-merge(
$theme-solarized-base, $theme-solarized-base,
( (
"background-input": #fefbf1, "background-input": #fefbf1,
@ -102,6 +102,6 @@ body.theme-solarized-light {
@include theme-preview-block( @include theme-preview-block(
"solarized-light", "solarized-light",
map.get($theme-solarized-light, "foreground-primary"),
map.get($theme-solarized-light, "background-primary")
map-get($theme-solarized-light, "foreground-primary"),
map-get($theme-solarized-light, "background-primary")
); );

170
tildes/scss/themes/_theme_mixins.scss

@ -10,12 +10,12 @@
} }
@function map-get-fallback($map, $preferred-key, $fallback-key) { @function map-get-fallback($map, $preferred-key, $fallback-key) {
// map.get that will fall back to a second key if the first isn't set
@if (map.has-key($map, $preferred-key)) {
@return map.get($map, $preferred-key);
// map-get that will fall back to a second key if the first isn't set
@if (map-has-key($map, $preferred-key)) {
@return map-get($map, $preferred-key);
} }
@return map.get($map, $fallback-key);
@return map-get($map, $fallback-key);
} }
@function init-theme($theme) { @function init-theme($theme) {
@ -38,7 +38,7 @@
"warning"; "warning";
@each $key in $essential-keys { @each $key in $essential-keys {
@if (not map.has-key($theme, $key)) {
@if (not map-has-key($theme, $key)) {
@error "Missing essential key in theme: #{$key}"; @error "Missing essential key in theme: #{$key}";
} }
} }
@ -62,27 +62,27 @@
$topic-tag-spoiler: map-get-fallback($theme, "topic-tag-spoiler", "warning"); $topic-tag-spoiler: map-get-fallback($theme, "topic-tag-spoiler", "warning");
// foreground-extreme: if not defined, use white on a dark bg and black on a light one // foreground-extreme: if not defined, use white on a dark bg and black on a light one
$foreground-extreme: map.get($theme, "foreground-extreme");
$foreground-extreme: map-get($theme, "foreground-extreme");
$foreground-extreme: $foreground-extreme:
choose-by-brightness( choose-by-brightness(
map.get($theme, "background-primary"),
map-get($theme, "background-primary"),
#000, #000,
#fff, #fff,
) !default; ) !default;
// foreground-middle: if not defined, mix foreground-primary and foreground-secondary // foreground-middle: if not defined, mix foreground-primary and foreground-secondary
$foreground-middle: map.get($theme, "foreground-middle");
$foreground-middle: map-get($theme, "foreground-middle");
$foreground-middle: $foreground-middle:
color.mix(
map.get($theme, "foreground-primary"),
map.get($theme, "foreground-secondary")
mix(
map-get($theme, "foreground-primary"),
map-get($theme, "foreground-secondary")
) !default; ) !default;
// link-hover: if not defined, darken the link color slightly // link-hover: if not defined, darken the link color slightly
$link-hover: map.get($theme, "link-hover");
$link-hover: color.adjust(map.get($theme, "link"), $lightness: -5%) !default;
$link-hover: map-get($theme, "link-hover");
$link-hover: darken(map-get($theme, "link"), 5%) !default;
$new-theme: $new-theme:
map.merge(
map-merge(
$theme, $theme,
( (
"background-input": $background-input, "background-input": $background-input,
@ -106,7 +106,7 @@
) )
); );
@return map.merge($default-theme, $new-theme);
@return map-merge($default-theme, $new-theme);
} }
@mixin minimal-hardcoded-theme($theme) { @mixin minimal-hardcoded-theme($theme) {
@ -117,9 +117,9 @@
@supports not (--test: green) { @supports not (--test: green) {
*, *,
#sidebar { #sidebar {
background-color: map.get($theme, "background-primary");
border-color: map.get($theme, "border");
color: map.get($theme, "foreground-primary");
background-color: map-get($theme, "background-primary");
border-color: map-get($theme, "border");
color: map-get($theme, "foreground-primary");
} }
a, a,
@ -128,7 +128,7 @@
.btn-link, .btn-link,
.nav-item a, .nav-item a,
.tab-item { .tab-item {
color: map.get($theme, "link");
color: map-get($theme, "link");
} }
// "&" represents the <body> element itself // "&" represents the <body> element itself
@ -137,7 +137,7 @@
#site-header *, #site-header *,
.comment-header, .comment-header,
.comment-header * { .comment-header * {
background-color: map.get($theme, "background-secondary");
background-color: map-get($theme, "background-secondary");
} }
input, input,
@ -145,7 +145,7 @@
textarea, textarea,
textarea[readonly], textarea[readonly],
.form-select:not([multiple], [size]) { .form-select:not([multiple], [size]) {
background-color: map.get($theme, "background-input");
background-color: map-get($theme, "background-input");
} }
.btn.btn-primary { .btn.btn-primary {
@ -153,7 +153,7 @@
} }
.text-secondary { .text-secondary {
color: map.get($theme, "foreground-secondary");
color: map-get($theme, "foreground-secondary");
} }
// Prevents the * rule from causing a <span> to override its parent // Prevents the * rule from causing a <span> to override its parent
@ -165,105 +165,105 @@
@mixin use-theme($selected-theme) { @mixin use-theme($selected-theme) {
$theme: init-theme($selected-theme); $theme: init-theme($selected-theme);
$is-light: is-color-bright(map.get($theme, "background-primary"));
$is-light: is-color-bright(map-get($theme, "background-primary"));
@include minimal-hardcoded-theme($theme); @include minimal-hardcoded-theme($theme);
// When creating CSS custom properties and using any of Sass' capabilities // When creating CSS custom properties and using any of Sass' capabilities
// you'll have to interpolate it with the Sass syntax `#{...}` as seen below. // you'll have to interpolate it with the Sass syntax `#{...}` as seen below.
--alert-color: #{map.get($theme, "alert")};
--background-input-color: #{map.get($theme, "background-input")};
--alert-color: #{map-get($theme, "alert")};
--background-input-color: #{map-get($theme, "background-input")};
--background-mixed-color: --background-mixed-color:
#{color.mix(
map.get($theme, "background-primary"),
map.get($theme, "background-secondary")
#{mix(
map-get($theme, "background-primary"),
map-get($theme, "background-secondary")
)}; )};
--background-primary-color: #{map.get($theme, "background-primary")};
--background-secondary-color: #{map.get($theme, "background-secondary")};
--border-color: #{map.get($theme, "border")};
--button-color: #{map.get($theme, "button")};
--background-primary-color: #{map-get($theme, "background-primary")};
--background-secondary-color: #{map-get($theme, "background-secondary")};
--border-color: #{map-get($theme, "border")};
--button-color: #{map-get($theme, "button")};
--button-by-brightness-color: --button-by-brightness-color:
#{choose-by-brightness( #{choose-by-brightness(
map.get($theme, "button"),
map-get($theme, "button"),
#000, #000,
#fff #fff
)}; )};
--button-transparent-color: #{rgba(map.get($theme, "button"), 0.2)};
--button-used-color: #{map.get($theme, "button-used")};
--error-color: #{map.get($theme, "error")};
--button-transparent-color: #{rgba(map-get($theme, "button"), 0.2)};
--button-used-color: #{map-get($theme, "button-used")};
--error-color: #{map-get($theme, "error")};
--error-by-brightness-color: --error-by-brightness-color:
#{choose-by-brightness( #{choose-by-brightness(
map.get($theme, "error"),
map-get($theme, "error"),
#000, #000,
#fff #fff
)}; )};
--foreground-extreme-color: --foreground-extreme-color:
#{choose-by-brightness( #{choose-by-brightness(
map.get($theme, "background-primary"),
map-get($theme, "background-primary"),
#000, #000,
#fff #fff
)}; )};
--foreground-highlight-color: #{map.get($theme, "foreground-highlight")};
--foreground-highlight-color: #{map-get($theme, "foreground-highlight")};
--foreground-mixed-color: --foreground-mixed-color:
#{color.mix(
map.get($theme, "foreground-primary"),
map.get($theme, "foreground-highlight")
#{mix(
map-get($theme, "foreground-primary"),
map-get($theme, "foreground-highlight")
)}; )};
--foreground-primary-color: #{map.get($theme, "foreground-primary")};
--foreground-secondary-color: #{map.get($theme, "foreground-secondary")};
--link-color: #{map.get($theme, "link")};
--link-hover-color: #{map.get($theme, "link-hover")};
--link-visited-color: #{map.get($theme, "link-visited")};
--stripe-mine-color: #{map.get($theme, "stripe-mine")};
--stripe-target-color: #{map.get($theme, "stripe-target")};
--success-color: #{map.get($theme, "success")};
--syntax-builtin-color: #{map.get($theme, "syntax-builtin")};
--syntax-comment-color: #{map.get($theme, "syntax-comment")};
--syntax-constant-color: #{map.get($theme, "syntax-constant")};
--syntax-keyword-color: #{map.get($theme, "syntax-keyword")};
--syntax-literal-color: #{map.get($theme, "syntax-literal")};
--syntax-string-color: #{map.get($theme, "syntax-string")};
--foreground-primary-color: #{map-get($theme, "foreground-primary")};
--foreground-secondary-color: #{map-get($theme, "foreground-secondary")};
--link-color: #{map-get($theme, "link")};
--link-hover-color: #{map-get($theme, "link-hover")};
--link-visited-color: #{map-get($theme, "link-visited")};
--stripe-mine-color: #{map-get($theme, "stripe-mine")};
--stripe-target-color: #{map-get($theme, "stripe-target")};
--success-color: #{map-get($theme, "success")};
--syntax-builtin-color: #{map-get($theme, "syntax-builtin")};
--syntax-comment-color: #{map-get($theme, "syntax-comment")};
--syntax-constant-color: #{map-get($theme, "syntax-constant")};
--syntax-keyword-color: #{map-get($theme, "syntax-keyword")};
--syntax-literal-color: #{map-get($theme, "syntax-literal")};
--syntax-string-color: #{map-get($theme, "syntax-string")};
// Colors for the special topic tags // Colors for the special topic tags
@if $is-light { @if $is-light {
--topic-tag-nsfw-color: #{map.get($theme, "topic-tag-nsfw")};
--topic-tag-nsfw-color: #{map-get($theme, "topic-tag-nsfw")};
--topic-tag-nsfw-foreground-color: #fff; --topic-tag-nsfw-foreground-color: #fff;
--topic-tag-nsfw-border-color: transparent; --topic-tag-nsfw-border-color: transparent;
--topic-tag-spoiler-color: #{map.get($theme, "topic-tag-spoiler")};
--topic-tag-spoiler-color: #{map-get($theme, "topic-tag-spoiler")};
--topic-tag-spoiler-foreground-color: #fff; --topic-tag-spoiler-foreground-color: #fff;
--topic-tag-spoiler-border-color: transparent; --topic-tag-spoiler-border-color: transparent;
} @else { } @else {
--topic-tag-nsfw-color: transparent; --topic-tag-nsfw-color: transparent;
--topic-tag-nsfw-foreground-color: #{map.get($theme, "topic-tag-nsfw")};
--topic-tag-nsfw-border-color: #{map.get($theme, "topic-tag-nsfw")};
--topic-tag-nsfw-foreground-color: #{map-get($theme, "topic-tag-nsfw")};
--topic-tag-nsfw-border-color: #{map-get($theme, "topic-tag-nsfw")};
--topic-tag-spoiler-color: transparent; --topic-tag-spoiler-color: transparent;
--topic-tag-spoiler-foreground-color: #{map.get($theme, "topic-tag-spoiler")};
--topic-tag-spoiler-border-color: #{map.get($theme, "topic-tag-spoiler")};
--topic-tag-spoiler-foreground-color: #{map-get($theme, "topic-tag-spoiler")};
--topic-tag-spoiler-border-color: #{map-get($theme, "topic-tag-spoiler")};
} }
--warning-color: #{map.get($theme, "warning")};
--warning-color: #{map-get($theme, "warning")};
// Colors for warning toasts // Colors for warning toasts
@if $is-light { @if $is-light {
--warning-background-color: #{rgba(map.get($theme, "warning"), 0.9)};
--warning-background-color: #{rgba(map-get($theme, "warning"), 0.9)};
--warning-foreground-color: #000; --warning-foreground-color: #000;
} @else { } @else {
--warning-background-color: transparent; --warning-background-color: transparent;
--warning-foreground-color: #{map.get($theme, "warning")};
--warning-foreground-color: #{map-get($theme, "warning")};
} }
// Variables for the comment labels. // Variables for the comment labels.
@if $is-light { @if $is-light {
--background-label-exemplary-color: #{map.get($theme, "comment-label-exemplary")};
--background-label-joke-color: #{map.get($theme, "comment-label-joke")};
--background-label-noise-color: #{map.get($theme, "comment-label-noise")};
--background-label-offtopic-color: #{map.get($theme, "comment-label-offtopic")};
--background-label-malice-color: #{map.get($theme, "comment-label-malice")};
--comment-label-exemplary-color: #{map.get($theme, "comment-label-exemplary")};
--comment-label-joke-color: #{map.get($theme, "comment-label-joke")};
--comment-label-noise-color: #{map.get($theme, "comment-label-noise")};
--comment-label-offtopic-color: #{map.get($theme, "comment-label-offtopic")};
--comment-label-malice-color: #{map.get($theme, "comment-label-malice")};
--background-label-exemplary-color: #{map-get($theme, "comment-label-exemplary")};
--background-label-joke-color: #{map-get($theme, "comment-label-joke")};
--background-label-noise-color: #{map-get($theme, "comment-label-noise")};
--background-label-offtopic-color: #{map-get($theme, "comment-label-offtopic")};
--background-label-malice-color: #{map-get($theme, "comment-label-malice")};
--comment-label-exemplary-color: #{map-get($theme, "comment-label-exemplary")};
--comment-label-joke-color: #{map-get($theme, "comment-label-joke")};
--comment-label-noise-color: #{map-get($theme, "comment-label-noise")};
--comment-label-offtopic-color: #{map-get($theme, "comment-label-offtopic")};
--comment-label-malice-color: #{map-get($theme, "comment-label-malice")};
--foreground-label-exemplary-color: #fff; --foreground-label-exemplary-color: #fff;
--foreground-label-joke-color: #fff; --foreground-label-joke-color: #fff;
--foreground-label-noise-color: #fff; --foreground-label-noise-color: #fff;
@ -275,15 +275,15 @@
--background-label-noise-color: transparent; --background-label-noise-color: transparent;
--background-label-offtopic-color: transparent; --background-label-offtopic-color: transparent;
--background-label-malice-color: transparent; --background-label-malice-color: transparent;
--comment-label-exemplary-color: #{map.get($theme, "comment-label-exemplary")};
--comment-label-joke-color: #{map.get($theme, "comment-label-joke")};
--comment-label-noise-color: #{map.get($theme, "comment-label-noise")};
--comment-label-offtopic-color: #{map.get($theme, "comment-label-offtopic")};
--comment-label-malice-color: #{map.get($theme, "comment-label-malice")};
--foreground-label-exemplary-color: #{map.get($theme, "comment-label-exemplary")};
--foreground-label-joke-color: #{map.get($theme, "comment-label-joke")};
--foreground-label-noise-color: #{map.get($theme, "comment-label-noise")};
--foreground-label-offtopic-color: #{map.get($theme, "comment-label-offtopic")};
--foreground-label-malice-color: #{map.get($theme, "comment-label-malice")};
--comment-label-exemplary-color: #{map-get($theme, "comment-label-exemplary")};
--comment-label-joke-color: #{map-get($theme, "comment-label-joke")};
--comment-label-noise-color: #{map-get($theme, "comment-label-noise")};
--comment-label-offtopic-color: #{map-get($theme, "comment-label-offtopic")};
--comment-label-malice-color: #{map-get($theme, "comment-label-malice")};
--foreground-label-exemplary-color: #{map-get($theme, "comment-label-exemplary")};
--foreground-label-joke-color: #{map-get($theme, "comment-label-joke")};
--foreground-label-noise-color: #{map-get($theme, "comment-label-noise")};
--foreground-label-offtopic-color: #{map-get($theme, "comment-label-offtopic")};
--foreground-label-malice-color: #{map-get($theme, "comment-label-malice")};
} }
} }

4
tildes/scss/themes/_zenburn.scss

@ -43,6 +43,6 @@ body.theme-zenburn {
@include theme-preview-block( @include theme-preview-block(
"zenburn", "zenburn",
map.get($theme-zenburn, "foreground-primary"),
map.get($theme-zenburn, "background-primary")
map-get($theme-zenburn, "foreground-primary"),
map-get($theme-zenburn, "background-primary")
); );
Loading…
Cancel
Save