From c798a0c7e12c10464d7d6be36de70e675c9a5ca5 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Sat, 29 Oct 2022 02:12:40 -0400 Subject: [PATCH 1/3] docs: legacy stylelint color-function-notation --- docs/.stylelintrc.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/.stylelintrc.json b/docs/.stylelintrc.json index d2a61557dc4..88e576e9043 100644 --- a/docs/.stylelintrc.json +++ b/docs/.stylelintrc.json @@ -3,7 +3,7 @@ "rules": { "alpha-value-notation": null, "at-rule-empty-line-before": null, - "color-function-notation": null, + "color-function-notation": "legacy", "color-hex-case": null, "custom-property-empty-line-before": null, "custom-property-pattern": null, From 9db926ba1628c4ba70ee76153c6db6eec0160f4c Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Sat, 29 Oct 2022 02:13:16 -0400 Subject: [PATCH 2/3] docs: stylelint number alpha-value-notation --- docs/.stylelintrc.json | 2 +- docs/src/assets/scss/carbon-ads.scss | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/.stylelintrc.json b/docs/.stylelintrc.json index 88e576e9043..e311bae02bf 100644 --- a/docs/.stylelintrc.json +++ b/docs/.stylelintrc.json @@ -1,7 +1,7 @@ { "extends": ["stylelint-config-standard-scss"], "rules": { - "alpha-value-notation": null, + "alpha-value-notation": "number", "at-rule-empty-line-before": null, "color-function-notation": "legacy", "color-hex-case": null, diff --git a/docs/src/assets/scss/carbon-ads.scss b/docs/src/assets/scss/carbon-ads.scss index 085b0b736fe..e333f077c92 100644 --- a/docs/src/assets/scss/carbon-ads.scss +++ b/docs/src/assets/scss/carbon-ads.scss @@ -31,8 +31,8 @@ } .jumbotron #carbonads { - border: solid 1px hsla(250, 20%, 50%, .6); - background-color: hsla(0, 0%, 70%, .15); + border: solid 1px hsla(250, 20%, 50%, 0.6); + background-color: hsla(0, 0%, 70%, 0.15); } #carbonads a { From 1fc4f3b641be61721d32aba311fa1abae4aaf830 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Sat, 29 Oct 2022 02:14:17 -0400 Subject: [PATCH 3/3] docs: stylelint number hue-degree-notation --- docs/.stylelintrc.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/.stylelintrc.json b/docs/.stylelintrc.json index e311bae02bf..770ec0698d9 100644 --- a/docs/.stylelintrc.json +++ b/docs/.stylelintrc.json @@ -10,7 +10,7 @@ "declaration-block-no-duplicate-properties": null, "declaration-block-no-redundant-longhand-properties": null, "declaration-block-no-shorthand-property-overrides": null, - "hue-degree-notation": null, + "hue-degree-notation": "number", "indentation": 4, "max-line-length": null, "no-descending-specificity": null,