Skip to content

Commit

Permalink
docs: improve info on custom colors
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisgrieser authored May 8, 2024
1 parent 6868837 commit b373299
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ they might be considered for inclusion in the core theme as a style setting.
--bg-hue: 230;
--bg-sat: 25%;

/* Note that `--color-accent-hsl` should have the same values as `--color-accent` */
--color-accent: hsl(184 79% 35%);
--color-accent-hsl: 184, 79%, 35%;
--interactive-accent: hsl(184 79% 30%);
Expand All @@ -107,6 +108,7 @@ they might be considered for inclusion in the core theme as a style setting.
--bg-hue: 230;
--bg-sat: 15%;

/* Note that `--color-accent-hsl` should have the same values as `--color-accent` */
--color-accent: hsl(184 79% 45%);
--color-accent-hsl: 184, 79%, 35%;
--interactive-accent: hsl(184 79% 30%);
Expand All @@ -117,9 +119,10 @@ they might be considered for inclusion in the core theme as a style setting.
--link-unresolved-color: hsl(101 42% 51%);
}

/* Note that `--color-accent-hsl` should have the same values as
`--color-accent`, and that `--bg-hue` will override the background colors you
have set in the Style Settings. */
/* Hide the background color settings since they are overwritten by the custom colors above */
.style-settings-container .setting-item:is([data-id="bg-hue-light"],[data-id="bg-hue-dark"]) {
display: none;
}
```
<!-- vale Google.FirstPerson = NO -->
### Submit bug fixes
Expand Down

0 comments on commit b373299

Please sign in to comment.