Enable Stylelint color-hex-length

This commit is contained in:
Nick Schonning 2025-03-28 17:30:43 -04:00
parent 74ee96505a
commit 6162001c16
No known key found for this signature in database
GPG Key ID: 5DDAAD9C9AAFFD9F
4 changed files with 5 additions and 6 deletions

View File

@ -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%);

View File

@ -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

View File

@ -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

View File

@ -15,7 +15,6 @@ module.exports = {
rules: { rules: {
'at-rule-empty-line-before': null, 'at-rule-empty-line-before': null,
'color-function-notation': null, 'color-function-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,