Skip to content

Commit

Permalink
Fix: UserContent - Page accent color #1048
Browse files Browse the repository at this point in the history
  • Loading branch information
black7375 committed Dec 18, 2024
1 parent e5eff55 commit 7f51acc
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 0 deletions.
17 changes: 17 additions & 0 deletions css/leptonContent.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions css/leptonContentESR.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions src/contents/_proton_color.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,16 @@
) {
@import "../theme/proton_color";

@include Option(
"userContent.page.proton_color.dark_blue_accent",
"userContent.page.proton_color.system_accent"
) {
:root, :host(.anonymous-content-host) {
--color-accent-primary: var(--in-content-primary-button-background) !important;
--color-accent-primary-hover: var(--in-content-primary-button-background-hover) !important;
--color-accent-primary-active: light-dark(var(--color-blue-70), var(--color-cyan-20));
}
}
@include Option("userContent.page.proton_color.dark_blue_accent") {
@include Dark {
@import "../theme/dark_blue_color";
Expand Down

0 comments on commit 7f51acc

Please sign in to comment.