@nebutra/tokens 0.1.1 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +23 -0
- package/LICENSE +21 -676
- package/README.md +41 -8
- package/brands/gsap/brand.json +133 -0
- package/brands/linear/brand.json +163 -0
- package/brands/notion/brand.json +145 -0
- package/brands/raycast/brand.json +120 -0
- package/brands/stripe/brand.json +127 -0
- package/brands/vanta/brand.json +151 -0
- package/brands/vercel/brand.json +173 -0
- package/dist/brand-package/index.d.ts +123 -0
- package/dist/brand-package/index.js +61 -0
- package/dist/brand-package/index.js.map +1 -0
- package/dist/brand-package/use-brand.d.ts +2 -0
- package/dist/brand-package/use-brand.js +12 -0
- package/dist/brand-package/use-brand.js.map +1 -0
- package/dist/chunk-ALJTP5HL.js +881 -0
- package/dist/chunk-ALJTP5HL.js.map +1 -0
- package/dist/chunk-RGUJQOLH.js +1582 -0
- package/dist/chunk-RGUJQOLH.js.map +1 -0
- package/dist/index.d.ts +81 -0
- package/dist/index.js +187 -0
- package/dist/index.js.map +1 -0
- package/dist/use-brand-C8d4DPqE.d.ts +371 -0
- package/package.json +46 -12
- package/recipe.css +435 -0
- package/skins/README.md +149 -0
- package/skins/gsap.css +159 -0
- package/skins/linear.css +198 -0
- package/skins/notion.css +158 -0
- package/skins/raycast.css +185 -0
- package/skins/stripe.css +146 -0
- package/skins/vanta.css +160 -0
- package/skins/vercel.css +202 -0
- package/styles.css +528 -169
- package/.turbo/turbo-build.log +0 -5
- package/.turbo/turbo-typecheck.log +0 -4
- package/AGENTS.md +0 -42
- package/DESIGN.md +0 -335
- package/src/index.ts +0 -37
- package/src/theme-provider.tsx +0 -244
- package/tsconfig.json +0 -11
package/skins/gsap.css
ADDED
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Brand carrier skin: GSAP (gsap) v1.0.0
|
|
3
|
+
* darkDefault=true dualMode=false button=gradient-stroke
|
|
4
|
+
* fonts=2 mode=global
|
|
5
|
+
* Contract: roles.action → --primary; roles.brand → --brand-mark (never default CTA)
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/* Brand font faces */
|
|
9
|
+
@font-face {
|
|
10
|
+
font-family: "Mori";
|
|
11
|
+
src: url("/brand-assets/mori-regular.woff2") format("woff2");
|
|
12
|
+
font-weight: 400;
|
|
13
|
+
font-display: swap;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
@font-face {
|
|
17
|
+
font-family: "Mori";
|
|
18
|
+
src: url("/brand-assets/mori-semibold.woff2") format("woff2");
|
|
19
|
+
font-weight: 600;
|
|
20
|
+
font-display: swap;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
:root,
|
|
24
|
+
.dark,
|
|
25
|
+
html[data-brand="gsap"] {
|
|
26
|
+
/* ── Color roles (carrier) ── */
|
|
27
|
+
--role-canvas: 150 7% 6%;
|
|
28
|
+
--role-canvas-fg: 54 100% 94%;
|
|
29
|
+
--role-surface: 0 0% 10%;
|
|
30
|
+
--role-surface-fg: 54 100% 94%;
|
|
31
|
+
--role-action: 137 92% 47%;
|
|
32
|
+
--role-action-fg: 150 7% 6%;
|
|
33
|
+
--role-quiet: 70 5% 25%;
|
|
34
|
+
--role-quiet-fg: 54 100% 94%;
|
|
35
|
+
--role-muted: 0 0% 10%;
|
|
36
|
+
--role-muted-fg: 60 6% 46%;
|
|
37
|
+
--role-border: 70 5% 25%;
|
|
38
|
+
--role-input: 70 5% 25%;
|
|
39
|
+
--role-ring: 137 92% 47%;
|
|
40
|
+
|
|
41
|
+
/* ── shadcn bridge (primary = action CTA) ── */
|
|
42
|
+
--background: 150 7% 6%;
|
|
43
|
+
--foreground: 54 100% 94%;
|
|
44
|
+
--card: 0 0% 10%;
|
|
45
|
+
--card-foreground: 54 100% 94%;
|
|
46
|
+
--popover: 0 0% 10%;
|
|
47
|
+
--popover-foreground: 54 100% 94%;
|
|
48
|
+
--primary: 137 92% 47%;
|
|
49
|
+
--primary-foreground: 150 7% 6%;
|
|
50
|
+
--secondary: 70 5% 25%;
|
|
51
|
+
--secondary-foreground: 54 100% 94%;
|
|
52
|
+
--muted: 0 0% 10%;
|
|
53
|
+
--muted-foreground: 60 6% 46%;
|
|
54
|
+
--accent: 70 5% 25%;
|
|
55
|
+
--accent-foreground: 54 100% 94%;
|
|
56
|
+
--destructive: 309 100% 47%;
|
|
57
|
+
--destructive-foreground: 54 100% 94%;
|
|
58
|
+
--border: 70 5% 25%;
|
|
59
|
+
--input: 70 5% 25%;
|
|
60
|
+
--ring: 137 92% 47%;
|
|
61
|
+
--success: 137 92% 47%;
|
|
62
|
+
--success-foreground: 150 7% 6%;
|
|
63
|
+
--info: 191 100% 44%;
|
|
64
|
+
--info-foreground: 150 7% 6%;
|
|
65
|
+
--sidebar: 0 0% 10%;
|
|
66
|
+
--sidebar-foreground: 54 100% 94%;
|
|
67
|
+
--sidebar-primary: 137 92% 47%;
|
|
68
|
+
--sidebar-primary-foreground: 150 7% 6%;
|
|
69
|
+
--sidebar-accent: 70 5% 25%;
|
|
70
|
+
--sidebar-accent-foreground: 54 100% 94%;
|
|
71
|
+
--sidebar-border: 70 5% 25%;
|
|
72
|
+
--sidebar-ring: 137 92% 47%;
|
|
73
|
+
--brand-gradient: hsl(var(--primary));
|
|
74
|
+
--brand-gradient-reverse: hsl(var(--primary));
|
|
75
|
+
--brand-gradient-vertical: hsl(var(--primary));
|
|
76
|
+
--brand-gradient-radial: hsl(var(--primary));
|
|
77
|
+
|
|
78
|
+
/* Recipe (action language + free elev/radii) */
|
|
79
|
+
/* Shape slots */
|
|
80
|
+
--btn-default-radius: 100px;
|
|
81
|
+
--radius-button: 100px;
|
|
82
|
+
--radius-buttons: 100px;
|
|
83
|
+
--radius-md: 100px;
|
|
84
|
+
--radius-card: 8px;
|
|
85
|
+
--radius-lg: 8px;
|
|
86
|
+
--radius-badge: 9999px;
|
|
87
|
+
--badge-default-radius: 9999px;
|
|
88
|
+
--radius-inputs: 100px;
|
|
89
|
+
--input-radius: 100px;
|
|
90
|
+
--radius-pill: 9999px;
|
|
91
|
+
|
|
92
|
+
/* Free elevation (carrier-provided CSS shadows) */
|
|
93
|
+
--elevation-card: 0 0 #0000;
|
|
94
|
+
--elevation-control: 0 0 #0000;
|
|
95
|
+
--elevation-raised: 0 0 #0000;
|
|
96
|
+
--elevation-xs: 0 0 #0000;
|
|
97
|
+
--elevation-sm: 0 0 #0000;
|
|
98
|
+
--elevation-md: 0 0 #0000;
|
|
99
|
+
--elevation-lg: 0 0 #0000;
|
|
100
|
+
--btn-default-shadow: 0 0 #0000;
|
|
101
|
+
--btn-default-bg: transparent;
|
|
102
|
+
--btn-default-fg: hsl(var(--foreground));
|
|
103
|
+
--btn-default-border-width: 1.5px;
|
|
104
|
+
--btn-default-border: transparent;
|
|
105
|
+
--btn-default-stroke-gradient: linear-gradient(114.41deg, #0ae448 20.74%, #abff84 65.5%);
|
|
106
|
+
--btn-default-hover-bg: hsl(var(--primary) / 0.08);
|
|
107
|
+
--badge-default-bg: transparent;
|
|
108
|
+
--badge-default-fg: hsl(var(--foreground));
|
|
109
|
+
--badge-default-border: #fffce1;
|
|
110
|
+
--badge-default-hover-bg: hsl(var(--foreground) / 0.06);
|
|
111
|
+
--btn-default-padding-y: 0.5rem;
|
|
112
|
+
--btn-default-padding-x: 0.875rem;
|
|
113
|
+
--control-height-tiny: 1.25rem;
|
|
114
|
+
--control-height-sm: 1.75rem;
|
|
115
|
+
--control-height-md: 2rem;
|
|
116
|
+
--control-height-lg: 2.5rem;
|
|
117
|
+
--control-height-icon-sm: 1.5rem;
|
|
118
|
+
--control-height-icon-md: 1.75rem;
|
|
119
|
+
--control-height-icon-lg: 2rem;
|
|
120
|
+
--control-font-size-md: 0.8125rem;
|
|
121
|
+
|
|
122
|
+
/* Typography */
|
|
123
|
+
--font-sans: "Mori", "Inter Tight", "DM Sans", ui-sans-serif, system-ui, sans-serif;
|
|
124
|
+
--font-heading: "Mori", "Inter Tight", ui-sans-serif, system-ui, sans-serif;
|
|
125
|
+
--font-display: "Mori", "Inter Tight", ui-sans-serif, system-ui, sans-serif;
|
|
126
|
+
--font-weight-heading: 600;
|
|
127
|
+
|
|
128
|
+
/* Motion */
|
|
129
|
+
--ease-out: cubic-bezier(0.22, 1, 0.36, 1);
|
|
130
|
+
--motion-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
|
|
131
|
+
--ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
|
|
132
|
+
--motion-ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
|
|
133
|
+
--ease-spring: cubic-bezier(0.68, -0.55, 0.265, 1.55);
|
|
134
|
+
--motion-ease-spring: cubic-bezier(0.68, -0.55, 0.265, 1.55);
|
|
135
|
+
--duration-micro: 120ms;
|
|
136
|
+
--motion-duration-micro: 120ms;
|
|
137
|
+
--duration-flow: 250ms;
|
|
138
|
+
--motion-duration-flow: 250ms;
|
|
139
|
+
--duration-reveal: 400ms;
|
|
140
|
+
--motion-duration-reveal: 400ms;
|
|
141
|
+
--duration-cinematic: 700ms;
|
|
142
|
+
--motion-duration-cinematic: 700ms;
|
|
143
|
+
|
|
144
|
+
/* Spacing */
|
|
145
|
+
--space-source-xs: 0.5rem;
|
|
146
|
+
--space-source-sm: 0.875rem;
|
|
147
|
+
--space-source-md: 1.25rem;
|
|
148
|
+
--space-source-lg: 1.75rem;
|
|
149
|
+
--space-source-xl: 2.5rem;
|
|
150
|
+
--space-source-2xl: 3.5rem;
|
|
151
|
+
|
|
152
|
+
/* Taxonomy / decorative (not product CTA) */
|
|
153
|
+
--brand-category-gsap: #0ae448;
|
|
154
|
+
--brand-category-scroll: #fec5fb;
|
|
155
|
+
--brand-category-svg: #ff8709;
|
|
156
|
+
--brand-category-text: #9d95ff;
|
|
157
|
+
--brand-category-ui: #00bae2;
|
|
158
|
+
--brand-category-other: #abff84;
|
|
159
|
+
}
|
package/skins/linear.css
ADDED
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Brand carrier skin: Linear (linear) v1.0.0
|
|
3
|
+
* darkDefault=true dualMode=true button=solid
|
|
4
|
+
* fonts=1 mode=global
|
|
5
|
+
* Contract: roles.action → --primary; roles.brand → --brand-mark (never default CTA)
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/* Brand font faces */
|
|
9
|
+
@font-face {
|
|
10
|
+
font-family: "Inter Variable";
|
|
11
|
+
src: url("https://cdn.jsdelivr.net/fontsource/fonts/inter:vf@latest/latin-wght-normal.woff2")
|
|
12
|
+
format("woff2");
|
|
13
|
+
font-weight: 100 900;
|
|
14
|
+
font-display: swap;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
:root,
|
|
18
|
+
html[data-brand="linear"] {
|
|
19
|
+
/* ── Color roles (carrier) ── */
|
|
20
|
+
--role-canvas: 0 0% 100%;
|
|
21
|
+
--role-canvas-fg: 210 11% 4%;
|
|
22
|
+
--role-surface: 0 0% 98%;
|
|
23
|
+
--role-surface-fg: 210 11% 4%;
|
|
24
|
+
--role-action: 64 89% 54%;
|
|
25
|
+
--role-action-fg: 210 11% 4%;
|
|
26
|
+
--role-quiet: 220 14% 96%;
|
|
27
|
+
--role-quiet-fg: 210 11% 4%;
|
|
28
|
+
--role-muted: 220 14% 96%;
|
|
29
|
+
--role-muted-fg: 218 5% 41%;
|
|
30
|
+
--role-border: 220 13% 91%;
|
|
31
|
+
--role-input: 0 0% 100%;
|
|
32
|
+
--role-ring: 64 89% 54%;
|
|
33
|
+
|
|
34
|
+
/* ── shadcn bridge (primary = action CTA) ── */
|
|
35
|
+
--background: 0 0% 100%;
|
|
36
|
+
--foreground: 210 11% 4%;
|
|
37
|
+
--card: 0 0% 98%;
|
|
38
|
+
--card-foreground: 210 11% 4%;
|
|
39
|
+
--popover: 0 0% 98%;
|
|
40
|
+
--popover-foreground: 210 11% 4%;
|
|
41
|
+
--primary: 64 89% 54%;
|
|
42
|
+
--primary-foreground: 210 11% 4%;
|
|
43
|
+
--secondary: 220 14% 96%;
|
|
44
|
+
--secondary-foreground: 210 11% 4%;
|
|
45
|
+
--muted: 220 14% 96%;
|
|
46
|
+
--muted-foreground: 218 5% 41%;
|
|
47
|
+
--accent: 220 14% 96%;
|
|
48
|
+
--accent-foreground: 210 11% 4%;
|
|
49
|
+
--destructive: 0 79% 63%;
|
|
50
|
+
--destructive-foreground: 0 0% 100%;
|
|
51
|
+
--border: 220 13% 91%;
|
|
52
|
+
--input: 0 0% 100%;
|
|
53
|
+
--ring: 64 89% 54%;
|
|
54
|
+
--success: 134 62% 40%;
|
|
55
|
+
--success-foreground: 0 0% 100%;
|
|
56
|
+
--info: 186 98% 40%;
|
|
57
|
+
--info-foreground: 0 0% 100%;
|
|
58
|
+
--sidebar: 0 0% 98%;
|
|
59
|
+
--sidebar-foreground: 210 11% 4%;
|
|
60
|
+
--sidebar-primary: 64 89% 54%;
|
|
61
|
+
--sidebar-primary-foreground: 210 11% 4%;
|
|
62
|
+
--sidebar-accent: 220 14% 96%;
|
|
63
|
+
--sidebar-accent-foreground: 210 11% 4%;
|
|
64
|
+
--sidebar-border: 220 13% 91%;
|
|
65
|
+
--sidebar-ring: 64 89% 54%;
|
|
66
|
+
--brand-gradient: hsl(var(--primary));
|
|
67
|
+
--brand-gradient-reverse: hsl(var(--primary));
|
|
68
|
+
--brand-gradient-vertical: hsl(var(--primary));
|
|
69
|
+
--brand-gradient-radial: hsl(var(--primary));
|
|
70
|
+
|
|
71
|
+
/* Recipe (action language + free elev/radii) */
|
|
72
|
+
/* Shape slots */
|
|
73
|
+
--btn-default-radius: 6px;
|
|
74
|
+
--radius-button: 6px;
|
|
75
|
+
--radius-buttons: 6px;
|
|
76
|
+
--radius-md: 6px;
|
|
77
|
+
--radius-card: 12px;
|
|
78
|
+
--radius-lg: 12px;
|
|
79
|
+
--radius-badge: 9999px;
|
|
80
|
+
--badge-default-radius: 9999px;
|
|
81
|
+
--radius-inputs: 6px;
|
|
82
|
+
--input-radius: 6px;
|
|
83
|
+
--radius-pill: 9999px;
|
|
84
|
+
|
|
85
|
+
/* Free elevation (carrier-provided CSS shadows) */
|
|
86
|
+
--elevation-card: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
|
87
|
+
--elevation-control: 0 1px 2px 0 rgb(0 0 0 / 0.04);
|
|
88
|
+
--elevation-raised: 0 4px 6px -1px rgb(0 0 0 / 0.1);
|
|
89
|
+
--elevation-xs: 0 1px 2px 0 rgb(0 0 0 / 0.04);
|
|
90
|
+
--elevation-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
|
91
|
+
--elevation-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
|
|
92
|
+
--elevation-lg: 0 4px 6px -1px rgb(0 0 0 / 0.1);
|
|
93
|
+
--btn-default-shadow: 0 0 #0000;
|
|
94
|
+
--btn-default-bg: hsl(var(--primary));
|
|
95
|
+
--btn-default-fg: hsl(var(--primary-foreground));
|
|
96
|
+
--btn-default-border-width: 0px;
|
|
97
|
+
--btn-default-border: transparent;
|
|
98
|
+
--btn-default-stroke-gradient: linear-gradient(transparent, transparent);
|
|
99
|
+
--btn-default-hover-bg: color-mix(in srgb, hsl(var(--primary)) 90%, transparent);
|
|
100
|
+
--badge-default-bg: hsl(var(--primary));
|
|
101
|
+
--badge-default-fg: hsl(var(--primary-foreground));
|
|
102
|
+
--badge-default-border: transparent;
|
|
103
|
+
--badge-default-hover-bg: color-mix(in srgb, hsl(var(--primary)) 80%, transparent);
|
|
104
|
+
--btn-default-padding-y: 0.5rem;
|
|
105
|
+
--btn-default-padding-x: 0.875rem;
|
|
106
|
+
--control-height-tiny: 1.25rem;
|
|
107
|
+
--control-height-sm: 1.75rem;
|
|
108
|
+
--control-height-md: 2rem;
|
|
109
|
+
--control-height-lg: 2.5rem;
|
|
110
|
+
--control-height-icon-sm: 1.5rem;
|
|
111
|
+
--control-height-icon-md: 1.75rem;
|
|
112
|
+
--control-height-icon-lg: 2rem;
|
|
113
|
+
--control-font-size-md: 0.8125rem;
|
|
114
|
+
|
|
115
|
+
/* Typography */
|
|
116
|
+
--font-sans: "Inter Variable", "Inter", ui-sans-serif, system-ui, sans-serif;
|
|
117
|
+
--font-heading: "Inter Variable", "Inter", ui-sans-serif, system-ui, sans-serif;
|
|
118
|
+
--font-display: "Inter Variable", "Inter", ui-sans-serif, system-ui, sans-serif;
|
|
119
|
+
--font-mono: "Berkeley Mono", "JetBrains Mono", ui-monospace, monospace;
|
|
120
|
+
--font-weight-heading: 510;
|
|
121
|
+
|
|
122
|
+
/* Motion */
|
|
123
|
+
--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
|
|
124
|
+
--motion-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
|
|
125
|
+
--ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
|
|
126
|
+
--motion-ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
|
|
127
|
+
--duration-micro: 80ms;
|
|
128
|
+
--motion-duration-micro: 80ms;
|
|
129
|
+
--duration-flow: 140ms;
|
|
130
|
+
--motion-duration-flow: 140ms;
|
|
131
|
+
--duration-reveal: 200ms;
|
|
132
|
+
--motion-duration-reveal: 200ms;
|
|
133
|
+
--duration-cinematic: 320ms;
|
|
134
|
+
--motion-duration-cinematic: 320ms;
|
|
135
|
+
|
|
136
|
+
/* Spacing */
|
|
137
|
+
--space-source-xs: 0.375rem;
|
|
138
|
+
--space-source-sm: 0.5rem;
|
|
139
|
+
--space-source-md: 0.75rem;
|
|
140
|
+
--space-source-lg: 1rem;
|
|
141
|
+
--space-source-xl: 1.5rem;
|
|
142
|
+
--space-source-2xl: 2rem;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.dark,
|
|
146
|
+
html.dark[data-brand="linear"] {
|
|
147
|
+
/* ── Color roles (carrier) ── */
|
|
148
|
+
--role-canvas: 210 11% 4%;
|
|
149
|
+
--role-canvas-fg: 0 0% 100%;
|
|
150
|
+
--role-surface: 210 6% 6%;
|
|
151
|
+
--role-surface-fg: 0 0% 100%;
|
|
152
|
+
--role-action: 64 89% 54%;
|
|
153
|
+
--role-action-fg: 210 11% 4%;
|
|
154
|
+
--role-quiet: 223 9% 15%;
|
|
155
|
+
--role-quiet-fg: 218 21% 85%;
|
|
156
|
+
--role-muted: 210 4% 9%;
|
|
157
|
+
--role-muted-fg: 218 5% 41%;
|
|
158
|
+
--role-border: 223 9% 15%;
|
|
159
|
+
--role-input: 223 9% 15%;
|
|
160
|
+
--role-ring: 64 89% 54%;
|
|
161
|
+
|
|
162
|
+
/* ── shadcn bridge (primary = action CTA) ── */
|
|
163
|
+
--background: 210 11% 4%;
|
|
164
|
+
--foreground: 0 0% 100%;
|
|
165
|
+
--card: 210 6% 6%;
|
|
166
|
+
--card-foreground: 0 0% 100%;
|
|
167
|
+
--popover: 210 6% 6%;
|
|
168
|
+
--popover-foreground: 0 0% 100%;
|
|
169
|
+
--primary: 64 89% 54%;
|
|
170
|
+
--primary-foreground: 210 11% 4%;
|
|
171
|
+
--secondary: 223 9% 15%;
|
|
172
|
+
--secondary-foreground: 218 21% 85%;
|
|
173
|
+
--muted: 210 4% 9%;
|
|
174
|
+
--muted-foreground: 218 5% 41%;
|
|
175
|
+
--accent: 223 9% 15%;
|
|
176
|
+
--accent-foreground: 218 21% 85%;
|
|
177
|
+
--destructive: 0 79% 63%;
|
|
178
|
+
--destructive-foreground: 0 0% 100%;
|
|
179
|
+
--border: 223 9% 15%;
|
|
180
|
+
--input: 223 9% 15%;
|
|
181
|
+
--ring: 64 89% 54%;
|
|
182
|
+
--success: 134 62% 40%;
|
|
183
|
+
--success-foreground: 0 0% 100%;
|
|
184
|
+
--info: 186 98% 40%;
|
|
185
|
+
--info-foreground: 0 0% 100%;
|
|
186
|
+
--sidebar: 210 6% 6%;
|
|
187
|
+
--sidebar-foreground: 0 0% 100%;
|
|
188
|
+
--sidebar-primary: 64 89% 54%;
|
|
189
|
+
--sidebar-primary-foreground: 210 11% 4%;
|
|
190
|
+
--sidebar-accent: 223 9% 15%;
|
|
191
|
+
--sidebar-accent-foreground: 218 21% 85%;
|
|
192
|
+
--sidebar-border: 223 9% 15%;
|
|
193
|
+
--sidebar-ring: 64 89% 54%;
|
|
194
|
+
--brand-gradient: hsl(var(--primary));
|
|
195
|
+
--brand-gradient-reverse: hsl(var(--primary));
|
|
196
|
+
--brand-gradient-vertical: hsl(var(--primary));
|
|
197
|
+
--brand-gradient-radial: hsl(var(--primary));
|
|
198
|
+
}
|
package/skins/notion.css
ADDED
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Brand carrier skin: Notion (notion) v1.0.0
|
|
3
|
+
* darkDefault=false dualMode=false button=solid
|
|
4
|
+
* fonts=2 mode=global
|
|
5
|
+
* Contract: roles.action → --primary; roles.brand → --brand-mark (never default CTA)
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/* Brand font faces */
|
|
9
|
+
@font-face {
|
|
10
|
+
font-family: "NotionInter";
|
|
11
|
+
src: url("https://cdn.jsdelivr.net/fontsource/fonts/inter:vf@latest/latin-wght-normal.woff2")
|
|
12
|
+
format("woff2");
|
|
13
|
+
font-weight: 100 900;
|
|
14
|
+
font-display: swap;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@font-face {
|
|
18
|
+
font-family: "Lyon Text";
|
|
19
|
+
src: url("/brand-assets/lyon-text-regular.woff2") format("woff2");
|
|
20
|
+
font-weight: 400;
|
|
21
|
+
font-display: swap;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
:root,
|
|
25
|
+
html[data-brand="notion"] {
|
|
26
|
+
/* ── Color roles (carrier) ── */
|
|
27
|
+
--role-canvas: 30 10% 96%;
|
|
28
|
+
--role-canvas-fg: 0 0% 0%;
|
|
29
|
+
--role-surface: 0 0% 100%;
|
|
30
|
+
--role-surface-fg: 0 0% 0%;
|
|
31
|
+
--role-action: 208 100% 44%;
|
|
32
|
+
--role-action-fg: 0 0% 100%;
|
|
33
|
+
--role-quiet: 208 92% 95%;
|
|
34
|
+
--role-quiet-fg: 208 100% 44%;
|
|
35
|
+
--role-muted: 208 92% 95%;
|
|
36
|
+
--role-muted-fg: 0 0% 46%;
|
|
37
|
+
--role-border: 30 5% 88%;
|
|
38
|
+
--role-input: 0 0% 100%;
|
|
39
|
+
--role-ring: 208 100% 44%;
|
|
40
|
+
--role-brand: 0 0% 0%;
|
|
41
|
+
--role-brand-fg: 0 0% 100%;
|
|
42
|
+
--brand-mark: 0 0% 0%;
|
|
43
|
+
--brand-mark-foreground: 0 0% 100%;
|
|
44
|
+
|
|
45
|
+
/* ── shadcn bridge (primary = action CTA) ── */
|
|
46
|
+
--background: 30 10% 96%;
|
|
47
|
+
--foreground: 0 0% 0%;
|
|
48
|
+
--card: 0 0% 100%;
|
|
49
|
+
--card-foreground: 0 0% 0%;
|
|
50
|
+
--popover: 0 0% 100%;
|
|
51
|
+
--popover-foreground: 0 0% 0%;
|
|
52
|
+
--primary: 208 100% 44%;
|
|
53
|
+
--primary-foreground: 0 0% 100%;
|
|
54
|
+
--secondary: 208 92% 95%;
|
|
55
|
+
--secondary-foreground: 208 100% 44%;
|
|
56
|
+
--muted: 208 92% 95%;
|
|
57
|
+
--muted-foreground: 0 0% 46%;
|
|
58
|
+
--accent: 0 0% 0%;
|
|
59
|
+
--accent-foreground: 0 0% 100%;
|
|
60
|
+
--destructive: 7 92% 58%;
|
|
61
|
+
--destructive-foreground: 0 0% 100%;
|
|
62
|
+
--border: 30 5% 88%;
|
|
63
|
+
--input: 0 0% 100%;
|
|
64
|
+
--ring: 208 100% 44%;
|
|
65
|
+
--warning: 40 100% 53%;
|
|
66
|
+
--warning-foreground: 0 0% 0%;
|
|
67
|
+
--info: 208 93% 47%;
|
|
68
|
+
--info-foreground: 0 0% 100%;
|
|
69
|
+
--sidebar: 0 0% 100%;
|
|
70
|
+
--sidebar-foreground: 0 0% 0%;
|
|
71
|
+
--sidebar-primary: 208 100% 44%;
|
|
72
|
+
--sidebar-primary-foreground: 0 0% 100%;
|
|
73
|
+
--sidebar-accent: 0 0% 0%;
|
|
74
|
+
--sidebar-accent-foreground: 0 0% 100%;
|
|
75
|
+
--sidebar-border: 30 5% 88%;
|
|
76
|
+
--sidebar-ring: 208 100% 44%;
|
|
77
|
+
--brand-gradient: hsl(var(--primary));
|
|
78
|
+
--brand-gradient-reverse: hsl(var(--primary));
|
|
79
|
+
--brand-gradient-vertical: hsl(var(--primary));
|
|
80
|
+
--brand-gradient-radial: hsl(var(--primary));
|
|
81
|
+
|
|
82
|
+
/* Recipe (action language + free elev/radii) */
|
|
83
|
+
/* Shape slots */
|
|
84
|
+
--btn-default-radius: 8px;
|
|
85
|
+
--radius-button: 8px;
|
|
86
|
+
--radius-buttons: 8px;
|
|
87
|
+
--radius-md: 8px;
|
|
88
|
+
--radius-card: 12px;
|
|
89
|
+
--radius-lg: 12px;
|
|
90
|
+
--radius-badge: 9999px;
|
|
91
|
+
--badge-default-radius: 9999px;
|
|
92
|
+
--radius-inputs: 8px;
|
|
93
|
+
--input-radius: 8px;
|
|
94
|
+
--radius-pill: 9999px;
|
|
95
|
+
|
|
96
|
+
/* Free elevation (carrier-provided CSS shadows) */
|
|
97
|
+
--elevation-card: 0 0 #0000;
|
|
98
|
+
--elevation-control: 0 0 #0000;
|
|
99
|
+
--elevation-raised: 0px 0.7px 1.462px 0px rgb(0 0 0 / 0.015), 0px 3px 9px 0px rgb(0 0 0 / 0.03);
|
|
100
|
+
--elevation-xs: 0 0 #0000;
|
|
101
|
+
--elevation-sm: 0 0 #0000;
|
|
102
|
+
--elevation-md: 0px 0.7px 1.462px 0px rgb(0 0 0 / 0.015), 0px 3px 9px 0px rgb(0 0 0 / 0.03);
|
|
103
|
+
--elevation-lg: 0px 0.7px 1.462px 0px rgb(0 0 0 / 0.015), 0px 3px 9px 0px rgb(0 0 0 / 0.03);
|
|
104
|
+
--btn-default-shadow: 0 0 #0000;
|
|
105
|
+
--btn-default-bg: hsl(var(--primary));
|
|
106
|
+
--btn-default-fg: hsl(var(--primary-foreground));
|
|
107
|
+
--btn-default-border-width: 0px;
|
|
108
|
+
--btn-default-border: transparent;
|
|
109
|
+
--btn-default-stroke-gradient: linear-gradient(transparent, transparent);
|
|
110
|
+
--btn-default-hover-bg: color-mix(in srgb, hsl(var(--primary)) 90%, transparent);
|
|
111
|
+
--badge-default-bg: hsl(var(--secondary));
|
|
112
|
+
--badge-default-fg: hsl(var(--secondary-foreground));
|
|
113
|
+
--badge-default-border: transparent;
|
|
114
|
+
--badge-default-hover-bg: color-mix(in srgb, hsl(var(--secondary)) 90%, white);
|
|
115
|
+
|
|
116
|
+
/* Typography */
|
|
117
|
+
--font-sans: "NotionInter", "Inter", ui-sans-serif, system-ui, sans-serif;
|
|
118
|
+
--font-heading: "NotionInter", "Inter", ui-sans-serif, system-ui, sans-serif;
|
|
119
|
+
--font-display: "NotionInter", "Inter", ui-sans-serif, system-ui, sans-serif;
|
|
120
|
+
--font-weight-heading: 700;
|
|
121
|
+
|
|
122
|
+
/* Motion */
|
|
123
|
+
--ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
|
124
|
+
--motion-ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
|
125
|
+
--ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
|
|
126
|
+
--motion-ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
|
|
127
|
+
--duration-micro: 120ms;
|
|
128
|
+
--motion-duration-micro: 120ms;
|
|
129
|
+
--duration-flow: 200ms;
|
|
130
|
+
--motion-duration-flow: 200ms;
|
|
131
|
+
--duration-reveal: 280ms;
|
|
132
|
+
--motion-duration-reveal: 280ms;
|
|
133
|
+
--duration-cinematic: 460ms;
|
|
134
|
+
--motion-duration-cinematic: 460ms;
|
|
135
|
+
|
|
136
|
+
/* Spacing */
|
|
137
|
+
--space-source-xs: 0.625rem;
|
|
138
|
+
--space-source-sm: 1rem;
|
|
139
|
+
--space-source-md: 1.5rem;
|
|
140
|
+
--space-source-lg: 2rem;
|
|
141
|
+
--space-source-xl: 2.75rem;
|
|
142
|
+
--space-source-2xl: 3.75rem;
|
|
143
|
+
|
|
144
|
+
/* Taxonomy / decorative (not product CTA) */
|
|
145
|
+
--brand-category-brand: #000000;
|
|
146
|
+
--brand-category-action: #0075de;
|
|
147
|
+
--brand-category-ghost: #e6f3fe;
|
|
148
|
+
--brand-category-marigold: #ffb110;
|
|
149
|
+
--brand-category-coral: #f64932;
|
|
150
|
+
--brand-category-midnight: #02093a;
|
|
151
|
+
--brand-category-charcoal: #111111;
|
|
152
|
+
--brand-category-graphite: #615d59;
|
|
153
|
+
--brand-decorative-marigold: #ffb110;
|
|
154
|
+
--brand-decorative-coral: #f64932;
|
|
155
|
+
--brand-decorative-saffron: #e89d01;
|
|
156
|
+
--brand-decorative-sky-wash: #62aef0;
|
|
157
|
+
--brand-decorative-midnight: #02093a;
|
|
158
|
+
}
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Brand carrier skin: Raycast (raycast) v1.0.0
|
|
3
|
+
* darkDefault=true dualMode=false button=solid
|
|
4
|
+
* fonts=1 mode=global
|
|
5
|
+
* Contract: roles.action → --primary; roles.brand → --brand-mark (never default CTA)
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/* Brand font faces */
|
|
9
|
+
@font-face {
|
|
10
|
+
font-family: "Inter";
|
|
11
|
+
src: url("https://cdn.jsdelivr.net/fontsource/fonts/inter:vf@latest/latin-wght-normal.woff2")
|
|
12
|
+
format("woff2");
|
|
13
|
+
font-weight: 100 900;
|
|
14
|
+
font-display: swap;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
:root,
|
|
18
|
+
.dark,
|
|
19
|
+
html[data-brand="raycast"] {
|
|
20
|
+
/* ── Color roles (carrier) ── */
|
|
21
|
+
--role-canvas: 210 20% 2%;
|
|
22
|
+
--role-canvas-fg: 0 0% 100%;
|
|
23
|
+
--role-surface: 220 18% 3%;
|
|
24
|
+
--role-surface-fg: 0 0% 100%;
|
|
25
|
+
--role-action: 0 0% 90%;
|
|
26
|
+
--role-action-fg: 210 1% 27%;
|
|
27
|
+
--role-quiet: 220 5% 11%;
|
|
28
|
+
--role-quiet-fg: 0 0% 100%;
|
|
29
|
+
--role-muted: 220 8% 7%;
|
|
30
|
+
--role-muted-fg: 210 1% 42%;
|
|
31
|
+
--role-border: 210 2% 19%;
|
|
32
|
+
--role-input: 220 8% 7%;
|
|
33
|
+
--role-ring: 240 1% 61%;
|
|
34
|
+
--role-brand: 0 100% 69%;
|
|
35
|
+
--role-brand-fg: 210 1% 27%;
|
|
36
|
+
--brand-mark: 0 100% 69%;
|
|
37
|
+
--brand-mark-foreground: 210 1% 27%;
|
|
38
|
+
|
|
39
|
+
/* ── shadcn bridge (primary = action CTA) ── */
|
|
40
|
+
--background: 210 20% 2%;
|
|
41
|
+
--foreground: 0 0% 100%;
|
|
42
|
+
--card: 220 18% 3%;
|
|
43
|
+
--card-foreground: 0 0% 100%;
|
|
44
|
+
--popover: 220 18% 3%;
|
|
45
|
+
--popover-foreground: 0 0% 100%;
|
|
46
|
+
--primary: 0 0% 90%;
|
|
47
|
+
--primary-foreground: 210 1% 27%;
|
|
48
|
+
--secondary: 220 5% 11%;
|
|
49
|
+
--secondary-foreground: 0 0% 100%;
|
|
50
|
+
--muted: 220 8% 7%;
|
|
51
|
+
--muted-foreground: 210 1% 42%;
|
|
52
|
+
--accent: 0 100% 69%;
|
|
53
|
+
--accent-foreground: 210 1% 27%;
|
|
54
|
+
--destructive: 0 72% 51%;
|
|
55
|
+
--destructive-foreground: 0 0% 100%;
|
|
56
|
+
--border: 210 2% 19%;
|
|
57
|
+
--input: 220 8% 7%;
|
|
58
|
+
--ring: 240 1% 61%;
|
|
59
|
+
--success: 151 59% 59%;
|
|
60
|
+
--success-foreground: 210 20% 2%;
|
|
61
|
+
--info: 202 100% 67%;
|
|
62
|
+
--info-foreground: 210 20% 2%;
|
|
63
|
+
--sidebar: 220 18% 3%;
|
|
64
|
+
--sidebar-foreground: 0 0% 100%;
|
|
65
|
+
--sidebar-primary: 0 0% 90%;
|
|
66
|
+
--sidebar-primary-foreground: 210 1% 27%;
|
|
67
|
+
--sidebar-accent: 0 100% 69%;
|
|
68
|
+
--sidebar-accent-foreground: 210 1% 27%;
|
|
69
|
+
--sidebar-border: 210 2% 19%;
|
|
70
|
+
--sidebar-ring: 240 1% 61%;
|
|
71
|
+
--brand-gradient: hsl(var(--primary));
|
|
72
|
+
--brand-gradient-reverse: hsl(var(--primary));
|
|
73
|
+
--brand-gradient-vertical: hsl(var(--primary));
|
|
74
|
+
--brand-gradient-radial: hsl(var(--primary));
|
|
75
|
+
|
|
76
|
+
/* Recipe (action language + free elev/radii) */
|
|
77
|
+
/* Shape slots */
|
|
78
|
+
--btn-default-radius: 8px;
|
|
79
|
+
--radius-button: 8px;
|
|
80
|
+
--radius-buttons: 8px;
|
|
81
|
+
--radius-md: 8px;
|
|
82
|
+
--radius-card: 16px;
|
|
83
|
+
--radius-lg: 16px;
|
|
84
|
+
--radius-badge: 6px;
|
|
85
|
+
--badge-default-radius: 6px;
|
|
86
|
+
--radius-inputs: 8px;
|
|
87
|
+
--input-radius: 8px;
|
|
88
|
+
--radius-pill: 9999px;
|
|
89
|
+
|
|
90
|
+
/* Free elevation (carrier-provided CSS shadows) */
|
|
91
|
+
--elevation-card:
|
|
92
|
+
rgba(255, 255, 255, 0.05) 0px 1px 0px 0px inset, rgba(255, 255, 255, 0.25) 0px 0px 0px 1px, rgba(
|
|
93
|
+
0,
|
|
94
|
+
0,
|
|
95
|
+
0,
|
|
96
|
+
0.2
|
|
97
|
+
) 0px -1px 0px 0px inset;
|
|
98
|
+
--elevation-control: 0 0 #0000;
|
|
99
|
+
--elevation-raised:
|
|
100
|
+
rgba(255, 255, 255, 0.05) 0px 1px 0px 0px inset, rgba(255, 255, 255, 0.25) 0px 0px 0px 1px, rgba(
|
|
101
|
+
0,
|
|
102
|
+
0,
|
|
103
|
+
0,
|
|
104
|
+
0.2
|
|
105
|
+
) 0px -1px 0px 0px inset;
|
|
106
|
+
--elevation-xs: 0 0 #0000;
|
|
107
|
+
--elevation-sm:
|
|
108
|
+
rgba(255, 255, 255, 0.05) 0px 1px 0px 0px inset, rgba(255, 255, 255, 0.25) 0px 0px 0px 1px, rgba(
|
|
109
|
+
0,
|
|
110
|
+
0,
|
|
111
|
+
0,
|
|
112
|
+
0.2
|
|
113
|
+
) 0px -1px 0px 0px inset;
|
|
114
|
+
--elevation-md:
|
|
115
|
+
rgba(255, 255, 255, 0.05) 0px 1px 0px 0px inset, rgba(255, 255, 255, 0.25) 0px 0px 0px 1px, rgba(
|
|
116
|
+
0,
|
|
117
|
+
0,
|
|
118
|
+
0,
|
|
119
|
+
0.2
|
|
120
|
+
) 0px -1px 0px 0px inset;
|
|
121
|
+
--elevation-lg:
|
|
122
|
+
rgba(255, 255, 255, 0.05) 0px 1px 0px 0px inset, rgba(255, 255, 255, 0.25) 0px 0px 0px 1px, rgba(
|
|
123
|
+
0,
|
|
124
|
+
0,
|
|
125
|
+
0,
|
|
126
|
+
0.2
|
|
127
|
+
) 0px -1px 0px 0px inset;
|
|
128
|
+
--btn-default-shadow: 0 0 #0000;
|
|
129
|
+
--btn-default-bg: hsl(var(--primary));
|
|
130
|
+
--btn-default-fg: hsl(var(--primary-foreground));
|
|
131
|
+
--btn-default-border-width: 0px;
|
|
132
|
+
--btn-default-border: transparent;
|
|
133
|
+
--btn-default-stroke-gradient: linear-gradient(transparent, transparent);
|
|
134
|
+
--btn-default-hover-bg: color-mix(in srgb, hsl(var(--primary)) 90%, transparent);
|
|
135
|
+
--badge-default-bg: hsl(var(--secondary));
|
|
136
|
+
--badge-default-fg: hsl(var(--secondary-foreground));
|
|
137
|
+
--badge-default-border: transparent;
|
|
138
|
+
--badge-default-hover-bg: color-mix(in srgb, hsl(var(--secondary)) 90%, white);
|
|
139
|
+
--btn-default-padding-y: 0.5rem;
|
|
140
|
+
--btn-default-padding-x: 0.875rem;
|
|
141
|
+
--control-height-tiny: 1.25rem;
|
|
142
|
+
--control-height-sm: 1.75rem;
|
|
143
|
+
--control-height-md: 2rem;
|
|
144
|
+
--control-height-lg: 2.5rem;
|
|
145
|
+
--control-height-icon-sm: 1.5rem;
|
|
146
|
+
--control-height-icon-md: 1.75rem;
|
|
147
|
+
--control-height-icon-lg: 2rem;
|
|
148
|
+
--control-font-size-md: 0.8125rem;
|
|
149
|
+
|
|
150
|
+
/* Typography */
|
|
151
|
+
--font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
|
|
152
|
+
--font-heading: "Inter", ui-sans-serif, system-ui, sans-serif;
|
|
153
|
+
--font-display: "Inter", ui-sans-serif, system-ui, sans-serif;
|
|
154
|
+
--font-mono: "Geist Mono", "GeistMono", ui-monospace, Menlo, monospace;
|
|
155
|
+
--font-weight-heading: 400;
|
|
156
|
+
|
|
157
|
+
/* Motion */
|
|
158
|
+
--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
|
|
159
|
+
--motion-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
|
|
160
|
+
--ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
|
|
161
|
+
--motion-ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
|
|
162
|
+
--ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
163
|
+
--motion-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
164
|
+
--duration-micro: 90ms;
|
|
165
|
+
--motion-duration-micro: 90ms;
|
|
166
|
+
--duration-flow: 160ms;
|
|
167
|
+
--motion-duration-flow: 160ms;
|
|
168
|
+
--duration-reveal: 220ms;
|
|
169
|
+
--motion-duration-reveal: 220ms;
|
|
170
|
+
--duration-cinematic: 340ms;
|
|
171
|
+
--motion-duration-cinematic: 340ms;
|
|
172
|
+
|
|
173
|
+
/* Spacing */
|
|
174
|
+
--space-source-xs: 0.375rem;
|
|
175
|
+
--space-source-sm: 0.5rem;
|
|
176
|
+
--space-source-md: 0.75rem;
|
|
177
|
+
--space-source-lg: 1rem;
|
|
178
|
+
--space-source-xl: 1.375rem;
|
|
179
|
+
--space-source-2xl: 2rem;
|
|
180
|
+
|
|
181
|
+
/* Taxonomy / decorative (not product CTA) */
|
|
182
|
+
--brand-category-brand: #ff6363;
|
|
183
|
+
--brand-category-ember: #452324;
|
|
184
|
+
--brand-category-sky: #63a1ff;
|
|
185
|
+
}
|