Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: explicit stylelint color related rules #16465

Merged
merged 3 commits into from Nov 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions 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,
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