@pimolu/themes 0.0.0-stage → 0.1.0-beta.10

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.
@@ -0,0 +1,44 @@
1
+ {
2
+ "light": {
3
+ "background": "#faf7f2",
4
+ "foreground": "#24211e",
5
+ "surface": "#ffffff",
6
+ "surfaceForeground": "#24211e",
7
+ "primary": "#24211e",
8
+ "primaryHover": "#403a33",
9
+ "primaryForeground": "#faf7f2",
10
+ "secondary": "#f1eae0",
11
+ "secondaryHover": "#e5d9c8",
12
+ "secondaryForeground": "#24211e",
13
+ "muted": "#f1eae0",
14
+ "mutedForeground": "#665e54",
15
+ "border": "#d8c9b3",
16
+ "focusRing": "#926a35",
17
+ "luxuryGold": "#b38a4a",
18
+ "luxuryDivider": "#d8c9b3",
19
+ "controlBorder": "#d8c9b3",
20
+ "primarySoft": "#f1eae0",
21
+ "primarySoftForeground": "#24211e"
22
+ },
23
+ "dark": {
24
+ "background": "#151311",
25
+ "foreground": "#f4eee5",
26
+ "surface": "#24201c",
27
+ "surfaceForeground": "#f4eee5",
28
+ "primary": "#e8cf9b",
29
+ "primaryHover": "#f3dfb5",
30
+ "primaryForeground": "#24211e",
31
+ "secondary": "#342f29",
32
+ "secondaryHover": "#453d34",
33
+ "secondaryForeground": "#f4eee5",
34
+ "muted": "#2d2822",
35
+ "mutedForeground": "#c4b7a5",
36
+ "border": "#675743",
37
+ "focusRing": "#e8cf9b",
38
+ "luxuryGold": "#e8cf9b",
39
+ "luxuryDivider": "#675743",
40
+ "controlBorder": "#675743",
41
+ "primarySoft": "#2d2822",
42
+ "primarySoftForeground": "#e8cf9b"
43
+ }
44
+ }
@@ -0,0 +1,40 @@
1
+ {
2
+ "light": {
3
+ "primary": "#171717",
4
+ "primaryHover": "#404040",
5
+ "primaryForeground": "#ffffff",
6
+ "secondary": "#e5e5e5",
7
+ "secondaryHover": "#d4d4d4",
8
+ "secondaryForeground": "#171717",
9
+ "background": "#ffffff",
10
+ "foreground": "#171717",
11
+ "muted": "#f5f5f5",
12
+ "mutedForeground": "#737373",
13
+ "border": "#737373",
14
+ "focusRing": "#171717",
15
+ "surface": "#ffffff",
16
+ "surfaceForeground": "#171717",
17
+ "controlBorder": "#737373",
18
+ "primarySoft": "#f5f5f5",
19
+ "primarySoftForeground": "#171717"
20
+ },
21
+ "dark": {
22
+ "primary": "#fafafa",
23
+ "primaryHover": "#d4d4d4",
24
+ "primaryForeground": "#171717",
25
+ "secondary": "#333333",
26
+ "secondaryHover": "#404040",
27
+ "secondaryForeground": "#fafafa",
28
+ "background": "#111111",
29
+ "foreground": "#fafafa",
30
+ "muted": "#262626",
31
+ "mutedForeground": "#a3a3a3",
32
+ "border": "#737373",
33
+ "focusRing": "#fafafa",
34
+ "surface": "#262626",
35
+ "surfaceForeground": "#fafafa",
36
+ "controlBorder": "#737373",
37
+ "primarySoft": "#262626",
38
+ "primarySoftForeground": "#fafafa"
39
+ }
40
+ }
@@ -0,0 +1,40 @@
1
+ {
2
+ "light": {
3
+ "background": "#fffdf5",
4
+ "foreground": "#171717",
5
+ "surface": "#ffffff",
6
+ "surfaceForeground": "#171717",
7
+ "primary": "#dfff57",
8
+ "primaryHover": "#c9ef34",
9
+ "primaryForeground": "#171717",
10
+ "secondary": "#c4b5fd",
11
+ "secondaryHover": "#b29cf9",
12
+ "secondaryForeground": "#171717",
13
+ "muted": "#f2eddf",
14
+ "mutedForeground": "#525252",
15
+ "border": "#171717",
16
+ "focusRing": "#4338ca",
17
+ "controlBorder": "#171717",
18
+ "primarySoft": "#f2eddf",
19
+ "primarySoftForeground": "#dfff57"
20
+ },
21
+ "dark": {
22
+ "background": "#171717",
23
+ "foreground": "#fafafa",
24
+ "surface": "#262626",
25
+ "surfaceForeground": "#fafafa",
26
+ "primary": "#dfff57",
27
+ "primaryHover": "#edff96",
28
+ "primaryForeground": "#171717",
29
+ "secondary": "#c4b5fd",
30
+ "secondaryHover": "#ddd6fe",
31
+ "secondaryForeground": "#171717",
32
+ "muted": "#333333",
33
+ "mutedForeground": "#d4d4d4",
34
+ "border": "#fafafa",
35
+ "focusRing": "#dfff57",
36
+ "controlBorder": "#fafafa",
37
+ "primarySoft": "#333333",
38
+ "primarySoftForeground": "#dfff57"
39
+ }
40
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "light": {
3
+ "control-border-width": "1px",
4
+ "solid-border-color": "transparent",
5
+ "shadow-raised": "none",
6
+ "shadow-sm": "0 1px 2px rgba(15, 23, 42, 0.12)",
7
+ "button-font-weight": "400"
8
+ },
9
+
10
+ "dark": {}
11
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "light": {
3
+ "control-border-width": "2px",
4
+ "solid-border-color": "#171717",
5
+ "shadow-raised": "4px 4px 0 #171717",
6
+ "shadow-sm": "1px 2px 0 #171717",
7
+ "radius-md": "12px",
8
+ "button-font-weight": "400",
9
+ "control-shadow": "var(--pimolu-shadow-raised)",
10
+ "button-active-transform": "translate(2px, 2px)",
11
+ "button-active-shadow": "2px 2px 0 var(--pimolu-border)"
12
+ },
13
+ "dark": {
14
+ "solid-border-color": "#ffffff",
15
+ "shadow-raised": "4px 4px 0 #ffffff",
16
+ "shadow-sm": "1px 2px 0 #ffffff"
17
+ }
18
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "light": {
3
+ "control-border-width": "1px",
4
+ "solid-border-color": "transparent",
5
+ "shadow-raised": "none",
6
+ "shadow-sm": "0 2px 8px rgba(38, 35, 45, 0.08)",
7
+ "button-font-weight": "500",
8
+ "radius-sm": "6px",
9
+ "radius-md": "10px",
10
+ "radius-lg": "16px",
11
+ "font-body": "\"DM Sans\", system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
12
+ "font-heading": "inherit",
13
+ "font-mono": "\"IBM Plex Mono\", ui-monospace, SFMono-Regular, Menlo, monospace",
14
+ "font-display": "\"Newsreader\", Georgia, \"Times New Roman\", serif",
15
+ "interaction-duration": "120ms",
16
+ "interaction-easing": "cubic-bezier(.2, 0, 0, 1)"
17
+ },
18
+ "dark": {
19
+ "shadow-sm": "0 2px 8px rgba(0, 0, 0, 0.24)"
20
+ }
21
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "light": {
3
+ "glass-blur": "18px",
4
+ "glass-shadow": "0 8px 32px rgba(31, 38, 135, 0.12)",
5
+ "glass-orb-1": "#a5b4fc",
6
+ "glass-orb-2": "#67e8f9",
7
+ "control-border-width": "1px",
8
+ "solid-border-color": "rgba(255, 255, 255, 0.35)",
9
+ "shadow-raised": "0 6px 20px rgba(79, 70, 229, 0.14)",
10
+ "shadow-sm": "0 2px 8px rgba(31, 38, 135, 0.16)",
11
+ "radius-md": "14px",
12
+ "radius-lg": "20px",
13
+ "button-font-weight": "400"
14
+ },
15
+ "dark": {
16
+ "glass-shadow": "0 8px 32px rgba(0, 0, 0, 0.3)",
17
+ "glass-orb-1": "#4338ca",
18
+ "glass-orb-2": "#0e7490",
19
+ "solid-border-color": "rgba(255, 255, 255, 0.18)",
20
+ "shadow-raised": "0 6px 20px rgba(0, 0, 0, 0.25)",
21
+ "shadow-sm": "0 2px 8px rgba(0, 0, 0, 0.3)"
22
+ }
23
+ }
@@ -0,0 +1,20 @@
1
+ {
2
+ "light": {
3
+ "font-heading": "Georgia, \"Times New Roman\", serif",
4
+ "font-body": "Arial, Helvetica, sans-serif",
5
+ "control-border-width": "1px",
6
+ "solid-border-color": "transparent",
7
+ "shadow-raised": "0 6px 20px rgba(36, 33, 30, 0.08)",
8
+ "shadow-sm": "0 1px 3px rgba(36, 33, 30, 0.12)",
9
+ "radius-sm": "2px",
10
+ "radius-md": "4px",
11
+ "radius-lg": "8px",
12
+ "button-font-weight": "400",
13
+ "button-letter-spacing": "0.04em",
14
+ "outline-hover-border": "var(--pimolu-luxury-gold)"
15
+ },
16
+ "dark": {
17
+ "shadow-raised": "0 6px 24px rgba(0, 0, 0, 0.3)",
18
+ "shadow-sm": "0 1px 3px rgba(0, 0, 0, 0.35)"
19
+ }
20
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "light": {
3
+ "control-border-width": "1px",
4
+ "solid-border-color": "transparent",
5
+ "shadow-raised": "none",
6
+ "shadow-sm": "0 1px 2px rgba(0, 0, 0, 0.12)",
7
+ "radius-md": "8px",
8
+ "button-font-weight": "400"
9
+ },
10
+ "dark": {
11
+ "shadow-sm": "0 1px 2px rgba(0, 0, 0, 0.3)"
12
+ }
13
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "light": {
3
+ "control-border-width": "3px",
4
+ "solid-border-color": "#171717",
5
+ "shadow-raised": "5px 5px 0 #171717",
6
+ "shadow-sm": "2px 2px 0 #171717",
7
+ "radius-sm": "0px",
8
+ "radius-md": "3px",
9
+ "radius-lg": "6px",
10
+ "button-font-weight": "400",
11
+ "control-shadow": "var(--pimolu-shadow-raised)",
12
+ "soft-border-color": "var(--pimolu-border)",
13
+ "button-active-transform": "translate(3px, 3px)",
14
+ "button-active-shadow": "2px 2px 0 var(--pimolu-border)"
15
+ },
16
+ "dark": {
17
+ "solid-border-color": "#fafafa",
18
+ "shadow-raised": "5px 5px 0 #fafafa",
19
+ "shadow-sm": "2px 2px 0 #fafafa"
20
+ }
21
+ }
package/style-base.css ADDED
@@ -0,0 +1,75 @@
1
+
2
+ /* ==================================
3
+ PIMOLU — SHARED STYLE DEFAULTS
4
+ ================================== */
5
+
6
+ :where([data-pimolu-style]) {
7
+
8
+ /* Semantic defaults */
9
+ --pimolu-outline-hover-border: var(--pimolu-control-border, var(--pimolu-border));
10
+
11
+ --pimolu-secondary: var(--pimolu-muted);
12
+ --pimolu-secondary-hover: var(--pimolu-border);
13
+ --pimolu-secondary-foreground: var(--pimolu-foreground);
14
+
15
+ --pimolu-neutral: var(--pimolu-foreground);
16
+ --pimolu-neutral-hover: var(--pimolu-muted-foreground);
17
+ --pimolu-neutral-foreground: var(--pimolu-background);
18
+
19
+ /* Borders */
20
+
21
+ --pimolu-control-border-width: 1px;
22
+ --pimolu-solid-border-color: transparent;
23
+ --pimolu-soft-border-color: transparent;
24
+
25
+ /* Shadows */
26
+
27
+ --pimolu-shadow-raised: none;
28
+ --pimolu-control-shadow: none;
29
+
30
+ /* Typography */
31
+
32
+ --pimolu-font-body: var(--pimolu-font-family-sans, system-ui, sans-serif);
33
+ --pimolu-font-heading: inherit;
34
+ --pimolu-font-display: var(--pimolu-font-heading, inherit);
35
+ --pimolu-font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
36
+
37
+ --pimolu-button-font-weight: 400;
38
+ --pimolu-button-letter-spacing: normal;
39
+
40
+ /* Interactions */
41
+
42
+ --pimolu-interaction-duration: 150ms;
43
+ --pimolu-interaction-easing: ease-out;
44
+
45
+ --pimolu-button-active-transform: none;
46
+ --pimolu-button-active-shadow: none;
47
+
48
+ /* Glass defaults */
49
+
50
+ --pimolu-glass-bg: color-mix(
51
+ in srgb,
52
+ var(--pimolu-background) 78%,
53
+ transparent
54
+ );
55
+
56
+ --pimolu-glass-bg-hover: var(--pimolu-muted);
57
+ --pimolu-glass-border: var(--pimolu-border);
58
+ --pimolu-glass-shadow: none;
59
+ --pimolu-glass-blur: 18px;
60
+
61
+ font-family: var(--pimolu-font-body);
62
+ }
63
+
64
+
65
+ [data-pimolu-theme="light"] {
66
+ color-scheme: light;
67
+ }
68
+
69
+ [data-pimolu-theme="dark"] {
70
+ color-scheme: dark;
71
+ }
72
+
73
+ [data-pimolu-theme="system"] {
74
+ color-scheme: light dark;
75
+ }
@@ -0,0 +1,22 @@
1
+
2
+ /* ==================================
3
+ PIMOLU GLASS — WEB HELPERS
4
+ Visual tokens are generated from
5
+ src/visual/glass.json (dist/visual.css).
6
+ ================================== */
7
+
8
+ [data-pimolu-style="glass"] .pimolu-glass-surface {
9
+ background: var(--pimolu-glass-bg);
10
+
11
+ border: 1px solid var(--pimolu-glass-border);
12
+
13
+ border-radius: var(--pimolu-radius-lg);
14
+
15
+ box-shadow: var(--pimolu-glass-shadow);
16
+
17
+ -webkit-backdrop-filter:
18
+ blur(var(--pimolu-glass-blur));
19
+
20
+ backdrop-filter:
21
+ blur(var(--pimolu-glass-blur));
22
+ }
@@ -0,0 +1,16 @@
1
+
2
+ /* ==================================
3
+ PIMOLU LUXURY — WEB HELPERS
4
+ Visual tokens are generated from
5
+ src/visual/luxury.json (dist/visual.css).
6
+ ================================== */
7
+
8
+ [data-pimolu-style="luxury"] {
9
+ font-family: var(--pimolu-font-body);
10
+ }
11
+
12
+ [data-pimolu-style="luxury"] .pimolu-heading {
13
+ font-family: var(--pimolu-font-heading);
14
+ font-weight: 400;
15
+ letter-spacing: -0.02em;
16
+ }
@@ -0,0 +1,19 @@
1
+
2
+ @import "./style-base.css";
3
+
4
+ /* Generated palettes */
5
+ @import "./dist/default.css";
6
+ @import "./dist/presets.css";
7
+
8
+ /* Generated visual tokens (borders, shadows, radius, effects) */
9
+ @import "./dist/visual.css";
10
+
11
+ /* Preset-specific web helpers */
12
+ @import "./style-glass.css";
13
+ @import "./style-luxury.css";
14
+
15
+ /* Radius is a dimension of its own, applied after the presets */
16
+ @import "./radius.css";
17
+
18
+ /* Density composes with radius, after it */
19
+ @import "./density.css";