@marianmeres/design-tokens 1.0.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.
Files changed (84) hide show
  1. package/AGENTS.md +85 -0
  2. package/API.md +271 -0
  3. package/CLAUDE.md +3 -0
  4. package/LICENSE +21 -0
  5. package/README.md +139 -0
  6. package/dist/colors.d.ts +301 -0
  7. package/dist/colors.js +301 -0
  8. package/dist/generate.d.ts +14 -0
  9. package/dist/generate.js +137 -0
  10. package/dist/mod.d.ts +13 -0
  11. package/dist/mod.js +12 -0
  12. package/dist/reboot-bridge.d.ts +27 -0
  13. package/dist/reboot-bridge.js +89 -0
  14. package/dist/themes/blue-orange.d.ts +3 -0
  15. package/dist/themes/blue-orange.js +117 -0
  16. package/dist/themes/cyan-red.d.ts +3 -0
  17. package/dist/themes/cyan-red.js +117 -0
  18. package/dist/themes/cyan-slate.d.ts +3 -0
  19. package/dist/themes/cyan-slate.js +117 -0
  20. package/dist/themes/dds.d.ts +3 -0
  21. package/dist/themes/dds.js +133 -0
  22. package/dist/themes/emerald-amber-forest.d.ts +3 -0
  23. package/dist/themes/emerald-amber-forest.js +117 -0
  24. package/dist/themes/emerald-pink.d.ts +3 -0
  25. package/dist/themes/emerald-pink.js +117 -0
  26. package/dist/themes/fuchsia-emerald.d.ts +3 -0
  27. package/dist/themes/fuchsia-emerald.js +117 -0
  28. package/dist/themes/gray.d.ts +3 -0
  29. package/dist/themes/gray.js +66 -0
  30. package/dist/themes/indigo-amber.d.ts +3 -0
  31. package/dist/themes/indigo-amber.js +117 -0
  32. package/dist/themes/lime-fuchsia-neon.d.ts +3 -0
  33. package/dist/themes/lime-fuchsia-neon.js +117 -0
  34. package/dist/themes/mod.d.ts +72 -0
  35. package/dist/themes/mod.js +71 -0
  36. package/dist/themes/monokai-cyan.d.ts +3 -0
  37. package/dist/themes/monokai-cyan.js +119 -0
  38. package/dist/themes/monokai-green.d.ts +3 -0
  39. package/dist/themes/monokai-green.js +119 -0
  40. package/dist/themes/monokai-pink.d.ts +3 -0
  41. package/dist/themes/monokai-pink.js +119 -0
  42. package/dist/themes/orange-pink-sunset.d.ts +3 -0
  43. package/dist/themes/orange-pink-sunset.js +117 -0
  44. package/dist/themes/pink-emerald.d.ts +3 -0
  45. package/dist/themes/pink-emerald.js +117 -0
  46. package/dist/themes/pink-teal.d.ts +3 -0
  47. package/dist/themes/pink-teal.js +117 -0
  48. package/dist/themes/purple-yellow.d.ts +3 -0
  49. package/dist/themes/purple-yellow.js +117 -0
  50. package/dist/themes/rainbow.d.ts +3 -0
  51. package/dist/themes/rainbow.js +122 -0
  52. package/dist/themes/red-blue.d.ts +3 -0
  53. package/dist/themes/red-blue.js +117 -0
  54. package/dist/themes/red-cyan.d.ts +3 -0
  55. package/dist/themes/red-cyan.js +117 -0
  56. package/dist/themes/red-sky-slate.d.ts +3 -0
  57. package/dist/themes/red-sky-slate.js +117 -0
  58. package/dist/themes/red-sky.d.ts +3 -0
  59. package/dist/themes/red-sky.js +117 -0
  60. package/dist/themes/rose-teal.d.ts +3 -0
  61. package/dist/themes/rose-teal.js +117 -0
  62. package/dist/themes/sky-amber.d.ts +3 -0
  63. package/dist/themes/sky-amber.js +117 -0
  64. package/dist/themes/slate-cyan.d.ts +3 -0
  65. package/dist/themes/slate-cyan.js +117 -0
  66. package/dist/themes/slate-teal-ocean.d.ts +3 -0
  67. package/dist/themes/slate-teal-ocean.js +117 -0
  68. package/dist/themes/stone-orange-earth.d.ts +3 -0
  69. package/dist/themes/stone-orange-earth.js +117 -0
  70. package/dist/themes/stone.d.ts +3 -0
  71. package/dist/themes/stone.js +72 -0
  72. package/dist/themes/teal-rose.d.ts +3 -0
  73. package/dist/themes/teal-rose.js +117 -0
  74. package/dist/themes/violet-lime.d.ts +3 -0
  75. package/dist/themes/violet-lime.js +117 -0
  76. package/dist/themes/violet-rose-dusk.d.ts +3 -0
  77. package/dist/themes/violet-rose-dusk.js +117 -0
  78. package/dist/themes/zinc.d.ts +3 -0
  79. package/dist/themes/zinc.js +66 -0
  80. package/dist/types.d.ts +48 -0
  81. package/dist/types.js +1 -0
  82. package/dist/utils.d.ts +11 -0
  83. package/dist/utils.js +28 -0
  84. package/package.json +23 -0
@@ -0,0 +1,117 @@
1
+ import { colors } from "../colors.js";
2
+ const light = {
3
+ colors: {
4
+ intent: {
5
+ primary: {
6
+ DEFAULT: colors.lime[600],
7
+ foreground: colors.black,
8
+ },
9
+ accent: {
10
+ DEFAULT: colors.fuchsia[500],
11
+ foreground: colors.white,
12
+ },
13
+ destructive: {
14
+ DEFAULT: colors.red[600],
15
+ foreground: colors.white,
16
+ },
17
+ warning: {
18
+ DEFAULT: colors.yellow[500],
19
+ foreground: colors.black,
20
+ },
21
+ success: {
22
+ DEFAULT: colors.lime[600],
23
+ foreground: colors.black,
24
+ },
25
+ },
26
+ role: {
27
+ paired: {
28
+ background: {
29
+ DEFAULT: colors.zinc[100],
30
+ foreground: colors.zinc[900],
31
+ },
32
+ muted: {
33
+ DEFAULT: colors.zinc[200],
34
+ foreground: colors.zinc[500],
35
+ },
36
+ surface: {
37
+ DEFAULT: colors.zinc[300],
38
+ foreground: colors.zinc[900],
39
+ },
40
+ "surface-1": {
41
+ DEFAULT: colors.zinc[400],
42
+ foreground: colors.zinc[900],
43
+ },
44
+ },
45
+ single: {
46
+ foreground: colors.zinc[900],
47
+ border: {
48
+ DEFAULT: colors.zinc[300],
49
+ },
50
+ input: {
51
+ DEFAULT: colors.white,
52
+ hover: colors.zinc[100],
53
+ },
54
+ ring: `color-mix(in srgb, ${colors.lime[500]} 25%, transparent)`,
55
+ },
56
+ },
57
+ },
58
+ };
59
+ const dark = {
60
+ colors: {
61
+ intent: {
62
+ primary: {
63
+ DEFAULT: colors.lime[400],
64
+ foreground: colors.black,
65
+ },
66
+ accent: {
67
+ DEFAULT: colors.fuchsia[400],
68
+ foreground: colors.white,
69
+ },
70
+ destructive: {
71
+ DEFAULT: colors.red[500],
72
+ foreground: colors.white,
73
+ },
74
+ warning: {
75
+ DEFAULT: colors.yellow[400],
76
+ foreground: colors.black,
77
+ },
78
+ success: {
79
+ DEFAULT: colors.lime[400],
80
+ foreground: colors.black,
81
+ },
82
+ },
83
+ role: {
84
+ paired: {
85
+ background: {
86
+ DEFAULT: colors.zinc[950],
87
+ foreground: colors.neutral[50],
88
+ },
89
+ muted: {
90
+ DEFAULT: colors.zinc[900],
91
+ foreground: colors.zinc[500],
92
+ },
93
+ surface: {
94
+ DEFAULT: colors.zinc[800],
95
+ foreground: colors.zinc[400],
96
+ },
97
+ "surface-1": {
98
+ DEFAULT: colors.zinc[700],
99
+ foreground: colors.zinc[300],
100
+ },
101
+ },
102
+ single: {
103
+ foreground: colors.neutral[50],
104
+ border: {
105
+ DEFAULT: colors.zinc[700],
106
+ },
107
+ input: {
108
+ DEFAULT: colors.zinc[950],
109
+ hover: colors.zinc[900],
110
+ },
111
+ ring: `color-mix(in srgb, ${colors.lime[400]} 30%, transparent)`,
112
+ },
113
+ },
114
+ },
115
+ };
116
+ const theme = { light, dark };
117
+ export default theme;
@@ -0,0 +1,72 @@
1
+ /**
2
+ * Pre-built {@link ThemeSchema} definitions ready to use with
3
+ * {@link generateThemeCss} or {@link generateThemedCss}.
4
+ *
5
+ * Each theme exports a complete light + dark mode token schema built
6
+ * from the bundled Tailwind v3 color palette.
7
+ *
8
+ * @module
9
+ */
10
+ export type { ThemeSchema } from "../types.js";
11
+ /** Blue primary / orange accent theme. */
12
+ export { default as blueOrange } from "./blue-orange.js";
13
+ /** Cyan primary / red accent theme. */
14
+ export { default as cyanRed } from "./cyan-red.js";
15
+ /** Cyan primary / slate accent theme. */
16
+ export { default as cyanSlate } from "./cyan-slate.js";
17
+ /** Emerald primary / amber accent forest theme. */
18
+ export { default as emeraldAmberForest } from "./emerald-amber-forest.js";
19
+ /** Emerald primary / pink accent theme. */
20
+ export { default as emeraldPink } from "./emerald-pink.js";
21
+ /** Fuchsia primary / emerald accent theme. */
22
+ export { default as fuchsiaEmerald } from "./fuchsia-emerald.js";
23
+ /** Neutral gray monochrome theme. */
24
+ export { default as gray } from "./gray.js";
25
+ /** Indigo primary / amber accent theme. */
26
+ export { default as indigoAmber } from "./indigo-amber.js";
27
+ /** Lime primary / fuchsia accent neon theme. */
28
+ export { default as limeFuchsiaNeon } from "./lime-fuchsia-neon.js";
29
+ /** Monokai-inspired theme with cyan accent. */
30
+ export { default as monokaiCyan } from "./monokai-cyan.js";
31
+ /** Monokai-inspired theme with green accent. */
32
+ export { default as monokaiGreen } from "./monokai-green.js";
33
+ /** Monokai-inspired theme with pink accent. */
34
+ export { default as monokaiPink } from "./monokai-pink.js";
35
+ /** Orange primary / pink accent sunset theme. */
36
+ export { default as orangePinkSunset } from "./orange-pink-sunset.js";
37
+ /** Pink primary / emerald accent theme. */
38
+ export { default as pinkEmerald } from "./pink-emerald.js";
39
+ /** Pink primary / teal accent theme. */
40
+ export { default as pinkTeal } from "./pink-teal.js";
41
+ /** Purple primary / yellow accent theme. */
42
+ export { default as purpleYellow } from "./purple-yellow.js";
43
+ /** Multi-color rainbow theme. */
44
+ export { default as rainbow } from "./rainbow.js";
45
+ /** Red primary / blue accent theme. */
46
+ export { default as redBlue } from "./red-blue.js";
47
+ /** Red primary / cyan accent theme. */
48
+ export { default as redCyan } from "./red-cyan.js";
49
+ /** Red primary / sky accent theme. */
50
+ export { default as redSky } from "./red-sky.js";
51
+ /** Red primary / sky accent / slate base theme. */
52
+ export { default as redSkySlate } from "./red-sky-slate.js";
53
+ /** Rose primary / teal accent theme. */
54
+ export { default as roseTeal } from "./rose-teal.js";
55
+ /** Sky primary / amber accent theme. */
56
+ export { default as skyAmber } from "./sky-amber.js";
57
+ /** Slate primary / cyan accent theme. */
58
+ export { default as slateCyan } from "./slate-cyan.js";
59
+ /** Slate primary / teal accent ocean theme. */
60
+ export { default as slateTealOcean } from "./slate-teal-ocean.js";
61
+ /** Neutral stone monochrome theme. */
62
+ export { default as stone } from "./stone.js";
63
+ /** Stone primary / orange accent earth theme. */
64
+ export { default as stoneOrangeEarth } from "./stone-orange-earth.js";
65
+ /** Teal primary / rose accent theme. */
66
+ export { default as tealRose } from "./teal-rose.js";
67
+ /** Violet primary / lime accent theme. */
68
+ export { default as violetLime } from "./violet-lime.js";
69
+ /** Violet primary / rose accent dusk theme. */
70
+ export { default as violetRoseDusk } from "./violet-rose-dusk.js";
71
+ /** Neutral zinc monochrome theme. */
72
+ export { default as zinc } from "./zinc.js";
@@ -0,0 +1,71 @@
1
+ /**
2
+ * Pre-built {@link ThemeSchema} definitions ready to use with
3
+ * {@link generateThemeCss} or {@link generateThemedCss}.
4
+ *
5
+ * Each theme exports a complete light + dark mode token schema built
6
+ * from the bundled Tailwind v3 color palette.
7
+ *
8
+ * @module
9
+ */
10
+ /** Blue primary / orange accent theme. */
11
+ export { default as blueOrange } from "./blue-orange.js";
12
+ /** Cyan primary / red accent theme. */
13
+ export { default as cyanRed } from "./cyan-red.js";
14
+ /** Cyan primary / slate accent theme. */
15
+ export { default as cyanSlate } from "./cyan-slate.js";
16
+ /** Emerald primary / amber accent forest theme. */
17
+ export { default as emeraldAmberForest } from "./emerald-amber-forest.js";
18
+ /** Emerald primary / pink accent theme. */
19
+ export { default as emeraldPink } from "./emerald-pink.js";
20
+ /** Fuchsia primary / emerald accent theme. */
21
+ export { default as fuchsiaEmerald } from "./fuchsia-emerald.js";
22
+ /** Neutral gray monochrome theme. */
23
+ export { default as gray } from "./gray.js";
24
+ /** Indigo primary / amber accent theme. */
25
+ export { default as indigoAmber } from "./indigo-amber.js";
26
+ /** Lime primary / fuchsia accent neon theme. */
27
+ export { default as limeFuchsiaNeon } from "./lime-fuchsia-neon.js";
28
+ /** Monokai-inspired theme with cyan accent. */
29
+ export { default as monokaiCyan } from "./monokai-cyan.js";
30
+ /** Monokai-inspired theme with green accent. */
31
+ export { default as monokaiGreen } from "./monokai-green.js";
32
+ /** Monokai-inspired theme with pink accent. */
33
+ export { default as monokaiPink } from "./monokai-pink.js";
34
+ /** Orange primary / pink accent sunset theme. */
35
+ export { default as orangePinkSunset } from "./orange-pink-sunset.js";
36
+ /** Pink primary / emerald accent theme. */
37
+ export { default as pinkEmerald } from "./pink-emerald.js";
38
+ /** Pink primary / teal accent theme. */
39
+ export { default as pinkTeal } from "./pink-teal.js";
40
+ /** Purple primary / yellow accent theme. */
41
+ export { default as purpleYellow } from "./purple-yellow.js";
42
+ /** Multi-color rainbow theme. */
43
+ export { default as rainbow } from "./rainbow.js";
44
+ /** Red primary / blue accent theme. */
45
+ export { default as redBlue } from "./red-blue.js";
46
+ /** Red primary / cyan accent theme. */
47
+ export { default as redCyan } from "./red-cyan.js";
48
+ /** Red primary / sky accent theme. */
49
+ export { default as redSky } from "./red-sky.js";
50
+ /** Red primary / sky accent / slate base theme. */
51
+ export { default as redSkySlate } from "./red-sky-slate.js";
52
+ /** Rose primary / teal accent theme. */
53
+ export { default as roseTeal } from "./rose-teal.js";
54
+ /** Sky primary / amber accent theme. */
55
+ export { default as skyAmber } from "./sky-amber.js";
56
+ /** Slate primary / cyan accent theme. */
57
+ export { default as slateCyan } from "./slate-cyan.js";
58
+ /** Slate primary / teal accent ocean theme. */
59
+ export { default as slateTealOcean } from "./slate-teal-ocean.js";
60
+ /** Neutral stone monochrome theme. */
61
+ export { default as stone } from "./stone.js";
62
+ /** Stone primary / orange accent earth theme. */
63
+ export { default as stoneOrangeEarth } from "./stone-orange-earth.js";
64
+ /** Teal primary / rose accent theme. */
65
+ export { default as tealRose } from "./teal-rose.js";
66
+ /** Violet primary / lime accent theme. */
67
+ export { default as violetLime } from "./violet-lime.js";
68
+ /** Violet primary / rose accent dusk theme. */
69
+ export { default as violetRoseDusk } from "./violet-rose-dusk.js";
70
+ /** Neutral zinc monochrome theme. */
71
+ export { default as zinc } from "./zinc.js";
@@ -0,0 +1,3 @@
1
+ import type { ThemeSchema } from "../types.js";
2
+ declare const theme: ThemeSchema;
3
+ export default theme;
@@ -0,0 +1,119 @@
1
+ import { colors } from "../colors.js";
2
+ // Monokai Cyan — Monokai's cyan/type color as primary with purple accent
3
+ // Approximation of classic Monokai palette to Tailwind colors
4
+ const light = {
5
+ colors: {
6
+ intent: {
7
+ primary: {
8
+ DEFAULT: colors.cyan[600],
9
+ foreground: colors.white,
10
+ },
11
+ accent: {
12
+ DEFAULT: colors.violet[500],
13
+ foreground: colors.white,
14
+ },
15
+ destructive: {
16
+ DEFAULT: colors.rose[600],
17
+ foreground: colors.white,
18
+ },
19
+ warning: {
20
+ DEFAULT: colors.amber[500],
21
+ foreground: colors.black,
22
+ },
23
+ success: {
24
+ DEFAULT: colors.emerald[600],
25
+ foreground: colors.white,
26
+ },
27
+ },
28
+ role: {
29
+ paired: {
30
+ background: {
31
+ DEFAULT: colors.stone[50],
32
+ foreground: colors.stone[900],
33
+ },
34
+ muted: {
35
+ DEFAULT: colors.stone[100],
36
+ foreground: colors.stone[500],
37
+ },
38
+ surface: {
39
+ DEFAULT: colors.stone[200],
40
+ foreground: colors.stone[900],
41
+ },
42
+ "surface-1": {
43
+ DEFAULT: colors.stone[300],
44
+ foreground: colors.stone[900],
45
+ },
46
+ },
47
+ single: {
48
+ foreground: colors.stone[900],
49
+ border: {
50
+ DEFAULT: colors.stone[300],
51
+ },
52
+ input: {
53
+ DEFAULT: colors.stone[50],
54
+ hover: colors.stone[100],
55
+ },
56
+ ring: `color-mix(in srgb, ${colors.cyan[600]} 20%, transparent)`,
57
+ },
58
+ },
59
+ },
60
+ };
61
+ const dark = {
62
+ colors: {
63
+ intent: {
64
+ primary: {
65
+ DEFAULT: colors.cyan[400],
66
+ foreground: colors.black,
67
+ },
68
+ accent: {
69
+ DEFAULT: colors.violet[400],
70
+ foreground: colors.white,
71
+ },
72
+ destructive: {
73
+ DEFAULT: colors.rose[500],
74
+ foreground: colors.white,
75
+ },
76
+ warning: {
77
+ DEFAULT: colors.amber[400],
78
+ foreground: colors.black,
79
+ },
80
+ success: {
81
+ DEFAULT: colors.emerald[500],
82
+ foreground: colors.white,
83
+ },
84
+ },
85
+ role: {
86
+ paired: {
87
+ background: {
88
+ DEFAULT: colors.stone[900],
89
+ foreground: colors.stone[50],
90
+ },
91
+ muted: {
92
+ DEFAULT: colors.stone[800],
93
+ foreground: colors.stone[400],
94
+ },
95
+ surface: {
96
+ DEFAULT: colors.stone[700],
97
+ foreground: colors.stone[300],
98
+ },
99
+ "surface-1": {
100
+ DEFAULT: colors.stone[600],
101
+ foreground: colors.stone[200],
102
+ },
103
+ },
104
+ single: {
105
+ foreground: colors.stone[50],
106
+ border: {
107
+ DEFAULT: colors.stone[700],
108
+ },
109
+ input: {
110
+ DEFAULT: colors.stone[900],
111
+ hover: colors.stone[800],
112
+ },
113
+ ring: `color-mix(in srgb, ${colors.cyan[400]} 25%, transparent)`,
114
+ },
115
+ },
116
+ },
117
+ };
118
+ const theme = { light, dark };
119
+ export default theme;
@@ -0,0 +1,3 @@
1
+ import type { ThemeSchema } from "../types.js";
2
+ declare const theme: ThemeSchema;
3
+ export default theme;
@@ -0,0 +1,119 @@
1
+ import { colors } from "../colors.js";
2
+ // Monokai Green — Monokai's bright lime green primary with orange accent
3
+ // Approximation of classic Monokai palette to Tailwind colors
4
+ const light = {
5
+ colors: {
6
+ intent: {
7
+ primary: {
8
+ DEFAULT: colors.lime[600],
9
+ foreground: colors.white,
10
+ },
11
+ accent: {
12
+ DEFAULT: colors.orange[500],
13
+ foreground: colors.white,
14
+ },
15
+ destructive: {
16
+ DEFAULT: colors.rose[600],
17
+ foreground: colors.white,
18
+ },
19
+ warning: {
20
+ DEFAULT: colors.amber[500],
21
+ foreground: colors.black,
22
+ },
23
+ success: {
24
+ DEFAULT: colors.emerald[600],
25
+ foreground: colors.white,
26
+ },
27
+ },
28
+ role: {
29
+ paired: {
30
+ background: {
31
+ DEFAULT: colors.stone[50],
32
+ foreground: colors.stone[900],
33
+ },
34
+ muted: {
35
+ DEFAULT: colors.stone[100],
36
+ foreground: colors.stone[500],
37
+ },
38
+ surface: {
39
+ DEFAULT: colors.stone[200],
40
+ foreground: colors.stone[900],
41
+ },
42
+ "surface-1": {
43
+ DEFAULT: colors.stone[300],
44
+ foreground: colors.stone[900],
45
+ },
46
+ },
47
+ single: {
48
+ foreground: colors.stone[900],
49
+ border: {
50
+ DEFAULT: colors.stone[300],
51
+ },
52
+ input: {
53
+ DEFAULT: colors.stone[50],
54
+ hover: colors.stone[100],
55
+ },
56
+ ring: `color-mix(in srgb, ${colors.lime[600]} 20%, transparent)`,
57
+ },
58
+ },
59
+ },
60
+ };
61
+ const dark = {
62
+ colors: {
63
+ intent: {
64
+ primary: {
65
+ DEFAULT: colors.lime[400],
66
+ foreground: colors.black,
67
+ },
68
+ accent: {
69
+ DEFAULT: colors.orange[400],
70
+ foreground: colors.black,
71
+ },
72
+ destructive: {
73
+ DEFAULT: colors.rose[500],
74
+ foreground: colors.white,
75
+ },
76
+ warning: {
77
+ DEFAULT: colors.amber[400],
78
+ foreground: colors.black,
79
+ },
80
+ success: {
81
+ DEFAULT: colors.emerald[500],
82
+ foreground: colors.white,
83
+ },
84
+ },
85
+ role: {
86
+ paired: {
87
+ background: {
88
+ DEFAULT: colors.stone[900],
89
+ foreground: colors.stone[50],
90
+ },
91
+ muted: {
92
+ DEFAULT: colors.stone[800],
93
+ foreground: colors.stone[400],
94
+ },
95
+ surface: {
96
+ DEFAULT: colors.stone[700],
97
+ foreground: colors.stone[300],
98
+ },
99
+ "surface-1": {
100
+ DEFAULT: colors.stone[600],
101
+ foreground: colors.stone[200],
102
+ },
103
+ },
104
+ single: {
105
+ foreground: colors.stone[50],
106
+ border: {
107
+ DEFAULT: colors.stone[700],
108
+ },
109
+ input: {
110
+ DEFAULT: colors.stone[900],
111
+ hover: colors.stone[800],
112
+ },
113
+ ring: `color-mix(in srgb, ${colors.lime[400]} 25%, transparent)`,
114
+ },
115
+ },
116
+ },
117
+ };
118
+ const theme = { light, dark };
119
+ export default theme;
@@ -0,0 +1,3 @@
1
+ import type { ThemeSchema } from "../types.js";
2
+ declare const theme: ThemeSchema;
3
+ export default theme;
@@ -0,0 +1,119 @@
1
+ import { colors } from "../colors.js";
2
+ // Monokai Pink — the iconic Monokai look with hot pink primary and purple accent
3
+ // Approximation of classic Monokai palette to Tailwind colors
4
+ const light = {
5
+ colors: {
6
+ intent: {
7
+ primary: {
8
+ DEFAULT: colors.rose[500],
9
+ foreground: colors.white,
10
+ },
11
+ accent: {
12
+ DEFAULT: colors.violet[400],
13
+ foreground: colors.white,
14
+ },
15
+ destructive: {
16
+ DEFAULT: colors.rose[600],
17
+ foreground: colors.white,
18
+ },
19
+ warning: {
20
+ DEFAULT: colors.amber[500],
21
+ foreground: colors.black,
22
+ },
23
+ success: {
24
+ DEFAULT: colors.emerald[600],
25
+ foreground: colors.white,
26
+ },
27
+ },
28
+ role: {
29
+ paired: {
30
+ background: {
31
+ DEFAULT: colors.stone[50],
32
+ foreground: colors.stone[900],
33
+ },
34
+ muted: {
35
+ DEFAULT: colors.stone[100],
36
+ foreground: colors.stone[500],
37
+ },
38
+ surface: {
39
+ DEFAULT: colors.stone[200],
40
+ foreground: colors.stone[900],
41
+ },
42
+ "surface-1": {
43
+ DEFAULT: colors.stone[300],
44
+ foreground: colors.stone[900],
45
+ },
46
+ },
47
+ single: {
48
+ foreground: colors.stone[900],
49
+ border: {
50
+ DEFAULT: colors.stone[300],
51
+ },
52
+ input: {
53
+ DEFAULT: colors.stone[50],
54
+ hover: colors.stone[100],
55
+ },
56
+ ring: `color-mix(in srgb, ${colors.rose[500]} 20%, transparent)`,
57
+ },
58
+ },
59
+ },
60
+ };
61
+ const dark = {
62
+ colors: {
63
+ intent: {
64
+ primary: {
65
+ DEFAULT: colors.rose[500],
66
+ foreground: colors.white,
67
+ },
68
+ accent: {
69
+ DEFAULT: colors.violet[400],
70
+ foreground: colors.white,
71
+ },
72
+ destructive: {
73
+ DEFAULT: colors.rose[500],
74
+ foreground: colors.white,
75
+ },
76
+ warning: {
77
+ DEFAULT: colors.amber[400],
78
+ foreground: colors.black,
79
+ },
80
+ success: {
81
+ DEFAULT: colors.emerald[500],
82
+ foreground: colors.white,
83
+ },
84
+ },
85
+ role: {
86
+ paired: {
87
+ background: {
88
+ DEFAULT: colors.stone[900],
89
+ foreground: colors.stone[50],
90
+ },
91
+ muted: {
92
+ DEFAULT: colors.stone[800],
93
+ foreground: colors.stone[400],
94
+ },
95
+ surface: {
96
+ DEFAULT: colors.stone[700],
97
+ foreground: colors.stone[300],
98
+ },
99
+ "surface-1": {
100
+ DEFAULT: colors.stone[600],
101
+ foreground: colors.stone[200],
102
+ },
103
+ },
104
+ single: {
105
+ foreground: colors.stone[50],
106
+ border: {
107
+ DEFAULT: colors.stone[700],
108
+ },
109
+ input: {
110
+ DEFAULT: colors.stone[900],
111
+ hover: colors.stone[800],
112
+ },
113
+ ring: `color-mix(in srgb, ${colors.rose[500]} 25%, transparent)`,
114
+ },
115
+ },
116
+ },
117
+ };
118
+ const theme = { light, dark };
119
+ export default theme;
@@ -0,0 +1,3 @@
1
+ import type { ThemeSchema } from "../types.js";
2
+ declare const theme: ThemeSchema;
3
+ export default theme;