Skip to content

Commit

Permalink
docs: explicit stylelint color related rules (#16465)
Browse files Browse the repository at this point in the history
* docs: legacy stylelint color-function-notation

* docs: stylelint number alpha-value-notation

* docs: stylelint number hue-degree-notation
  • Loading branch information
nschonni committed Nov 2, 2022
1 parent 94dc4f1 commit 324db1a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions 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,
Expand All @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions docs/src/assets/scss/carbon-ads.scss
Expand Up @@ -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 {
Expand Down

0 comments on commit 324db1a

Please sign in to comment.