Enable Stylelint color-hex-length (#34310)
This commit is contained in:
parent
f7182ddc8b
commit
d8ea8bc3bb
4 changed files with 5 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
||||||
@use '../mastodon/functions' as *;
|
@use '../mastodon/functions' as *;
|
||||||
|
|
||||||
// Dependent colors
|
// Dependent colors
|
||||||
$black: #000000;
|
$black: #000;
|
||||||
|
|
||||||
$classic-base-color: hsl(240deg, 16%, 19%);
|
$classic-base-color: hsl(240deg, 16%, 19%);
|
||||||
$classic-primary-color: hsl(240deg, 29%, 70%);
|
$classic-primary-color: hsl(240deg, 29%, 70%);
|
||||||
|
|
|
@ -5,8 +5,8 @@
|
||||||
$lighten-multiplier: -1
|
$lighten-multiplier: -1
|
||||||
);
|
);
|
||||||
|
|
||||||
$black: #000000; // Black
|
$black: #000; // Black
|
||||||
$white: #ffffff; // White
|
$white: #fff; // White
|
||||||
$blurple-500: #6364ff; // Brand purple
|
$blurple-500: #6364ff; // Brand purple
|
||||||
$grey-600: hsl(240deg, 8%, 33%); // Trout
|
$grey-600: hsl(240deg, 8%, 33%); // Trout
|
||||||
$grey-100: hsl(240deg, 51%, 90%); // Topaz
|
$grey-100: hsl(240deg, 51%, 90%); // Topaz
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
@use 'functions' as *;
|
@use 'functions' as *;
|
||||||
|
|
||||||
// Commonly used web colors
|
// Commonly used web colors
|
||||||
$black: #000000; // Black
|
$black: #000; // Black
|
||||||
$white: #ffffff; // White
|
$white: #fff; // White
|
||||||
$red-600: #b7253d !default; // Deep Carmine
|
$red-600: #b7253d !default; // Deep Carmine
|
||||||
$red-500: #df405a !default; // Cerise
|
$red-500: #df405a !default; // Cerise
|
||||||
$blurple-600: #563acc; // Iris
|
$blurple-600: #563acc; // Iris
|
||||||
|
|
|
@ -16,7 +16,6 @@ module.exports = {
|
||||||
'at-rule-empty-line-before': null,
|
'at-rule-empty-line-before': null,
|
||||||
'color-function-notation': null,
|
'color-function-notation': null,
|
||||||
'color-function-alias-notation': null,
|
'color-function-alias-notation': null,
|
||||||
'color-hex-length': null,
|
|
||||||
'declaration-block-no-redundant-longhand-properties': null,
|
'declaration-block-no-redundant-longhand-properties': null,
|
||||||
'no-descending-specificity': null,
|
'no-descending-specificity': null,
|
||||||
'no-duplicate-selectors': null,
|
'no-duplicate-selectors': null,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue