@og-ui/tokens 0.0.0-stage → 0.1.0
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/LICENSE +21 -0
- package/dist/contract.d.ts +141 -0
- package/dist/contract.js +16 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/shared.d.ts +33 -0
- package/dist/shared.js +25 -0
- package/dist/themes/aurora.css +196 -0
- package/dist/themes/aurora.d.ts +3 -0
- package/dist/themes/aurora.js +113 -0
- package/dist/themes/aurora.scoped.css +145 -0
- package/dist/themes/brutal.css +196 -0
- package/dist/themes/brutal.d.ts +6 -0
- package/dist/themes/brutal.js +114 -0
- package/dist/themes/brutal.scoped.css +145 -0
- package/dist/themes/clay.css +196 -0
- package/dist/themes/clay.d.ts +3 -0
- package/dist/themes/clay.js +111 -0
- package/dist/themes/clay.scoped.css +145 -0
- package/dist/themes/clean.css +196 -0
- package/dist/themes/clean.d.ts +3 -0
- package/dist/themes/clean.js +111 -0
- package/dist/themes/clean.scoped.css +145 -0
- package/dist/themes/glass.css +196 -0
- package/dist/themes/glass.d.ts +7 -0
- package/dist/themes/glass.js +115 -0
- package/dist/themes/glass.scoped.css +145 -0
- package/dist/themes/index.d.ts +10 -0
- package/dist/themes/index.js +10 -0
- package/dist/themes/liquid-glass.css +196 -0
- package/dist/themes/liquid-glass.d.ts +6 -0
- package/dist/themes/liquid-glass.js +114 -0
- package/dist/themes/liquid-glass.scoped.css +145 -0
- package/dist/themes/neumorphism.css +196 -0
- package/dist/themes/neumorphism.d.ts +2 -0
- package/dist/themes/neumorphism.js +117 -0
- package/dist/themes/neumorphism.scoped.css +145 -0
- package/dist/themes.css +1060 -0
- package/dist/themes.json +958 -0
- package/package.json +36 -3
- package/README.md +0 -3
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
/*! OG UI tokens: Neumorphism / Soft UI. Generated from packages/tokens/src. Do not edit by hand. */
|
|
2
|
+
|
|
3
|
+
/* Neumorphism / Soft UI: Soft extruded shapes carved from one material, pressed in and pushed out. */
|
|
4
|
+
:root, [data-og-theme="neumorphism"] {
|
|
5
|
+
--og-radius-sm: 10px;
|
|
6
|
+
--og-radius-md: 16px;
|
|
7
|
+
--og-radius-lg: 24px;
|
|
8
|
+
--og-radius-full: 9999px;
|
|
9
|
+
--og-radius-control: 16px;
|
|
10
|
+
--og-border-width: 1px;
|
|
11
|
+
--og-font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
|
|
12
|
+
--og-font-display: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
|
|
13
|
+
--og-font-mono: "Geist Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
14
|
+
--og-font-weight-strong: 600;
|
|
15
|
+
--og-tint-strength: 10%;
|
|
16
|
+
--og-press: none;
|
|
17
|
+
--og-hover: none;
|
|
18
|
+
--og-duration: 180ms;
|
|
19
|
+
--og-easing: ease;
|
|
20
|
+
--og-color-bg: #eceff4;
|
|
21
|
+
--og-color-bg-image: none;
|
|
22
|
+
--og-color-bg-size: auto;
|
|
23
|
+
--og-color-text: #1f2633;
|
|
24
|
+
--og-color-on-tint: #1f2633;
|
|
25
|
+
--og-color-text-muted: #59647a;
|
|
26
|
+
--og-color-border: transparent;
|
|
27
|
+
--og-color-accent: var(--og-accent, #4f5dff);
|
|
28
|
+
--og-color-accent-contrast: var(--og-accent-contrast, #ffffff);
|
|
29
|
+
--og-color-accent-border: transparent;
|
|
30
|
+
--og-color-focus-ring: var(--og-accent, #3b46d9);
|
|
31
|
+
--og-color-success: #15803d;
|
|
32
|
+
--og-color-warning: #b45309;
|
|
33
|
+
--og-color-danger: #b91c1c;
|
|
34
|
+
--og-palette-1: #2563eb;
|
|
35
|
+
--og-palette-2: #db2777;
|
|
36
|
+
--og-palette-3: #059669;
|
|
37
|
+
--og-palette-4: #d97706;
|
|
38
|
+
--og-palette-5: #7c3aed;
|
|
39
|
+
--og-palette-6: #0891b2;
|
|
40
|
+
--og-effect-glow: 0 0 0 transparent;
|
|
41
|
+
--og-surface-raised-bg: #eceff4;
|
|
42
|
+
--og-surface-raised-bg-solid: #eceff4;
|
|
43
|
+
--og-surface-raised-border: transparent;
|
|
44
|
+
--og-surface-raised-shadow: 6px 6px 12px #c9ced8, -6px -6px 12px #ffffff;
|
|
45
|
+
--og-surface-raised-backdrop: none;
|
|
46
|
+
--og-surface-raised-highlight: none;
|
|
47
|
+
--og-surface-inset-bg: #eceff4;
|
|
48
|
+
--og-surface-inset-bg-solid: #eceff4;
|
|
49
|
+
--og-surface-inset-border: transparent;
|
|
50
|
+
--og-surface-inset-shadow: inset 4px 4px 8px #c9ced8, inset -4px -4px 8px #ffffff;
|
|
51
|
+
--og-surface-inset-backdrop: none;
|
|
52
|
+
--og-surface-inset-highlight: none;
|
|
53
|
+
--og-surface-overlay-bg: #eceff4;
|
|
54
|
+
--og-surface-overlay-bg-solid: #eceff4;
|
|
55
|
+
--og-surface-overlay-border: transparent;
|
|
56
|
+
--og-surface-overlay-shadow: 12px 12px 24px #c9ced8, -12px -12px 24px #ffffff;
|
|
57
|
+
--og-surface-overlay-backdrop: none;
|
|
58
|
+
--og-surface-overlay-highlight: none;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
@media (prefers-color-scheme: dark) {
|
|
62
|
+
:root:not([data-og-mode="light"]), [data-og-theme="neumorphism"]:not([data-og-mode="light"]) {
|
|
63
|
+
--og-color-bg: #2a2d34;
|
|
64
|
+
--og-color-bg-image: none;
|
|
65
|
+
--og-color-bg-size: auto;
|
|
66
|
+
--og-color-text: #e8ecf3;
|
|
67
|
+
--og-color-on-tint: #e8ecf3;
|
|
68
|
+
--og-color-text-muted: #a7b0c0;
|
|
69
|
+
--og-color-border: transparent;
|
|
70
|
+
--og-color-accent: var(--og-accent, #7c87ff);
|
|
71
|
+
--og-color-accent-contrast: var(--og-accent-contrast, #10122a);
|
|
72
|
+
--og-color-accent-border: transparent;
|
|
73
|
+
--og-color-focus-ring: var(--og-accent, #a5adff);
|
|
74
|
+
--og-color-success: #22c55e;
|
|
75
|
+
--og-color-warning: #f59e0b;
|
|
76
|
+
--og-color-danger: #fc8181;
|
|
77
|
+
--og-palette-1: #60a5fa;
|
|
78
|
+
--og-palette-2: #f472b6;
|
|
79
|
+
--og-palette-3: #34d399;
|
|
80
|
+
--og-palette-4: #fbbf24;
|
|
81
|
+
--og-palette-5: #a78bfa;
|
|
82
|
+
--og-palette-6: #22d3ee;
|
|
83
|
+
--og-effect-glow: 0 0 0 transparent;
|
|
84
|
+
--og-surface-raised-bg: #2a2d34;
|
|
85
|
+
--og-surface-raised-bg-solid: #2a2d34;
|
|
86
|
+
--og-surface-raised-border: transparent;
|
|
87
|
+
--og-surface-raised-shadow: 6px 6px 12px #1d1f24, -6px -6px 12px #373b44;
|
|
88
|
+
--og-surface-raised-backdrop: none;
|
|
89
|
+
--og-surface-raised-highlight: none;
|
|
90
|
+
--og-surface-inset-bg: #2a2d34;
|
|
91
|
+
--og-surface-inset-bg-solid: #2a2d34;
|
|
92
|
+
--og-surface-inset-border: transparent;
|
|
93
|
+
--og-surface-inset-shadow: inset 4px 4px 8px #1d1f24, inset -4px -4px 8px #373b44;
|
|
94
|
+
--og-surface-inset-backdrop: none;
|
|
95
|
+
--og-surface-inset-highlight: none;
|
|
96
|
+
--og-surface-overlay-bg: #2a2d34;
|
|
97
|
+
--og-surface-overlay-bg-solid: #2a2d34;
|
|
98
|
+
--og-surface-overlay-border: transparent;
|
|
99
|
+
--og-surface-overlay-shadow: 12px 12px 24px #1d1f24, -12px -12px 24px #373b44;
|
|
100
|
+
--og-surface-overlay-backdrop: none;
|
|
101
|
+
--og-surface-overlay-highlight: none;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
:root[data-og-mode="dark"], [data-og-theme="neumorphism"][data-og-mode="dark"] {
|
|
106
|
+
--og-color-bg: #2a2d34;
|
|
107
|
+
--og-color-bg-image: none;
|
|
108
|
+
--og-color-bg-size: auto;
|
|
109
|
+
--og-color-text: #e8ecf3;
|
|
110
|
+
--og-color-on-tint: #e8ecf3;
|
|
111
|
+
--og-color-text-muted: #a7b0c0;
|
|
112
|
+
--og-color-border: transparent;
|
|
113
|
+
--og-color-accent: var(--og-accent, #7c87ff);
|
|
114
|
+
--og-color-accent-contrast: var(--og-accent-contrast, #10122a);
|
|
115
|
+
--og-color-accent-border: transparent;
|
|
116
|
+
--og-color-focus-ring: var(--og-accent, #a5adff);
|
|
117
|
+
--og-color-success: #22c55e;
|
|
118
|
+
--og-color-warning: #f59e0b;
|
|
119
|
+
--og-color-danger: #fc8181;
|
|
120
|
+
--og-palette-1: #60a5fa;
|
|
121
|
+
--og-palette-2: #f472b6;
|
|
122
|
+
--og-palette-3: #34d399;
|
|
123
|
+
--og-palette-4: #fbbf24;
|
|
124
|
+
--og-palette-5: #a78bfa;
|
|
125
|
+
--og-palette-6: #22d3ee;
|
|
126
|
+
--og-effect-glow: 0 0 0 transparent;
|
|
127
|
+
--og-surface-raised-bg: #2a2d34;
|
|
128
|
+
--og-surface-raised-bg-solid: #2a2d34;
|
|
129
|
+
--og-surface-raised-border: transparent;
|
|
130
|
+
--og-surface-raised-shadow: 6px 6px 12px #1d1f24, -6px -6px 12px #373b44;
|
|
131
|
+
--og-surface-raised-backdrop: none;
|
|
132
|
+
--og-surface-raised-highlight: none;
|
|
133
|
+
--og-surface-inset-bg: #2a2d34;
|
|
134
|
+
--og-surface-inset-bg-solid: #2a2d34;
|
|
135
|
+
--og-surface-inset-border: transparent;
|
|
136
|
+
--og-surface-inset-shadow: inset 4px 4px 8px #1d1f24, inset -4px -4px 8px #373b44;
|
|
137
|
+
--og-surface-inset-backdrop: none;
|
|
138
|
+
--og-surface-inset-highlight: none;
|
|
139
|
+
--og-surface-overlay-bg: #2a2d34;
|
|
140
|
+
--og-surface-overlay-bg-solid: #2a2d34;
|
|
141
|
+
--og-surface-overlay-border: transparent;
|
|
142
|
+
--og-surface-overlay-shadow: 12px 12px 24px #1d1f24, -12px -12px 24px #373b44;
|
|
143
|
+
--og-surface-overlay-backdrop: none;
|
|
144
|
+
--og-surface-overlay-highlight: none;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
/* Density: data-og-density="compact" | "comfortable" (default) on any element. */
|
|
148
|
+
:root, [data-og-density="comfortable"] {
|
|
149
|
+
--og-control-h-sm: 2rem;
|
|
150
|
+
--og-control-h-md: 2.5rem;
|
|
151
|
+
--og-control-h-lg: 3rem;
|
|
152
|
+
--og-control-px: 1rem;
|
|
153
|
+
--og-card-pad: 1.25rem;
|
|
154
|
+
--og-gap: 1rem;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
[data-og-density="compact"] {
|
|
158
|
+
--og-control-h-sm: 1.75rem;
|
|
159
|
+
--og-control-h-md: 2.125rem;
|
|
160
|
+
--og-control-h-lg: 2.5rem;
|
|
161
|
+
--og-control-px: 0.75rem;
|
|
162
|
+
--og-card-pad: 0.875rem;
|
|
163
|
+
--og-gap: 0.625rem;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
/* Derived values: components read these, never the raw tokens above. */
|
|
167
|
+
:root, [data-og-theme] {
|
|
168
|
+
--og-surface-raised-fill: var(--og-surface-raised-bg);
|
|
169
|
+
--og-surface-raised-filter: var(--og-surface-raised-backdrop);
|
|
170
|
+
--og-surface-inset-fill: var(--og-surface-inset-bg);
|
|
171
|
+
--og-surface-inset-filter: var(--og-surface-inset-backdrop);
|
|
172
|
+
--og-surface-overlay-fill: var(--og-surface-overlay-bg);
|
|
173
|
+
--og-surface-overlay-filter: var(--og-surface-overlay-backdrop);
|
|
174
|
+
--og-motion-hover: var(--og-hover);
|
|
175
|
+
--og-motion-press: var(--og-press);
|
|
176
|
+
--og-motion-duration: var(--og-duration);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
@media (prefers-reduced-transparency: reduce) {
|
|
180
|
+
:root, [data-og-theme] {
|
|
181
|
+
--og-surface-raised-fill: var(--og-surface-raised-bg-solid);
|
|
182
|
+
--og-surface-raised-filter: none;
|
|
183
|
+
--og-surface-inset-fill: var(--og-surface-inset-bg-solid);
|
|
184
|
+
--og-surface-inset-filter: none;
|
|
185
|
+
--og-surface-overlay-fill: var(--og-surface-overlay-bg-solid);
|
|
186
|
+
--og-surface-overlay-filter: none;
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
@media (prefers-reduced-motion: reduce) {
|
|
191
|
+
:root, [data-og-theme] {
|
|
192
|
+
--og-motion-hover: none;
|
|
193
|
+
--og-motion-press: none;
|
|
194
|
+
--og-motion-duration: 0.01ms;
|
|
195
|
+
}
|
|
196
|
+
}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { defineTheme } from '../contract.js';
|
|
2
|
+
import { accent, accentContrast, fonts, noGlow, palettes, status } from '../shared.js';
|
|
3
|
+
/**
|
|
4
|
+
* Neumorphism / Soft UI: everything is carved from one material. Shape comes from a light
|
|
5
|
+
* and a dark shadow, so there are no borders. Contrast is naturally low, so text colours
|
|
6
|
+
* and the focus ring are pushed darker than usual to stay accessible.
|
|
7
|
+
*/
|
|
8
|
+
const light = { bg: '#eceff4', dark: '#c9ced8', lightEdge: '#ffffff' };
|
|
9
|
+
const dark = { bg: '#2a2d34', dark: '#1d1f24', lightEdge: '#373b44' };
|
|
10
|
+
export default defineTheme({
|
|
11
|
+
name: 'neumorphism',
|
|
12
|
+
label: 'Neumorphism / Soft UI',
|
|
13
|
+
description: 'Soft extruded shapes carved from one material, pressed in and pushed out.',
|
|
14
|
+
feel: {
|
|
15
|
+
radius: { sm: '10px', md: '16px', lg: '24px', full: '9999px', control: '16px' },
|
|
16
|
+
borderWidth: '1px',
|
|
17
|
+
fontFamily: fonts.sans,
|
|
18
|
+
fontFamilyDisplay: fonts.sans,
|
|
19
|
+
fontFamilyMono: fonts.mono,
|
|
20
|
+
tintStrength: '10%',
|
|
21
|
+
fontWeightStrong: '600',
|
|
22
|
+
pressTransform: 'none',
|
|
23
|
+
hoverTransform: 'none',
|
|
24
|
+
duration: '180ms',
|
|
25
|
+
easing: 'ease',
|
|
26
|
+
},
|
|
27
|
+
modes: {
|
|
28
|
+
light: {
|
|
29
|
+
color: {
|
|
30
|
+
bg: light.bg,
|
|
31
|
+
bgImage: 'none',
|
|
32
|
+
bgSize: 'auto',
|
|
33
|
+
text: '#1f2633',
|
|
34
|
+
onTint: '#1f2633',
|
|
35
|
+
textMuted: '#59647a',
|
|
36
|
+
border: 'transparent',
|
|
37
|
+
accent: accent('#4f5dff'),
|
|
38
|
+
accentContrast: accentContrast('#ffffff'),
|
|
39
|
+
accentBorder: 'transparent',
|
|
40
|
+
focusRing: accent('#3b46d9'),
|
|
41
|
+
...status.light,
|
|
42
|
+
palette: [...palettes.light],
|
|
43
|
+
},
|
|
44
|
+
effect: { glow: noGlow },
|
|
45
|
+
surface: {
|
|
46
|
+
raised: {
|
|
47
|
+
bg: light.bg,
|
|
48
|
+
bgSolid: light.bg,
|
|
49
|
+
border: 'transparent',
|
|
50
|
+
shadow: `6px 6px 12px ${light.dark}, -6px -6px 12px ${light.lightEdge}`,
|
|
51
|
+
backdrop: 'none',
|
|
52
|
+
highlight: 'none',
|
|
53
|
+
},
|
|
54
|
+
inset: {
|
|
55
|
+
bg: light.bg,
|
|
56
|
+
bgSolid: light.bg,
|
|
57
|
+
border: 'transparent',
|
|
58
|
+
shadow: `inset 4px 4px 8px ${light.dark}, inset -4px -4px 8px ${light.lightEdge}`,
|
|
59
|
+
backdrop: 'none',
|
|
60
|
+
highlight: 'none',
|
|
61
|
+
},
|
|
62
|
+
overlay: {
|
|
63
|
+
bg: light.bg,
|
|
64
|
+
bgSolid: light.bg,
|
|
65
|
+
border: 'transparent',
|
|
66
|
+
shadow: `12px 12px 24px ${light.dark}, -12px -12px 24px ${light.lightEdge}`,
|
|
67
|
+
backdrop: 'none',
|
|
68
|
+
highlight: 'none',
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
},
|
|
72
|
+
dark: {
|
|
73
|
+
color: {
|
|
74
|
+
bg: dark.bg,
|
|
75
|
+
bgImage: 'none',
|
|
76
|
+
bgSize: 'auto',
|
|
77
|
+
text: '#e8ecf3',
|
|
78
|
+
onTint: '#e8ecf3',
|
|
79
|
+
textMuted: '#a7b0c0',
|
|
80
|
+
border: 'transparent',
|
|
81
|
+
accent: accent('#7c87ff'),
|
|
82
|
+
accentContrast: accentContrast('#10122a'),
|
|
83
|
+
accentBorder: 'transparent',
|
|
84
|
+
focusRing: accent('#a5adff'),
|
|
85
|
+
...status.dark,
|
|
86
|
+
palette: [...palettes.dark],
|
|
87
|
+
},
|
|
88
|
+
effect: { glow: noGlow },
|
|
89
|
+
surface: {
|
|
90
|
+
raised: {
|
|
91
|
+
bg: dark.bg,
|
|
92
|
+
bgSolid: dark.bg,
|
|
93
|
+
border: 'transparent',
|
|
94
|
+
shadow: `6px 6px 12px ${dark.dark}, -6px -6px 12px ${dark.lightEdge}`,
|
|
95
|
+
backdrop: 'none',
|
|
96
|
+
highlight: 'none',
|
|
97
|
+
},
|
|
98
|
+
inset: {
|
|
99
|
+
bg: dark.bg,
|
|
100
|
+
bgSolid: dark.bg,
|
|
101
|
+
border: 'transparent',
|
|
102
|
+
shadow: `inset 4px 4px 8px ${dark.dark}, inset -4px -4px 8px ${dark.lightEdge}`,
|
|
103
|
+
backdrop: 'none',
|
|
104
|
+
highlight: 'none',
|
|
105
|
+
},
|
|
106
|
+
overlay: {
|
|
107
|
+
bg: dark.bg,
|
|
108
|
+
bgSolid: dark.bg,
|
|
109
|
+
border: 'transparent',
|
|
110
|
+
shadow: `12px 12px 24px ${dark.dark}, -12px -12px 24px ${dark.lightEdge}`,
|
|
111
|
+
backdrop: 'none',
|
|
112
|
+
highlight: 'none',
|
|
113
|
+
},
|
|
114
|
+
},
|
|
115
|
+
},
|
|
116
|
+
},
|
|
117
|
+
});
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
/*! OG UI tokens: Neumorphism / Soft UI (scoped). Generated from packages/tokens/src. Do not edit by hand. */
|
|
2
|
+
|
|
3
|
+
/* Neumorphism / Soft UI: Soft extruded shapes carved from one material, pressed in and pushed out. */
|
|
4
|
+
[data-og-theme="neumorphism"] {
|
|
5
|
+
--og-radius-sm: 10px;
|
|
6
|
+
--og-radius-md: 16px;
|
|
7
|
+
--og-radius-lg: 24px;
|
|
8
|
+
--og-radius-full: 9999px;
|
|
9
|
+
--og-radius-control: 16px;
|
|
10
|
+
--og-border-width: 1px;
|
|
11
|
+
--og-font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
|
|
12
|
+
--og-font-display: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
|
|
13
|
+
--og-font-mono: "Geist Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
14
|
+
--og-font-weight-strong: 600;
|
|
15
|
+
--og-tint-strength: 10%;
|
|
16
|
+
--og-press: none;
|
|
17
|
+
--og-hover: none;
|
|
18
|
+
--og-duration: 180ms;
|
|
19
|
+
--og-easing: ease;
|
|
20
|
+
--og-color-bg: #eceff4;
|
|
21
|
+
--og-color-bg-image: none;
|
|
22
|
+
--og-color-bg-size: auto;
|
|
23
|
+
--og-color-text: #1f2633;
|
|
24
|
+
--og-color-on-tint: #1f2633;
|
|
25
|
+
--og-color-text-muted: #59647a;
|
|
26
|
+
--og-color-border: transparent;
|
|
27
|
+
--og-color-accent: var(--og-accent, #4f5dff);
|
|
28
|
+
--og-color-accent-contrast: var(--og-accent-contrast, #ffffff);
|
|
29
|
+
--og-color-accent-border: transparent;
|
|
30
|
+
--og-color-focus-ring: var(--og-accent, #3b46d9);
|
|
31
|
+
--og-color-success: #15803d;
|
|
32
|
+
--og-color-warning: #b45309;
|
|
33
|
+
--og-color-danger: #b91c1c;
|
|
34
|
+
--og-palette-1: #2563eb;
|
|
35
|
+
--og-palette-2: #db2777;
|
|
36
|
+
--og-palette-3: #059669;
|
|
37
|
+
--og-palette-4: #d97706;
|
|
38
|
+
--og-palette-5: #7c3aed;
|
|
39
|
+
--og-palette-6: #0891b2;
|
|
40
|
+
--og-effect-glow: 0 0 0 transparent;
|
|
41
|
+
--og-surface-raised-bg: #eceff4;
|
|
42
|
+
--og-surface-raised-bg-solid: #eceff4;
|
|
43
|
+
--og-surface-raised-border: transparent;
|
|
44
|
+
--og-surface-raised-shadow: 6px 6px 12px #c9ced8, -6px -6px 12px #ffffff;
|
|
45
|
+
--og-surface-raised-backdrop: none;
|
|
46
|
+
--og-surface-raised-highlight: none;
|
|
47
|
+
--og-surface-inset-bg: #eceff4;
|
|
48
|
+
--og-surface-inset-bg-solid: #eceff4;
|
|
49
|
+
--og-surface-inset-border: transparent;
|
|
50
|
+
--og-surface-inset-shadow: inset 4px 4px 8px #c9ced8, inset -4px -4px 8px #ffffff;
|
|
51
|
+
--og-surface-inset-backdrop: none;
|
|
52
|
+
--og-surface-inset-highlight: none;
|
|
53
|
+
--og-surface-overlay-bg: #eceff4;
|
|
54
|
+
--og-surface-overlay-bg-solid: #eceff4;
|
|
55
|
+
--og-surface-overlay-border: transparent;
|
|
56
|
+
--og-surface-overlay-shadow: 12px 12px 24px #c9ced8, -12px -12px 24px #ffffff;
|
|
57
|
+
--og-surface-overlay-backdrop: none;
|
|
58
|
+
--og-surface-overlay-highlight: none;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
@media (prefers-color-scheme: dark) {
|
|
62
|
+
[data-og-theme="neumorphism"]:not([data-og-mode="light"]) {
|
|
63
|
+
--og-color-bg: #2a2d34;
|
|
64
|
+
--og-color-bg-image: none;
|
|
65
|
+
--og-color-bg-size: auto;
|
|
66
|
+
--og-color-text: #e8ecf3;
|
|
67
|
+
--og-color-on-tint: #e8ecf3;
|
|
68
|
+
--og-color-text-muted: #a7b0c0;
|
|
69
|
+
--og-color-border: transparent;
|
|
70
|
+
--og-color-accent: var(--og-accent, #7c87ff);
|
|
71
|
+
--og-color-accent-contrast: var(--og-accent-contrast, #10122a);
|
|
72
|
+
--og-color-accent-border: transparent;
|
|
73
|
+
--og-color-focus-ring: var(--og-accent, #a5adff);
|
|
74
|
+
--og-color-success: #22c55e;
|
|
75
|
+
--og-color-warning: #f59e0b;
|
|
76
|
+
--og-color-danger: #fc8181;
|
|
77
|
+
--og-palette-1: #60a5fa;
|
|
78
|
+
--og-palette-2: #f472b6;
|
|
79
|
+
--og-palette-3: #34d399;
|
|
80
|
+
--og-palette-4: #fbbf24;
|
|
81
|
+
--og-palette-5: #a78bfa;
|
|
82
|
+
--og-palette-6: #22d3ee;
|
|
83
|
+
--og-effect-glow: 0 0 0 transparent;
|
|
84
|
+
--og-surface-raised-bg: #2a2d34;
|
|
85
|
+
--og-surface-raised-bg-solid: #2a2d34;
|
|
86
|
+
--og-surface-raised-border: transparent;
|
|
87
|
+
--og-surface-raised-shadow: 6px 6px 12px #1d1f24, -6px -6px 12px #373b44;
|
|
88
|
+
--og-surface-raised-backdrop: none;
|
|
89
|
+
--og-surface-raised-highlight: none;
|
|
90
|
+
--og-surface-inset-bg: #2a2d34;
|
|
91
|
+
--og-surface-inset-bg-solid: #2a2d34;
|
|
92
|
+
--og-surface-inset-border: transparent;
|
|
93
|
+
--og-surface-inset-shadow: inset 4px 4px 8px #1d1f24, inset -4px -4px 8px #373b44;
|
|
94
|
+
--og-surface-inset-backdrop: none;
|
|
95
|
+
--og-surface-inset-highlight: none;
|
|
96
|
+
--og-surface-overlay-bg: #2a2d34;
|
|
97
|
+
--og-surface-overlay-bg-solid: #2a2d34;
|
|
98
|
+
--og-surface-overlay-border: transparent;
|
|
99
|
+
--og-surface-overlay-shadow: 12px 12px 24px #1d1f24, -12px -12px 24px #373b44;
|
|
100
|
+
--og-surface-overlay-backdrop: none;
|
|
101
|
+
--og-surface-overlay-highlight: none;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
[data-og-theme="neumorphism"][data-og-mode="dark"] {
|
|
106
|
+
--og-color-bg: #2a2d34;
|
|
107
|
+
--og-color-bg-image: none;
|
|
108
|
+
--og-color-bg-size: auto;
|
|
109
|
+
--og-color-text: #e8ecf3;
|
|
110
|
+
--og-color-on-tint: #e8ecf3;
|
|
111
|
+
--og-color-text-muted: #a7b0c0;
|
|
112
|
+
--og-color-border: transparent;
|
|
113
|
+
--og-color-accent: var(--og-accent, #7c87ff);
|
|
114
|
+
--og-color-accent-contrast: var(--og-accent-contrast, #10122a);
|
|
115
|
+
--og-color-accent-border: transparent;
|
|
116
|
+
--og-color-focus-ring: var(--og-accent, #a5adff);
|
|
117
|
+
--og-color-success: #22c55e;
|
|
118
|
+
--og-color-warning: #f59e0b;
|
|
119
|
+
--og-color-danger: #fc8181;
|
|
120
|
+
--og-palette-1: #60a5fa;
|
|
121
|
+
--og-palette-2: #f472b6;
|
|
122
|
+
--og-palette-3: #34d399;
|
|
123
|
+
--og-palette-4: #fbbf24;
|
|
124
|
+
--og-palette-5: #a78bfa;
|
|
125
|
+
--og-palette-6: #22d3ee;
|
|
126
|
+
--og-effect-glow: 0 0 0 transparent;
|
|
127
|
+
--og-surface-raised-bg: #2a2d34;
|
|
128
|
+
--og-surface-raised-bg-solid: #2a2d34;
|
|
129
|
+
--og-surface-raised-border: transparent;
|
|
130
|
+
--og-surface-raised-shadow: 6px 6px 12px #1d1f24, -6px -6px 12px #373b44;
|
|
131
|
+
--og-surface-raised-backdrop: none;
|
|
132
|
+
--og-surface-raised-highlight: none;
|
|
133
|
+
--og-surface-inset-bg: #2a2d34;
|
|
134
|
+
--og-surface-inset-bg-solid: #2a2d34;
|
|
135
|
+
--og-surface-inset-border: transparent;
|
|
136
|
+
--og-surface-inset-shadow: inset 4px 4px 8px #1d1f24, inset -4px -4px 8px #373b44;
|
|
137
|
+
--og-surface-inset-backdrop: none;
|
|
138
|
+
--og-surface-inset-highlight: none;
|
|
139
|
+
--og-surface-overlay-bg: #2a2d34;
|
|
140
|
+
--og-surface-overlay-bg-solid: #2a2d34;
|
|
141
|
+
--og-surface-overlay-border: transparent;
|
|
142
|
+
--og-surface-overlay-shadow: 12px 12px 24px #1d1f24, -12px -12px 24px #373b44;
|
|
143
|
+
--og-surface-overlay-backdrop: none;
|
|
144
|
+
--og-surface-overlay-highlight: none;
|
|
145
|
+
}
|