Vendor SharedCode locally
This commit is contained in:
1 parent
a8c51b8484
commit
6eb8f4ad60
88 files changed
+9708
-275
No files matched your search
@@ -0,0 +1,3 @@
|
||||
# `@gabriel20xx/design-tokens`
|
||||
|
||||
The package exports `theme.css`. Import it directly when an application needs only the shared tokens, or use `@gabriel20xx/web-ui/styles.css`, which imports it automatically.
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"name": "@gabriel20xx/design-tokens",
|
||||
"version": "0.1.1",
|
||||
"description": "Shared visual tokens for Gabriel20xx web projects.",
|
||||
"license": "MIT",
|
||||
"files": [
|
||||
"theme.css",
|
||||
"README.md"
|
||||
],
|
||||
"exports": {
|
||||
".": {
|
||||
"default": "./theme.css"
|
||||
},
|
||||
"./theme.css": "./theme.css",
|
||||
"./package.json": "./package.json"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,68 @@
|
||||
:root,
|
||||
[data-theme='dark'] {
|
||||
color-scheme: dark;
|
||||
--sc-bg: #0b1020;
|
||||
--sc-surface: #121a2d;
|
||||
--sc-surface-raised: #18233b;
|
||||
--sc-surface-hover: #202d49;
|
||||
--sc-border: #2d3b59;
|
||||
--sc-border-strong: #405273;
|
||||
--sc-fg: #f4f7fb;
|
||||
--sc-muted-fg: #a8b4c7;
|
||||
--sc-subtle-fg: #74839d;
|
||||
--sc-primary: #7c9cff;
|
||||
--sc-primary-hover: #94adff;
|
||||
--sc-primary-fg: #081127;
|
||||
--sc-secondary: #253452;
|
||||
--sc-secondary-hover: #304363;
|
||||
--sc-secondary-fg: #e8eefb;
|
||||
--sc-accent: #61d5c7;
|
||||
--sc-accent-fg: #06201d;
|
||||
--sc-danger: #ef767a;
|
||||
--sc-danger-hover: #f58d90;
|
||||
--sc-danger-fg: #2d0809;
|
||||
--sc-success: #70d69d;
|
||||
--sc-success-fg: #062012;
|
||||
--sc-warning: #f3c969;
|
||||
--sc-warning-fg: #241a02;
|
||||
--sc-ring: #9fb4ff;
|
||||
--sc-backdrop: rgb(2 6 23 / 72%);
|
||||
--sc-radius-sm: 0.375rem;
|
||||
--sc-radius-md: 0.625rem;
|
||||
--sc-radius-lg: 0.875rem;
|
||||
--sc-radius-xl: 1.125rem;
|
||||
--sc-font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
||||
--sc-font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
|
||||
--sc-shadow-sm: 0 2px 8px rgb(0 0 0 / 14%);
|
||||
--sc-shadow-lg: 0 20px 60px rgb(0 0 0 / 32%);
|
||||
}
|
||||
|
||||
[data-theme='light'] {
|
||||
color-scheme: light;
|
||||
--sc-bg: #f5f7fb;
|
||||
--sc-surface: #ffffff;
|
||||
--sc-surface-raised: #ffffff;
|
||||
--sc-surface-hover: #eef2f8;
|
||||
--sc-border: #d7deea;
|
||||
--sc-border-strong: #b7c2d4;
|
||||
--sc-fg: #172033;
|
||||
--sc-muted-fg: #53627a;
|
||||
--sc-subtle-fg: #74839d;
|
||||
--sc-primary: #466ee8;
|
||||
--sc-primary-hover: #345bd4;
|
||||
--sc-primary-fg: #ffffff;
|
||||
--sc-secondary: #e7edf8;
|
||||
--sc-secondary-hover: #dbe4f3;
|
||||
--sc-secondary-fg: #1d2b44;
|
||||
--sc-accent: #168f83;
|
||||
--sc-accent-fg: #ffffff;
|
||||
--sc-danger: #cf3d45;
|
||||
--sc-danger-hover: #b93139;
|
||||
--sc-danger-fg: #ffffff;
|
||||
--sc-success: #208751;
|
||||
--sc-success-fg: #ffffff;
|
||||
--sc-warning: #a66e00;
|
||||
--sc-warning-fg: #ffffff;
|
||||
--sc-ring: #466ee8;
|
||||
--sc-backdrop: rgb(15 23 42 / 42%);
|
||||
}
|
||||
Reference in new issue
Block a user