shell: the active tab's mark and the palette's edge take the theme's accent instead of wayBetter's brush
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
a7988f70f8
commit
d47a77d95d
2 changed files with 4 additions and 1 deletions
|
|
@ -81,6 +81,8 @@ export function chromeVars(theme: ChromeTheme, own = false): Record<string, stri
|
|||
'--wb-c-text': text, '--wb-c-text-2': mix(text, muted, 0.4), '--wb-c-muted': muted, '--wb-c-faint': mix(muted, bg, 0.38),
|
||||
'--wb-c-text-rgb': channels(text), '--wb-c-accent': accent, '--wb-c-accent-rgb': channels(accent), '--wb-c-accent-ink': ink,
|
||||
'--wb-c-scheme': dark ? 'dark' : 'light',
|
||||
// The chrome's marks (active tab, palette edge) in the theme's accent instead of wayBetter's brush.
|
||||
'--wb-c-brush': `linear-gradient(90deg, ${accent}, ${accent})`,
|
||||
...(dark ? {} : { '--wb-c-shadow-pop': `0 18px 44px -14px rgba(${hexToRgb(mix(text, bg, 0.2)).join(', ')}, .28), 0 3px 10px rgba(0, 0, 0, .08)` }),
|
||||
// Panel.
|
||||
'--wb-p-ground': bg, '--wb-p-chrome': mix(bg, surface, 0.5), '--wb-p-card': surface, '--wb-p-field': mix(surface, elevated, 0.5), '--wb-p-raise': elevated,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue