diff --git a/docs/.stylelintrc.json b/docs/.stylelintrc.json index d2a61557dc4..770ec0698d9 100644 --- a/docs/.stylelintrc.json +++ b/docs/.stylelintrc.json @@ -1,16 +1,16 @@ { "extends": ["stylelint-config-standard-scss"], "rules": { - "alpha-value-notation": null, + "alpha-value-notation": "number", "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, "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, 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 {