Skip to content

Commit

Permalink
v3.1.0: adjust border color
Browse files Browse the repository at this point in the history
  • Loading branch information
mustakshif committed Apr 21, 2024
1 parent bc4c69b commit 71f3e99
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
4 changes: 2 additions & 2 deletions style/features/colorful-asri.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

--b3-theme-on-primary: oklch(from var(--b3-theme-primary) .99 .01 h);

--b3-border-color: oklch(from var(--b3-theme-on-background) .92 clamp(0, .01 * var(--asri-c-factor, 1), .04) h);
--b3-border-color: oklch(from var(--b3-theme-on-background) .92 clamp(0, .005 * var(--asri-c-factor, 1), .02) h);
--b3-border-color-trans: oklch(from var(--b3-theme-on-background) l c h / .15);

--b3-menu-background: oklch(from var(--b3-theme-background) .95 c h);
Expand Down Expand Up @@ -95,7 +95,7 @@

--b3-theme-on-primary: oklch(from var(--b3-theme-primary) .99 .01 h);

--b3-border-color: oklch(from var(--b3-theme-on-background) .38 clamp(0, .01 * var(--asri-c-factor, 1), .04) h);
--b3-border-color: oklch(from var(--b3-theme-on-background) .38 clamp(0, .005 * var(--asri-c-factor, 1), .01) h);
--b3-border-color-trans: oklch(from var(--b3-theme-on-background) l c h / .15);

--b3-menu-background: oklch(from var(--b3-theme-background) .3 c h);
Expand Down
4 changes: 2 additions & 2 deletions style/typography/elements.scss
Original file line number Diff line number Diff line change
Expand Up @@ -944,10 +944,10 @@
}

&:not(.protyle-toolbar__item--current) {
@include theme-variant-color(color, on-background, 0.8);
color: var(--b3-theme-on-surface);

&:hover {
@include theme-variant-color(color, on-background, 1);
color: var(--b3-theme-on-background);
}
}
}
Expand Down
6 changes: 1 addition & 5 deletions theme.css

Large diffs are not rendered by default.

0 comments on commit 71f3e99

Please sign in to comment.