diff --git a/docs/.stylelintrc.json b/docs/.stylelintrc.json index bbaca142688..3e559e97d33 100644 --- a/docs/.stylelintrc.json +++ b/docs/.stylelintrc.json @@ -1,9 +1,9 @@ { "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, @@ -12,7 +12,7 @@ }], "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 0c8feb137cd..bd7ea8e660c 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 {