@datalayer/primer-addons 1.0.35 → 1.0.38

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 (61) hide show
  1. package/README.md +20 -2
  2. package/lib/components/appearance/AppearanceControls.js +5 -0
  3. package/lib/reactor/index.d.ts +1 -1
  4. package/lib/reactor/index.js +1 -1
  5. package/lib/reactor/page-layout/PageLayout.d.ts +6 -0
  6. package/lib/reactor/page-layout/PageLayout.js +26 -0
  7. package/lib/theme/DatalayerThemeProvider.js +5 -2
  8. package/lib/theme/colors/loopColors.js +2 -0
  9. package/lib/theme/css/createThemeCSSVars.d.ts +5 -0
  10. package/lib/theme/css/createThemeCSSVars.js +2 -0
  11. package/lib/theme/index.d.ts +1 -0
  12. package/lib/theme/index.js +1 -0
  13. package/lib/theme/loopEyes.d.ts +84 -0
  14. package/lib/theme/loopEyes.js +82 -0
  15. package/lib/theme/portable.d.ts +16 -0
  16. package/lib/theme/portable.js +20 -0
  17. package/lib/theme/portableTheme.d.ts +1 -1
  18. package/lib/theme/portableTheme.js +2 -2
  19. package/lib/theme/themeRegistry.d.ts +3 -75
  20. package/lib/theme/themeRegistry.js +38 -509
  21. package/lib/theme/themeTokens.d.ts +101 -0
  22. package/lib/theme/themeTokens.js +494 -0
  23. package/lib/theme/themes/datalayerTheme.d.ts +2 -9
  24. package/lib/theme/themes/datalayerTheme.js +8 -236
  25. package/lib/theme/themes/datalayerThemeStyles.d.ts +2 -0
  26. package/lib/theme/themes/datalayerThemeStyles.js +234 -0
  27. package/lib/theme/themes/earthTheme.d.ts +2 -9
  28. package/lib/theme/themes/earthTheme.js +8 -235
  29. package/lib/theme/themes/earthThemeStyles.d.ts +2 -0
  30. package/lib/theme/themes/earthThemeStyles.js +233 -0
  31. package/lib/theme/themes/ivoryTheme.d.ts +2 -9
  32. package/lib/theme/themes/ivoryTheme.js +8 -249
  33. package/lib/theme/themes/ivoryThemeStyles.d.ts +2 -0
  34. package/lib/theme/themes/ivoryThemeStyles.js +247 -0
  35. package/lib/theme/themes/loopTheme.d.ts +13 -144
  36. package/lib/theme/themes/loopTheme.js +20 -513
  37. package/lib/theme/themes/loopThemeStyles.d.ts +135 -0
  38. package/lib/theme/themes/loopThemeStyles.js +521 -0
  39. package/lib/theme/themes/lovelyTheme.d.ts +2 -9
  40. package/lib/theme/themes/lovelyTheme.js +8 -231
  41. package/lib/theme/themes/lovelyThemeStyles.d.ts +2 -0
  42. package/lib/theme/themes/lovelyThemeStyles.js +229 -0
  43. package/lib/theme/themes/matrixTheme.d.ts +2 -9
  44. package/lib/theme/themes/matrixTheme.js +8 -237
  45. package/lib/theme/themes/matrixThemeStyles.d.ts +2 -0
  46. package/lib/theme/themes/matrixThemeStyles.js +235 -0
  47. package/lib/theme/themes/sandTheme.d.ts +2 -9
  48. package/lib/theme/themes/sandTheme.js +8 -248
  49. package/lib/theme/themes/sandThemeStyles.d.ts +2 -0
  50. package/lib/theme/themes/sandThemeStyles.js +246 -0
  51. package/lib/theme/themes/spatialTheme.d.ts +2 -9
  52. package/lib/theme/themes/spatialTheme.js +8 -231
  53. package/lib/theme/themes/spatialThemeStyles.d.ts +2 -0
  54. package/lib/theme/themes/spatialThemeStyles.js +229 -0
  55. package/lib/theme/themes/sunTheme.d.ts +2 -9
  56. package/lib/theme/themes/sunTheme.js +8 -249
  57. package/lib/theme/themes/sunThemeStyles.d.ts +2 -0
  58. package/lib/theme/themes/sunThemeStyles.js +247 -0
  59. package/lib/utils/Portals.d.ts +7 -0
  60. package/lib/utils/Portals.js +7 -0
  61. package/package.json +1 -1
