Skip to content

Commit 4b45572

Browse files
authored
Patch - build: enable Stylelint hue-degree-notation (#2571)
Patch - Checkboxes and radio buttons - CSS code refactoring
1 parent 5a98ebe commit 4b45572

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

components/gc-chckbxrdio/_base.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*/
99

1010
@mixin chckbxrdio-hover {
11-
background-image: linear-gradient(to bottom, hsl(10, 0%, 90%), hsl(10, 0%, 100%) 50%);
11+
background-image: linear-gradient(to bottom, hsl(10deg, 0%, 90%), hsl(10deg, 0%, 100%) 50%);
1212
}
1313

1414
@mixin chckbxrdio-focus {

stylelint.config.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ module.exports = {
7474
"font-family-no-missing-generic-family-keyword": null,
7575
"function-no-unknown": null,
7676
"function-url-quotes": null,
77-
"hue-degree-notation": null,
7877
"keyframes-name-pattern": null,
7978
"length-zero-no-unit": null,
8079
"media-feature-name-no-unknown": null,
@@ -114,7 +113,6 @@ module.exports = {
114113
// Suppress stylelint-config-standard errors
115114
"at-rule-empty-line-before": null,
116115
"declaration-block-no-redundant-longhand-properties": null,
117-
"hue-degree-notation": null,
118116
"keyframes-name-pattern": null,
119117
"no-descending-specificity": null, // Extremely slow
120118
"no-invalid-position-at-import-rule": null, // Fixable, need to run sass migrator

0 commit comments

Comments
 (0)