Browse Source

Set stylelint color-function-notation legacy to fix boussole

https://stylelint.io/user-guide/rules/color-function-notation/
merge-requests/173/head
Andrew Shu 4 weeks ago
parent
commit
cc4d4a5f61
  1. 1
      tildes/package.json
  2. 19
      tildes/scss/themes/_atom_one_dark.scss

1
tildes/package.json

@ -50,6 +50,7 @@
}
],
"block-no-empty": true,
"color-function-notation": "legacy",
"color-named": "never",
"color-no-invalid-hex": true,
"comment-empty-line-before": "always",

19
tildes/scss/themes/_atom_one_dark.scss

@ -1,20 +1,19 @@
// Colours from Atom One Dark Syntax
// stylelint-disable-line max-line-length
// https://github.com/atom/atom/blob/master/packages/one-dark-syntax/styles/colors.less
// Base colors
$background: hsl(220deg 13% 18%);
$background: hsl(220deg, 13%, 18%);
$background-alt: #21242b;
$foreground: hsl(220deg 14% 71%);
$foreground-alt: hsl(220deg 9% 55%);
$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%);
$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: (

Loading…
Cancel
Save