-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
zumuta
committed
Nov 30, 2024
1 parent
ee5449b
commit 127c336
Showing
8 changed files
with
91 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
/* Primary and Surface Palettes */ | ||
:root { | ||
--p-primary-50: #fff7ed; | ||
--p-primary-100: #ffedd5; | ||
--p-primary-200: #fed7aa; | ||
--p-primary-300: #fdba74; | ||
--p-primary-400: #fb923c; | ||
--p-primary-500: #f97316; | ||
--p-primary-600: #ea580c; | ||
--p-primary-700: #c2410c; | ||
--p-primary-800: #9a3412; | ||
--p-primary-900: #7c2d12; | ||
--p-surface-0: #ffffff; | ||
--p-surface-50: #fafafa; | ||
--p-surface-100: #f4f4f5; | ||
--p-surface-200: #e4e4e7; | ||
--p-surface-300: #d4d4d8; | ||
--p-surface-400: #a1a1aa; | ||
--p-surface-500: #71717a; | ||
--p-surface-600: #52525b; | ||
--p-surface-700: #3f3f46; | ||
--p-surface-800: #27272a; | ||
--p-surface-900: #18181b; | ||
--p-surface-950: #09090b; | ||
--p-content-border-radius: 6px; | ||
} | ||
|
||
/* Light */ | ||
:root { | ||
--p-primary-color: var(--p-primary-500); | ||
--p-primary-contrast-color: var(--p-surface-0); | ||
--p-primary-hover-color: var(--p-primary-600); | ||
--p-primary-active-color: var(--p-primary-700); | ||
--p-content-border-color: var(--p-surface-200); | ||
--p-content-hover-background: var(--p-surface-100); | ||
--p-content-hover-color: var(--p-surface-800); | ||
--p-highlight-background: var(--p-primary-50); | ||
--p-highlight-color: var(--p-primary-700); | ||
--p-highlight-focus-background: var(--p-primary-100); | ||
--p-highlight-focus-color: var(--p-primary-800); | ||
--p-text-color: var(--p-surface-700); | ||
--p-text-hover-color: var(--p-surface-800); | ||
--p-text-muted-color: var(--p-surface-500); | ||
--p-text-hover-muted-color: var(--p-surface-600); | ||
} | ||
|
||
/* | ||
* Dark Mode | ||
* Defaults to system, change the selector to match the darkMode in tailwind.config. | ||
* For example; | ||
* darkMode: ['selector', '[class*="app-dark"]'] | ||
* should be; | ||
* :root[class="app-dark"] { | ||
*/ | ||
@media (prefers-color-scheme: dark) { | ||
:root { | ||
--p-primary-color: var(--p-primary-400); | ||
--p-primary-contrast-color: var(--p-surface-900); | ||
--p-primary-hover-color: var(--p-primary-300); | ||
--p-primary-active-color: var(--p-primary-200); | ||
--p-content-border-color: var(--p-surface-700); | ||
--p-content-hover-background: var(--p-surface-800); | ||
--p-content-hover-color: var(--p-surface-0); | ||
--p-highlight-background: color-mix(in srgb, var(--p-primary-400), transparent 84%); | ||
--p-highlight-color: rgba(255, 255, 255, 0.87); | ||
--p-highlight-focus-background: color-mix(in srgb, var(--p-primary-400), transparent 76%); | ||
--p-highlight-focus-color: rgba(255, 255, 255, 0.87); | ||
--p-text-color: var(--p-surface-0); | ||
--p-text-hover-color: var(--p-surface-0); | ||
--p-text-muted-color: var(--p-surface-400); | ||
--p-text-hover-muted-color: var(--p-surface-300); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.