@@ -1,243 +1,16 @@
1
1
  /*
2
- * Copyright (c) 2023-2025 Datalayer, Inc.
2
+ * Copyright (c) 2023-2026 Datalayer, Inc.
3
3
  * Distributed under the terms of the Modified BSD License.
4
4
  */
5
5
  /**
6
- * Earth Theme for Primer React.
7
- *
8
- * Ocean blues (sea), forest greens (plants), golden yellows (sun) —
9
- * the Blue Planet, inspired by satellite observations of Earth.
10
- * Theming is applied via **CSS custom-property overrides**.
6
+ * The earth theme for Primer React: its styles, from `./earthThemeStyles`,
7
+ * and the Primer theme object. Theming is done through CSS custom
8
+ * properties, so the object is Primer's unmodified default, kept for
9
+ * `<ThemeProvider theme={…}>`. Code that needs the tokens without Primer
10
+ * React (a native app) imports the styles module instead.
11
11
  */
12
12
  import { theme as primerTheme } from '@primer/react';
13
- import { earthColors } from '../colors/earthColors';
14
- import { buildThemeStyles } from '../css/createThemeCSSVars';
15
- /* ── Light-mode colour definitions ───────────────────────────────────── */
16
- const earthLight = {
17
- canvas: {
18
- default: earthColors.white,
19
- subtle: '#EBF0F4',
20
- },
21
- fg: {
22
- default: '#1A2332',
23
- muted: earthColors.gray,
24
- onEmphasis: earthColors.white,
25
- },
26
- accent: {
27
- fg: earthColors.oceanText,
28
- emphasis: earthColors.oceanBrand,
29
- muted: earthColors.oceanAccent,
30
- subtle: earthColors.oceanTint,
31
- },
32
- success: {
33
- fg: earthColors.forestBrand,
34
- emphasis: earthColors.forestBrand,
35
- muted: earthColors.forestAccent,
36
- },
37
- attention: {
38
- fg: earthColors.attentionBrand,
39
- emphasis: earthColors.attentionAccent,
40
- muted: earthColors.attentionBrand,
41
- subtle: earthColors.attentionTint,
42
- },
43
- danger: {
44
- fg: earthColors.dangerBrand,
45
- emphasis: earthColors.dangerBrand,
46
- muted: earthColors.dangerAccent,
47
- subtle: earthColors.dangerTint,
48
- },
49
- severe: {
50
- fg: earthColors.severeBrand,
51
- emphasis: earthColors.severeBrand,
52
- muted: earthColors.severeAccent,
53
- subtle: earthColors.severeTint,
54
- },
55
- done: {
56
- fg: earthColors.doneBrand,
57
- emphasis: earthColors.doneBrand,
58
- muted: earthColors.doneAccent,
59
- subtle: earthColors.doneTint,
60
- },
61
- border: {
62
- default: '#C1D0DD',
63
- muted: '#DAE4ED',
64
- },
65
- btn: {
66
- text: '#1A2332',
67
- bg: earthColors.white,
68
- border: '#A8BDD0',
69
- hoverBg: earthColors.oceanTint,
70
- hoverBorder: earthColors.gray,
71
- activeBg: earthColors.oceanTint,
72
- activeBorder: earthColors.gray,
73
- selectedBg: earthColors.white,
74
- counterBg: earthColors.gray,
75
- primary: {
76
- text: earthColors.white,
77
- bg: earthColors.oceanText,
78
- border: earthColors.oceanText,
79
- hoverBg: earthColors.oceanHover,
80
- hoverBorder: earthColors.oceanHover,
81
- selectedBg: earthColors.oceanHover,
82
- disabledText: 'rgba(255, 255, 255, 0.8)',
83
- disabledBg: '#7DB8D8',
84
- disabledBorder: '#7DB8D8',
85
- icon: earthColors.white,
86
- counterBg: 'rgba(0, 0, 0, 0.2)',
87
- },
88
- outline: {
89
- text: earthColors.oceanText,
90
- hoverText: earthColors.white,
91
- hoverBg: earthColors.oceanText,
92
- hoverBorder: earthColors.oceanText,
93
- hoverCounterBg: 'rgba(255, 255, 255, 0.2)',
94
- selectedText: earthColors.white,
95
- selectedBg: earthColors.oceanHover,
96
- selectedBorder: earthColors.oceanHover,
97
- disabledText: earthColors.gray,
98
- disabledBg: earthColors.oceanTint,
99
- disabledCounterBg: 'rgba(0, 0, 0, 0.05)',
100
- counterBg: 'rgba(0, 0, 0, 0.05)',
101
- counterFg: earthColors.oceanText,
102
- hoverCounterFg: earthColors.white,
103
- disabledCounterFg: earthColors.gray,
104
- },
105
- danger: {
106
- text: '#d32f2f',
107
- hoverText: earthColors.white,
108
- hoverBg: '#d32f2f',
109
- hoverBorder: '#d32f2f',
110
- hoverCounterBg: 'rgba(255, 255, 255, 0.2)',
111
- selectedText: earthColors.white,
112
- selectedBg: '#b71c1c',
113
- selectedBorder: '#b71c1c',
114
- disabledText: 'rgba(211, 47, 47, 0.5)',
115
- disabledBg: earthColors.oceanTint,
116
- disabledCounterBg: 'rgba(211, 47, 47, 0.05)',
117
- counterBg: 'rgba(211, 47, 47, 0.1)',
118
- counterFg: '#d32f2f',
119
- hoverCounterFg: earthColors.white,
120
- disabledCounterFg: 'rgba(211, 47, 47, 0.5)',
121
- icon: '#d32f2f',
122
- },
123
- },
124
- };
125
- /* ── Dark-mode colour definitions ────────────────────────────────────── */
126
- const earthDark = {
127
- canvas: {
128
- default: earthColors.black,
129
- subtle: '#0E1D30',
130
- },
131
- fg: {
132
- default: '#D4E4DC',
133
- muted: '#8A9BA8',
134
- onEmphasis: earthColors.white,
135
- },
136
- accent: {
137
- fg: earthColors.oceanAccent,
138
- emphasis: earthColors.oceanBright,
139
- muted: earthColors.oceanBrand,
140
- subtle: '#0C2440',
141
- },
142
- success: {
143
- fg: earthColors.forestAccent,
144
- emphasis: earthColors.forestAccent,
145
- muted: earthColors.forestBrand,
146
- subtle: '#0C2D18',
147
- },
148
- attention: {
149
- fg: '#facc15',
150
- emphasis: '#ca8a04',
151
- muted: earthColors.attentionAccent,
152
- subtle: '#352700',
153
- },
154
- danger: {
155
- fg: '#f97066',
156
- emphasis: '#b42318',
157
- muted: earthColors.dangerAccent,
158
- subtle: '#3a1514',
159
- },
160
- severe: {
161
- fg: '#fbbf24',
162
- emphasis: '#b45309',
163
- muted: earthColors.severeAccent,
164
- subtle: '#342100',
165
- },
166
- done: {
167
- fg: '#60a5fa',
168
- emphasis: '#1d4ed8',
169
- muted: earthColors.doneAccent,
170
- subtle: '#112545',
171
- },
172
- btn: {
173
- text: '#D4E4DC',
174
- bg: '#162236',
175
- border: 'rgba(212, 228, 220, 0.12)',
176
- hoverBg: '#1E3048',
177
- hoverBorder: '#8A9BA8',
178
- activeBg: '#162236',
179
- activeBorder: '#6B7C88',
180
- selectedBg: '#0E1D30',
181
- counterBg: '#1E3048',
182
- primary: {
183
- text: earthColors.white,
184
- bg: earthColors.oceanAccent,
185
- border: 'rgba(212, 228, 220, 0.12)',
186
- hoverBg: earthColors.oceanBright,
187
- hoverBorder: 'rgba(212, 228, 220, 0.12)',
188
- selectedBg: earthColors.oceanBright,
189
- disabledText: 'rgba(255, 255, 255, 0.5)',
190
- disabledBg: 'rgba(3, 105, 161, 0.35)',
191
- disabledBorder: 'rgba(3, 105, 161, 0.2)',
192
- icon: earthColors.white,
193
- counterBg: 'rgba(0, 0, 0, 0.2)',
194
- },
195
- outline: {
196
- text: earthColors.oceanAccent,
197
- hoverText: earthColors.white,
198
- hoverBg: earthColors.oceanAccent,
199
- hoverBorder: earthColors.oceanAccent,
200
- hoverCounterBg: 'rgba(255, 255, 255, 0.2)',
201
- selectedText: earthColors.white,
202
- selectedBg: earthColors.oceanBright,
203
- selectedBorder: earthColors.oceanBright,
204
- disabledText: 'rgba(14, 165, 233, 0.5)',
205
- disabledBg: 'rgba(14, 165, 233, 0.1)',
206
- disabledCounterBg: 'rgba(14, 165, 233, 0.05)',
207
- counterBg: 'rgba(14, 165, 233, 0.1)',
208
- counterFg: earthColors.oceanAccent,
209
- hoverCounterFg: earthColors.white,
210
- disabledCounterFg: 'rgba(14, 165, 233, 0.5)',
211
- },
212
- danger: {
213
- text: '#f85149',
214
- hoverText: earthColors.white,
215
- hoverBg: '#da3633',
216
- hoverBorder: '#f85149',
217
- hoverCounterBg: 'rgba(255, 255, 255, 0.2)',
218
- selectedText: earthColors.white,
219
- selectedBg: '#b62324',
220
- selectedBorder: '#ff7b72',
221
- disabledText: 'rgba(248, 81, 73, 0.5)',
222
- disabledBg: 'rgba(248, 81, 73, 0.1)',
223
- disabledCounterBg: 'rgba(248, 81, 73, 0.05)',
224
- counterBg: 'rgba(248, 81, 73, 0.1)',
225
- counterFg: '#f85149',
226
- hoverCounterFg: earthColors.white,
227
- disabledCounterFg: 'rgba(248, 81, 73, 0.5)',
228
- icon: '#f85149',
229
- },
230
- },
231
- };
232
- /* ── Exports ─────────────────────────────────────────────────────────── */
233
- /**
234
- * The Primer theme object.
235
- *
236
- * Since theming is now done entirely via CSS custom properties
237
- * (see `earthThemeStyles`), this is just the unmodified
238
- * default Primer theme kept for backward compatibility.
239
- */
13
+ export * from './earthThemeStyles';
14
+ /** The Primer theme object: Primer's default. */
240
15
  export const earthTheme = primerTheme;
