Allow all CSS system colors in stylesheets without variables usage (#8945)

pull/8944/head
Thibaud Colas 2022-08-04 19:00:27 +02:00 zatwierdzone przez GitHub
rodzic 2d8aa123c0
commit 4f94c9ea20
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
2 zmienionych plików z 20 dodań i 1 usunięć

Wyświetl plik

@ -54,9 +54,27 @@ module.exports = {
'none',
'unset',
'transparent',
// System colors for forced-colors styling.
// See https://drafts.csswg.org/css-color-4/#css-system-colors.
'Canvas',
'CanvasText',
'LinkText',
'VisitedText',
'ActiveText',
'Highlight',
'ButtonFace',
'ButtonText',
'ButtonBorder',
'Field',
'FieldText',
'Highlight',
'HighlightText',
'SelectedItem',
'SelectedItemText',
'Mark',
'MarkText',
'GrayText',
'AccentColor',
'AccentColorText',
],
},
],

Wyświetl plik

@ -125,6 +125,7 @@ Changelog
* Fix: Avoid 503 `AttributeError` when an empty search param `q=` is combined with other filters in the Images index view (Paritosh Kabra)
* Fix: Fix error with string representation of FormSubmission not returning a string (LB (Ben) Johnston)
* Fix: Ensure disabled buttons are distinguishable from active buttons in forced colors mode (Anuja Verma)
* Include all CSS system colors in allowed values in Stylelint's declaration-strict-value rule
3.0.1 (16.06.2022)