Skip to content

Commit

Permalink
Use text-background colors for auto community header text color
Browse files Browse the repository at this point in the history
  • Loading branch information
HM100 committed Oct 17, 2021
1 parent b6e1622 commit 2f38971
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion resources/CPE.css
Original file line number Diff line number Diff line change
Expand Up @@ -192,9 +192,14 @@ html[dark-mode="true"] body[page-text-background-color-auto="true"] {
}

body[community-header-text-background-color-auto="true"] {
--community-header-text-background-color:var(--community-foreground-color)!important;
--community-header-text-background-color:var(--light-theme-text-background-color)!important;
}

html[light-community="false"] body[community-header-text-background-color-auto="true"] {
--community-header-text-background-color:var(--dark-theme-text-background-color)!important;
}


/* Color mixes and secondary background for browsers supporting color-mix() */
@supports ( color:color-mix(in srgb, red 40%, white) ) {
body {
Expand Down

0 comments on commit 2f38971

Please sign in to comment.