241
- /** Comprehensive Primer CSS-variable overrides for light & dark mode. */
242
- export const earthThemeStyles = buildThemeStyles(earthLight, earthDark);
243
16
  export default earthTheme;
@@ -0,0 +1,2 @@
1
+ /** Comprehensive Primer CSS-variable overrides for light & dark mode. */
2
+ export declare const earthThemeStyles: import("../css/createThemeCSSVars").ThemeStyles;
@@ -0,0 +1,233 @@
1
+ /*
2
+ * Copyright (c) 2023-2025 Datalayer, Inc.
3
+ * Distributed under the terms of the Modified BSD License.
4
+ */
5
+ /**
6
+ * Earth Theme for Primer React.
7
+ *
8
+ * Ocean blues (sea), forest greens (plants), golden yellows (sun) —
9
+ * the Blue Planet, inspired by satellite observations of Earth.
10
+ * Theming is applied via **CSS custom-property overrides**.
11
+ */
12
+ import { earthColors } from '../colors/earthColors';
13
+ import { buildThemeStyles } from '../css/createThemeCSSVars';
14
+ /* ── Light-mode colour definitions ───────────────────────────────────── */
15
+ const earthLight = {
16
+ canvas: {
17
+ default: earthColors.white,
18
+ subtle: '#EBF0F4',
19
+ },
20
+ fg: {
21
+ default: '#1A2332',
22
+ muted: earthColors.gray,
23
+ onEmphasis: earthColors.white,
24
+ },
25
+ accent: {
26
+ fg: earthColors.oceanText,
27
+ emphasis: earthColors.oceanBrand,
28
+ muted: earthColors.oceanAccent,
29
+ subtle: earthColors.oceanTint,
30
+ },
31
+ success: {
32
+ fg: earthColors.forestBrand,
33
+ emphasis: earthColors.forestBrand,
34
+ muted: earthColors.forestAccent,
35
+ },
36
+ attention: {
37
+ fg: earthColors.attentionBrand,
38
+ emphasis: earthColors.attentionAccent,
39
+ muted: earthColors.attentionBrand,
40
+ subtle: earthColors.attentionTint,
41
+ },
42
+ danger: {
43
+ fg: earthColors.dangerBrand,
44
+ emphasis: earthColors.dangerBrand,
45
+ muted: earthColors.dangerAccent,
46
+ subtle: earthColors.dangerTint,
47
+ },
48
+ severe: {
49
+ fg: earthColors.severeBrand,
50
+ emphasis: earthColors.severeBrand,
51
+ muted: earthColors.severeAccent,
52
+ subtle: earthColors.severeTint,
53
+ },
54
+ done: {
55
+ fg: earthColors.doneBrand,
56
+ emphasis: earthColors.doneBrand,
57
+ muted: earthColors.doneAccent,
58
+ subtle: earthColors.doneTint,
59
+ },
60
+ border: {
61
+ default: '#C1D0DD',
62
+ muted: '#DAE4ED',
63
+ },
64
+ btn: {
65
+ text: '#1A2332',
66
+ bg: earthColors.white,
67
+ border: '#A8BDD0',
68
+ hoverBg: earthColors.oceanTint,
69
+ hoverBorder: earthColors.gray,
70
+ activeBg: earthColors.oceanTint,
71
+ activeBorder: earthColors.gray,
72
+ selectedBg: earthColors.white,
73
+ counterBg: earthColors.gray,
74
+ primary: {
75
+ text: earthColors.white,
76
+ bg: earthColors.oceanText,
77
+ border: earthColors.oceanText,
78
+ hoverBg: earthColors.oceanHover,
79
+ hoverBorder: earthColors.oceanHover,
80
+ selectedBg: earthColors.oceanHover,
81
+ disabledText: 'rgba(255, 255, 255, 0.8)',
82
+ disabledBg: '#7DB8D8',
83
+ disabledBorder: '#7DB8D8',
84
+ icon: earthColors.white,
85
+ counterBg: 'rgba(0, 0, 0, 0.2)',
86
+ },
87
+ outline: {
88
+ text: earthColors.oceanText,
89
+ hoverText: earthColors.white,
90
+ hoverBg: earthColors.oceanText,
91
+ hoverBorder: earthColors.oceanText,
92
+ hoverCounterBg: 'rgba(255, 255, 255, 0.2)',
93
+ selectedText: earthColors.white,
94
+ selectedBg: earthColors.oceanHover,
95
+ selectedBorder: earthColors.oceanHover,
96
+ disabledText: earthColors.gray,
97
+ disabledBg: earthColors.oceanTint,
98
+ disabledCounterBg: 'rgba(0, 0, 0, 0.05)',
99
+ counterBg: 'rgba(0, 0, 0, 0.05)',
100
+ counterFg: earthColors.oceanText,
101
+ hoverCounterFg: earthColors.white,
102
+ disabledCounterFg: earthColors.gray,
103
+ },
104
+ danger: {
105
+ text: '#d32f2f',
106
+ hoverText: earthColors.white,
107
+ hoverBg: '#d32f2f',
108
+ hoverBorder: '#d32f2f',
109
+ hoverCounterBg: 'rgba(255, 255, 255, 0.2)',
110
+ selectedText: earthColors.white,
111
+ selectedBg: '#b71c1c',
112
+ selectedBorder: '#b71c1c',
113
+ disabledText: 'rgba(211, 47, 47, 0.5)',
114
+ disabledBg: earthColors.oceanTint,
115
+ disabledCounterBg: 'rgba(211, 47, 47, 0.05)',
116
+ counterBg: 'rgba(211, 47, 47, 0.1)',
117
+ counterFg: '#d32f2f',
118
+ hoverCounterFg: earthColors.white,
119
+ disabledCounterFg: 'rgba(211, 47, 47, 0.5)',
120
+ icon: '#d32f2f',
121
+ },
122
+ },
123
+ };
124
+ /* ── Dark-mode colour definitions ────────────────────────────────────── */
125
+ const earthDark = {
126
+ canvas: {
127
+ default: earthColors.black,
128
+ subtle: '#0E1D30',
129
+ },
130
+ fg: {
131
+ default: '#D4E4DC',
132
+ muted: '#8A9BA8',
133
+ onEmphasis: earthColors.white,
134
+ },
135
+ accent: {
136
+ fg: earthColors.oceanAccent,
137
+ emphasis: earthColors.oceanBright,
138
+ muted: earthColors.oceanBrand,
139
+ subtle: '#0C2440',
140
+ },
141
+ success: {
142
+ fg: earthColors.forestAccent,
143
+ emphasis: earthColors.forestAccent,
144
+ muted: earthColors.forestBrand,
145
+ subtle: '#0C2D18',
146
+ },
147
+ attention: {
148
+ fg: '#facc15',
149
+ emphasis: '#ca8a04',
150
+ muted: earthColors.attentionAccent,
151
+ subtle: '#352700',
152
+ },
153
+ danger: {
154
+ fg: '#f97066',
155
+ emphasis: '#b42318',
156
+ muted: earthColors.dangerAccent,
157
+ subtle: '#3a1514',
158
+ },
159
+ severe: {
160
+ fg: '#fbbf24',
161
+ emphasis: '#b45309',
162
+ muted: earthColors.severeAccent,
163
+ subtle: '#342100',
164
+ },
165
+ done: {
166
+ fg: '#60a5fa',
167
+ emphasis: '#1d4ed8',
168
+ muted: earthColors.doneAccent,
169
+ subtle: '#112545',
170
+ },
171
+ btn: {
172
+ text: '#D4E4DC',
173
+ bg: '#162236',
174
+ border: 'rgba(212, 228, 220, 0.12)',
175
+ hoverBg: '#1E3048',
176
+ hoverBorder: '#8A9BA8',
177
+ activeBg: '#162236',
178
+ activeBorder: '#6B7C88',
179
+ selectedBg: '#0E1D30',
180
+ counterBg: '#1E3048',
181
+ primary: {
182
+ text: earthColors.white,
183
+ bg: earthColors.oceanAccent,
184
+ border: 'rgba(212, 228, 220, 0.12)',
185
+ hoverBg: earthColors.oceanBright,
186
+ hoverBorder: 'rgba(212, 228, 220, 0.12)',
187
+ selectedBg: earthColors.oceanBright,
188
+ disabledText: 'rgba(255, 255, 255, 0.5)',
189
+ disabledBg: 'rgba(3, 105, 161, 0.35)',
190
+ disabledBorder: 'rgba(3, 105, 161, 0.2)',
191
+ icon: earthColors.white,
192
+ counterBg: 'rgba(0, 0, 0, 0.2)',
193
+ },
194
+ outline: {
195
+ text: earthColors.oceanAccent,
196
+ hoverText: earthColors.white,
197
+ hoverBg: earthColors.oceanAccent,
198
+ hoverBorder: earthColors.oceanAccent,
199
+ hoverCounterBg: 'rgba(255, 255, 255, 0.2)',
200
+ selectedText: earthColors.white,
201
+ selectedBg: earthColors.oceanBright,
202
+ selectedBorder: earthColors.oceanBright,
203
+ disabledText: 'rgba(14, 165, 233, 0.5)',
204
+ disabledBg: 'rgba(14, 165, 233, 0.1)',
205
+ disabledCounterBg: 'rgba(14, 165, 233, 0.05)',
206
+ counterBg: 'rgba(14, 165, 233, 0.1)',
207
+ counterFg: earthColors.oceanAccent,
208
+ hoverCounterFg: earthColors.white,
209
+ disabledCounterFg: 'rgba(14, 165, 233, 0.5)',
210
+ },
211
+ danger: {
212
+ text: '#f85149',
213
+ hoverText: earthColors.white,
214
+ hoverBg: '#da3633',
215
+ hoverBorder: '#f85149',
216
+ hoverCounterBg: 'rgba(255, 255, 255, 0.2)',
217
+ selectedText: earthColors.white,
218
+ selectedBg: '#b62324',
219
+ selectedBorder: '#ff7b72',
220
+ disabledText: 'rgba(248, 81, 73, 0.5)',
221
+ disabledBg: 'rgba(248, 81, 73, 0.1)',
222
+ disabledCounterBg: 'rgba(248, 81, 73, 0.05)',
223
+ counterBg: 'rgba(248, 81, 73, 0.1)',
224
+ counterFg: '#f85149',
225
+ hoverCounterFg: earthColors.white,
226
+ disabledCounterFg: 'rgba(248, 81, 73, 0.5)',
227
+ icon: '#f85149',
228
+ },
229
+ },
230
+ };
231
+ /* ── Exports ─────────────────────────────────────────────────────────── */
232
+ /** Comprehensive Primer CSS-variable overrides for light & dark mode. */
233
+ export const earthThemeStyles = buildThemeStyles(earthLight, earthDark);
@@ -1,10 +1,5 @@
1
- /**
2
- * The Primer theme object.
3
- *
4
- * Since theming is done entirely via CSS custom properties
5
- * (see `ivoryThemeStyles`), this is just the unmodified default Primer
6
- * theme kept for backward compatibility.
7
- */
1
+ export * from './ivoryThemeStyles';
2
+ /** The Primer theme object: Primer's default. */
8
3
  export declare const ivoryTheme: {
9
4
  animation: {
10
5
  easeOutCubic: string;
@@ -1086,6 +1081,4 @@ export declare const ivoryTheme: {
1086
1081
  }>;
1087
1082
  }>;
1088
1083
  };
1089
- /** Comprehensive Primer CSS-variable overrides for light & dark mode. */
1090
- export declare const ivoryThemeStyles: import("../css/createThemeCSSVars").ThemeStyles;
1091
1084
  export default ivoryTheme;