feat: unify theme system (#7)
Reviewed-on: #7
This commit was merged in pull request #7.
This commit is contained in:
@@ -21,7 +21,7 @@ pub struct ColorTokens {
|
||||
pub foreground: Hsla,
|
||||
pub surface: Hsla,
|
||||
pub surface_foreground: Hsla,
|
||||
/// The docked sidebar's backdrop, matching the platform's window chrome.
|
||||
/// The docked sidebar's backdrop.
|
||||
pub sidebar: Hsla,
|
||||
pub primary: Hsla,
|
||||
pub primary_foreground: Hsla,
|
||||
@@ -77,8 +77,8 @@ impl ColorTokens {
|
||||
info: hex(0x0284c7),
|
||||
info_foreground: hex(0xffffff),
|
||||
border: hex(0xe4e4e7),
|
||||
input: hex(0xe4e4e7),
|
||||
ring: hex(0x93c5fd),
|
||||
input: hex(0xffffff),
|
||||
ring: hex(0x2563eb),
|
||||
selection: hex(0xdbeafe),
|
||||
overlay: scrim(0.25),
|
||||
// macOS light overlay thumbs are translucent black.
|
||||
@@ -112,8 +112,8 @@ impl ColorTokens {
|
||||
info: hex(0x38bdf8),
|
||||
info_foreground: hex(0x082f49),
|
||||
border: hex(0x27272a),
|
||||
input: hex(0x27272a),
|
||||
ring: hex(0x1d4ed8),
|
||||
input: hex(0x09090b),
|
||||
ring: hex(0x3b82f6),
|
||||
selection: hex(0x1e3a8a),
|
||||
overlay: scrim(0.45),
|
||||
// macOS dark overlay thumbs are translucent light gray.
|
||||
|
||||
Reference in New Issue
Block a user