Skip to content

Commit

Permalink
tweak .uc-contrast
Browse files Browse the repository at this point in the history
  • Loading branch information
malgojaviro committed Sep 16, 2024
1 parent d0fa49d commit 7af41ba
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
4 changes: 4 additions & 0 deletions blocks/CloudImageEditor/src/css/common.css
Original file line number Diff line number Diff line change
Expand Up @@ -985,6 +985,10 @@ uc-btn-ui.uc-secondary > button {
--active-background: transparent;
}

:where(.uc-contrast) uc-btn-ui.uc-secondary > button {
border: 1px solid var(--uc-border);
}

uc-btn-ui.uc-secondary-icon > button {
--idle-color-rgb: var(--uc-secondary-foreground);
--idle-brightness: 1;
Expand Down
4 changes: 4 additions & 0 deletions blocks/themes/uc-basic/common.css
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@
background-color: var(--uc-secondary-hover);
}

:where([uc-wgt-common].uc-contrast) button.uc-secondary-btn {
border: 1px solid var(--uc-border);
}

:where([uc-wgt-common]) button.uc-mini-btn {
height: var(--uc-button-size);
padding: 0;
Expand Down
4 changes: 2 additions & 2 deletions blocks/themes/uc-basic/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,8 @@
}

:where(.uc-contrast) {
--uc-border-light: oklch(40% 0 0);
--uc-border-dark: oklch(60% 0 0);
--uc-border-light: oklch(50% 0 0);
--uc-border-dark: oklch(50% 0 0);

--uc-muted-light: oklch(98% 0 0);
--uc-muted-dark: oklch(16% 0 0);
Expand Down

0 comments on commit 7af41ba

Please sign in to comment.