@industry-theme/theme-editor-panel 0.1.3 → 0.1.5
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/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/panels/ThemeEditorPanel.d.ts +2 -2
- package/dist/panels/ThemeEditorPanel.d.ts.map +1 -1
- package/dist/panels.bundle.js +129 -108
- package/dist/panels.bundle.js.map +1 -1
- package/dist/types/index.d.ts +11 -0
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +3 -3
- package/dist/panels/ThemeEditorPanel.stories.d.ts +0 -60
- package/dist/panels/ThemeEditorPanel.stories.d.ts.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type { PanelDefinition } from '
|
|
1
|
+
import type { PanelDefinition } from '@principal-ade/panel-framework-core';
|
|
2
2
|
/**
|
|
3
3
|
* Export array of panel definitions.
|
|
4
4
|
* This is the required export for panel extensions.
|
|
5
5
|
*/
|
|
6
|
-
export declare const panels: PanelDefinition[];
|
|
6
|
+
export declare const panels: PanelDefinition<any, any>[];
|
|
7
7
|
/**
|
|
8
8
|
* Optional: Called once when the entire package is loaded.
|
|
9
9
|
* Use this for package-level initialization.
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AAG3E;;;GAGG;AACH,eAAO,MAAM,MAAM,EAAE,eAAe,CAAC,GAAG,EAAE,GAAG,CAAC,EA6B7C,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,aAAa,qBAGzB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,eAAe,qBAG3B,CAAC;AAGF,OAAO,EACL,gBAAgB,EAChB,wBAAwB,EACxB,iBAAiB,EACjB,cAAc,EACd,oBAAoB,EACpB,eAAe,GAChB,MAAM,SAAS,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type {
|
|
2
|
+
import type { ThemeEditorPanelPropsTyped } from '../types';
|
|
3
3
|
/**
|
|
4
4
|
* ThemeEditorPanel - A panel for customizing the Industry theme colors.
|
|
5
5
|
*
|
|
@@ -9,5 +9,5 @@ import type { PanelComponentProps } from '../types';
|
|
|
9
9
|
* - Reset individual colors to defaults
|
|
10
10
|
* - Save theme customizations
|
|
11
11
|
*/
|
|
12
|
-
export declare const ThemeEditorPanel: React.FC<
|
|
12
|
+
export declare const ThemeEditorPanel: React.FC<ThemeEditorPanelPropsTyped>;
|
|
13
13
|
//# sourceMappingURL=ThemeEditorPanel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThemeEditorPanel.d.ts","sourceRoot":"","sources":["../../src/panels/ThemeEditorPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAiB3D,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"ThemeEditorPanel.d.ts","sourceRoot":"","sources":["../../src/panels/ThemeEditorPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAiB3D,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAyb3D;;;;;;;;GAQG;AACH,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,0BAA0B,CA+BjE,CAAC"}
|
package/dist/panels.bundle.js
CHANGED
|
@@ -41,23 +41,24 @@ var defaultMarkdownTheme = {
|
|
|
41
41
|
primary: "#007acc",
|
|
42
42
|
secondary: "#005a9e",
|
|
43
43
|
accent: "#1a1a1a",
|
|
44
|
-
highlight: "
|
|
44
|
+
highlight: "#e6f4fb",
|
|
45
45
|
muted: "#f0f0f0",
|
|
46
46
|
success: "#28a745",
|
|
47
47
|
warning: "#ffc107",
|
|
48
48
|
error: "#dc3545",
|
|
49
49
|
info: "#17a2b8",
|
|
50
|
-
border: "
|
|
50
|
+
border: "#e6e6e6",
|
|
51
51
|
backgroundSecondary: "#f8f9fa",
|
|
52
52
|
backgroundTertiary: "#e9ecef",
|
|
53
|
-
backgroundLight: "
|
|
54
|
-
backgroundHover: "
|
|
53
|
+
backgroundLight: "#f7f7f7",
|
|
54
|
+
backgroundHover: "#f2f2f2",
|
|
55
55
|
surface: "#ffffff",
|
|
56
56
|
textSecondary: "#555555",
|
|
57
57
|
textTertiary: "#888888",
|
|
58
58
|
textMuted: "#aaaaaa",
|
|
59
|
-
highlightBg: "
|
|
60
|
-
highlightBorder: "
|
|
59
|
+
highlightBg: "#fff9c4",
|
|
60
|
+
highlightBorder: "#fff389",
|
|
61
|
+
textOnPrimary: "#ffffff"
|
|
61
62
|
},
|
|
62
63
|
buttons: {
|
|
63
64
|
primary: {
|
|
@@ -151,23 +152,24 @@ var defaultTerminalTheme = {
|
|
|
151
152
|
primary: "#ffc107",
|
|
152
153
|
secondary: "#ffb300",
|
|
153
154
|
accent: "#ffffff",
|
|
154
|
-
highlight: "
|
|
155
|
+
highlight: "#1a1301",
|
|
155
156
|
muted: "#1a1a1a",
|
|
156
157
|
success: "#4caf50",
|
|
157
158
|
warning: "#ff9800",
|
|
158
159
|
error: "#f44336",
|
|
159
160
|
info: "#2196f3",
|
|
160
|
-
border: "
|
|
161
|
+
border: "#332701",
|
|
161
162
|
backgroundSecondary: "#0a0a0a",
|
|
162
163
|
backgroundTertiary: "#111111",
|
|
163
|
-
backgroundLight: "
|
|
164
|
-
backgroundHover: "
|
|
164
|
+
backgroundLight: "#080600",
|
|
165
|
+
backgroundHover: "#0d0a00",
|
|
165
166
|
surface: "#050505",
|
|
166
167
|
textSecondary: "#e0e0e0",
|
|
167
168
|
textTertiary: "#b0b0b0",
|
|
168
169
|
textMuted: "#808080",
|
|
169
|
-
highlightBg: "
|
|
170
|
-
highlightBorder: "
|
|
170
|
+
highlightBg: "#332701",
|
|
171
|
+
highlightBorder: "#664d03",
|
|
172
|
+
textOnPrimary: "#000000"
|
|
171
173
|
},
|
|
172
174
|
buttons: {
|
|
173
175
|
primary: {
|
|
@@ -262,23 +264,24 @@ var defaultEditorTheme = {
|
|
|
262
264
|
primary: "#569cd6",
|
|
263
265
|
secondary: "#408ac9",
|
|
264
266
|
accent: "#c586c0",
|
|
265
|
-
highlight: "
|
|
267
|
+
highlight: "#242b30",
|
|
266
268
|
muted: "#2a2a2a",
|
|
267
269
|
success: "#6a9955",
|
|
268
270
|
warning: "#d18616",
|
|
269
271
|
error: "#f44747",
|
|
270
272
|
info: "#569cd6",
|
|
271
|
-
border: "
|
|
273
|
+
border: "#343434",
|
|
272
274
|
backgroundSecondary: "#252526",
|
|
273
275
|
backgroundTertiary: "#333333",
|
|
274
|
-
backgroundLight: "
|
|
275
|
-
backgroundHover: "
|
|
276
|
+
backgroundLight: "#252525",
|
|
277
|
+
backgroundHover: "#292929",
|
|
276
278
|
surface: "#252526",
|
|
277
279
|
textSecondary: "#cccccc",
|
|
278
280
|
textTertiary: "#999999",
|
|
279
281
|
textMuted: "#666666",
|
|
280
|
-
highlightBg: "
|
|
281
|
-
highlightBorder: "
|
|
282
|
+
highlightBg: "#4b4724",
|
|
283
|
+
highlightBorder: "#78702a",
|
|
284
|
+
textOnPrimary: "#ffffff"
|
|
282
285
|
},
|
|
283
286
|
buttons: {
|
|
284
287
|
primary: {
|
|
@@ -338,7 +341,7 @@ var landingPageTheme = {
|
|
|
338
341
|
heading: '-apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif',
|
|
339
342
|
monospace: '"SF Mono", Monaco, Inconsolata, "Fira Code", monospace'
|
|
340
343
|
},
|
|
341
|
-
fontSizes: [12,
|
|
344
|
+
fontSizes: [12, 14, 16, 18, 20, 24, 32, 48, 64, 96],
|
|
342
345
|
fontScale: 1,
|
|
343
346
|
fontWeights: {
|
|
344
347
|
body: 400,
|
|
@@ -372,23 +375,24 @@ var landingPageTheme = {
|
|
|
372
375
|
primary: "#00C2FF",
|
|
373
376
|
secondary: "#0098CC",
|
|
374
377
|
accent: "#0066FF",
|
|
375
|
-
highlight: "
|
|
378
|
+
highlight: "#001d26",
|
|
376
379
|
muted: "#1a1a1a",
|
|
377
380
|
success: "#4caf50",
|
|
378
381
|
warning: "#ff9800",
|
|
379
382
|
error: "#f44336",
|
|
380
383
|
info: "#2196f3",
|
|
381
|
-
border: "
|
|
384
|
+
border: "#002733",
|
|
382
385
|
backgroundSecondary: "#0a1628",
|
|
383
386
|
backgroundTertiary: "#0f1c2e",
|
|
384
|
-
backgroundLight: "
|
|
385
|
-
backgroundHover: "
|
|
386
|
-
surface: "
|
|
387
|
+
backgroundLight: "#00080a",
|
|
388
|
+
backgroundHover: "#00131a",
|
|
389
|
+
surface: "#000000",
|
|
387
390
|
textSecondary: "#d1d5db",
|
|
388
391
|
textTertiary: "#9ca3af",
|
|
389
392
|
textMuted: "#6b7280",
|
|
390
|
-
highlightBg: "
|
|
391
|
-
highlightBorder: "
|
|
393
|
+
highlightBg: "#403b0f",
|
|
394
|
+
highlightBorder: "#80761e",
|
|
395
|
+
textOnPrimary: "#000000"
|
|
392
396
|
},
|
|
393
397
|
buttons: {
|
|
394
398
|
primary: {
|
|
@@ -408,13 +412,13 @@ var landingPageTheme = {
|
|
|
408
412
|
bg: "transparent",
|
|
409
413
|
borderWidth: 1,
|
|
410
414
|
borderStyle: "solid",
|
|
411
|
-
borderColor: "
|
|
415
|
+
borderColor: "#003a4d",
|
|
412
416
|
padding: "8px 16px",
|
|
413
417
|
fontSize: 14,
|
|
414
418
|
fontWeight: 600,
|
|
415
419
|
cursor: "pointer",
|
|
416
420
|
"&:hover": {
|
|
417
|
-
bg: "
|
|
421
|
+
bg: "#00131a",
|
|
418
422
|
borderColor: "#00C2FF"
|
|
419
423
|
}
|
|
420
424
|
},
|
|
@@ -428,7 +432,7 @@ var landingPageTheme = {
|
|
|
428
432
|
cursor: "pointer",
|
|
429
433
|
"&:hover": {
|
|
430
434
|
color: "#00D9FF",
|
|
431
|
-
bg: "
|
|
435
|
+
bg: "#00131a"
|
|
432
436
|
}
|
|
433
437
|
}
|
|
434
438
|
},
|
|
@@ -458,9 +462,9 @@ var landingPageTheme = {
|
|
|
458
462
|
borderRadius: 4
|
|
459
463
|
},
|
|
460
464
|
secondary: {
|
|
461
|
-
bg: "
|
|
465
|
+
bg: "#000a0d",
|
|
462
466
|
border: "1px solid",
|
|
463
|
-
borderColor: "
|
|
467
|
+
borderColor: "#002733",
|
|
464
468
|
borderRadius: 4
|
|
465
469
|
}
|
|
466
470
|
}
|
|
@@ -473,23 +477,24 @@ var landingPageLightTheme = {
|
|
|
473
477
|
primary: "#0098CC",
|
|
474
478
|
secondary: "#00C2FF",
|
|
475
479
|
accent: "#0066FF",
|
|
476
|
-
highlight: "
|
|
480
|
+
highlight: "#e6f5fa",
|
|
477
481
|
muted: "#f0f0f0",
|
|
478
482
|
success: "#4caf50",
|
|
479
483
|
warning: "#ff9800",
|
|
480
484
|
error: "#f44336",
|
|
481
485
|
info: "#2196f3",
|
|
482
|
-
border: "
|
|
486
|
+
border: "#cceaf5",
|
|
483
487
|
backgroundSecondary: "#f8f9fa",
|
|
484
488
|
backgroundTertiary: "#e9ecef",
|
|
485
|
-
backgroundLight: "
|
|
486
|
-
backgroundHover: "
|
|
487
|
-
surface: "
|
|
489
|
+
backgroundLight: "#f7fcfd",
|
|
490
|
+
backgroundHover: "#f2fafc",
|
|
491
|
+
surface: "#ffffff",
|
|
488
492
|
textSecondary: "#555555",
|
|
489
493
|
textTertiary: "#888888",
|
|
490
494
|
textMuted: "#aaaaaa",
|
|
491
|
-
highlightBg: "
|
|
492
|
-
highlightBorder: "
|
|
495
|
+
highlightBg: "#fff9c4",
|
|
496
|
+
highlightBorder: "#fff389",
|
|
497
|
+
textOnPrimary: "#ffffff"
|
|
493
498
|
},
|
|
494
499
|
buttons: {
|
|
495
500
|
primary: {
|
|
@@ -509,13 +514,13 @@ var landingPageLightTheme = {
|
|
|
509
514
|
bg: "transparent",
|
|
510
515
|
borderWidth: 1,
|
|
511
516
|
borderStyle: "solid",
|
|
512
|
-
borderColor: "
|
|
517
|
+
borderColor: "#b2e0f0",
|
|
513
518
|
padding: "8px 16px",
|
|
514
519
|
fontSize: 14,
|
|
515
520
|
fontWeight: 600,
|
|
516
521
|
cursor: "pointer",
|
|
517
522
|
"&:hover": {
|
|
518
|
-
bg: "
|
|
523
|
+
bg: "#f2fafc",
|
|
519
524
|
borderColor: "#0098CC"
|
|
520
525
|
}
|
|
521
526
|
},
|
|
@@ -529,7 +534,7 @@ var landingPageLightTheme = {
|
|
|
529
534
|
cursor: "pointer",
|
|
530
535
|
"&:hover": {
|
|
531
536
|
color: "#007aa8",
|
|
532
|
-
bg: "
|
|
537
|
+
bg: "#f2fafc"
|
|
533
538
|
}
|
|
534
539
|
}
|
|
535
540
|
}
|
|
@@ -575,23 +580,24 @@ var regalTheme = {
|
|
|
575
580
|
primary: "#d4a574",
|
|
576
581
|
secondary: "#e0b584",
|
|
577
582
|
accent: "#c9b8a3",
|
|
578
|
-
highlight: "
|
|
583
|
+
highlight: "#363338",
|
|
579
584
|
muted: "#8b7968",
|
|
580
585
|
success: "#5c8a72",
|
|
581
586
|
warning: "#d4a574",
|
|
582
587
|
error: "#a85751",
|
|
583
588
|
info: "#d4a574",
|
|
584
|
-
border: "
|
|
589
|
+
border: "#3f3a3c",
|
|
585
590
|
backgroundSecondary: "#212738",
|
|
586
591
|
backgroundTertiary: "#2d3446",
|
|
587
|
-
backgroundLight: "
|
|
588
|
-
backgroundHover: "
|
|
592
|
+
backgroundLight: "#292a34",
|
|
593
|
+
backgroundHover: "#363338",
|
|
589
594
|
surface: "#212738",
|
|
590
595
|
textSecondary: "#c9b8a3",
|
|
591
596
|
textTertiary: "#8b7968",
|
|
592
597
|
textMuted: "#8b7968",
|
|
593
|
-
highlightBg: "
|
|
594
|
-
highlightBorder: "
|
|
598
|
+
highlightBg: "#534724",
|
|
599
|
+
highlightBorder: "#8c701a",
|
|
600
|
+
textOnPrimary: "#1a1f2e"
|
|
595
601
|
},
|
|
596
602
|
buttons: {
|
|
597
603
|
primary: {
|
|
@@ -684,52 +690,53 @@ var terminalTheme = {
|
|
|
684
690
|
zIndices: [0, 1, 10, 20, 30, 40, 50],
|
|
685
691
|
colors: {
|
|
686
692
|
text: "#e4e4e4",
|
|
687
|
-
background: "
|
|
693
|
+
background: "#0a0a0a",
|
|
688
694
|
primary: "#66b3ff",
|
|
689
695
|
secondary: "#80c4ff",
|
|
690
696
|
accent: "#66ff99",
|
|
691
|
-
highlight: "
|
|
692
|
-
muted: "
|
|
697
|
+
highlight: "#18283d",
|
|
698
|
+
muted: "#1a1a1a",
|
|
693
699
|
success: "#66ff99",
|
|
694
700
|
warning: "#ffcc66",
|
|
695
701
|
error: "#ff6666",
|
|
696
702
|
info: "#66b3ff",
|
|
697
|
-
border: "
|
|
698
|
-
backgroundSecondary: "
|
|
699
|
-
backgroundTertiary: "
|
|
700
|
-
backgroundLight: "
|
|
701
|
-
backgroundHover: "
|
|
702
|
-
surface: "
|
|
703
|
-
textSecondary: "
|
|
704
|
-
textTertiary: "
|
|
705
|
-
textMuted: "
|
|
706
|
-
highlightBg: "
|
|
707
|
-
highlightBorder: "
|
|
703
|
+
border: "#1a1a1a",
|
|
704
|
+
backgroundSecondary: "#0f0f0f",
|
|
705
|
+
backgroundTertiary: "#141414",
|
|
706
|
+
backgroundLight: "#0d0d0d",
|
|
707
|
+
backgroundHover: "#0d1520",
|
|
708
|
+
surface: "#0f0f0f",
|
|
709
|
+
textSecondary: "#b3b3b3",
|
|
710
|
+
textTertiary: "#808080",
|
|
711
|
+
textMuted: "#666666",
|
|
712
|
+
highlightBg: "#40391e",
|
|
713
|
+
highlightBorder: "#7f7530",
|
|
714
|
+
textOnPrimary: "#ffffff"
|
|
708
715
|
},
|
|
709
716
|
modes: {
|
|
710
717
|
light: {
|
|
711
718
|
text: "#1a1a1a",
|
|
712
|
-
background: "
|
|
719
|
+
background: "#ffffff",
|
|
713
720
|
primary: "#0066cc",
|
|
714
721
|
secondary: "#0052a3",
|
|
715
722
|
accent: "#00cc88",
|
|
716
|
-
highlight: "
|
|
717
|
-
muted: "
|
|
723
|
+
highlight: "#e6f2ff",
|
|
724
|
+
muted: "#f5f5f5",
|
|
718
725
|
success: "#00cc88",
|
|
719
726
|
warning: "#ffaa00",
|
|
720
727
|
error: "#ff3333",
|
|
721
728
|
info: "#0066cc",
|
|
722
|
-
border: "
|
|
723
|
-
backgroundSecondary: "
|
|
724
|
-
backgroundTertiary: "
|
|
725
|
-
backgroundLight: "
|
|
726
|
-
backgroundHover: "
|
|
727
|
-
surface: "
|
|
728
|
-
textSecondary: "
|
|
729
|
-
textTertiary: "
|
|
730
|
-
textMuted: "
|
|
731
|
-
highlightBg: "
|
|
732
|
-
highlightBorder: "
|
|
729
|
+
border: "#e6e6e6",
|
|
730
|
+
backgroundSecondary: "#fafafa",
|
|
731
|
+
backgroundTertiary: "#f5f5f5",
|
|
732
|
+
backgroundLight: "#fafafa",
|
|
733
|
+
backgroundHover: "#f5f9fd",
|
|
734
|
+
surface: "#ffffff",
|
|
735
|
+
textSecondary: "#666666",
|
|
736
|
+
textTertiary: "#999999",
|
|
737
|
+
textMuted: "#b3b3b3",
|
|
738
|
+
highlightBg: "#fff9c4",
|
|
739
|
+
highlightBorder: "#fff389"
|
|
733
740
|
}
|
|
734
741
|
},
|
|
735
742
|
buttons: {
|
|
@@ -831,23 +838,24 @@ var matrixTheme = {
|
|
|
831
838
|
primary: "#00d835",
|
|
832
839
|
secondary: "#00a828",
|
|
833
840
|
accent: "#00d835",
|
|
834
|
-
highlight: "
|
|
841
|
+
highlight: "#002008",
|
|
835
842
|
muted: "#0a0a0a",
|
|
836
843
|
success: "#00d835",
|
|
837
844
|
warning: "#d4a000",
|
|
838
845
|
error: "#d63333",
|
|
839
846
|
info: "#00a8d6",
|
|
840
|
-
border: "
|
|
847
|
+
border: "#002b0b",
|
|
841
848
|
backgroundSecondary: "#0a0a0a",
|
|
842
849
|
backgroundTertiary: "#111111",
|
|
843
|
-
backgroundLight: "
|
|
844
|
-
backgroundHover: "
|
|
850
|
+
backgroundLight: "#000602",
|
|
851
|
+
backgroundHover: "#001104",
|
|
845
852
|
surface: "#050505",
|
|
846
853
|
textSecondary: "#808080",
|
|
847
854
|
textTertiary: "#606060",
|
|
848
855
|
textMuted: "#484848",
|
|
849
|
-
highlightBg: "
|
|
850
|
-
highlightBorder: "
|
|
856
|
+
highlightBg: "#00360d",
|
|
857
|
+
highlightBorder: "#006c1b",
|
|
858
|
+
textOnPrimary: "#000000"
|
|
851
859
|
},
|
|
852
860
|
buttons: {
|
|
853
861
|
primary: {
|
|
@@ -948,23 +956,24 @@ var matrixMinimalTheme = {
|
|
|
948
956
|
primary: "#b8b8b8",
|
|
949
957
|
secondary: "#909090",
|
|
950
958
|
accent: "#00d835",
|
|
951
|
-
highlight: "
|
|
959
|
+
highlight: "#001605",
|
|
952
960
|
muted: "#0a0a0a",
|
|
953
961
|
success: "#00d835",
|
|
954
962
|
warning: "#d4a000",
|
|
955
963
|
error: "#d63333",
|
|
956
964
|
info: "#00a8d6",
|
|
957
|
-
border: "
|
|
965
|
+
border: "#121212",
|
|
958
966
|
backgroundSecondary: "#0a0a0a",
|
|
959
967
|
backgroundTertiary: "#111111",
|
|
960
|
-
backgroundLight: "
|
|
961
|
-
backgroundHover: "
|
|
968
|
+
backgroundLight: "#040404",
|
|
969
|
+
backgroundHover: "#000b03",
|
|
962
970
|
surface: "#050505",
|
|
963
971
|
textSecondary: "#808080",
|
|
964
972
|
textTertiary: "#606060",
|
|
965
973
|
textMuted: "#484848",
|
|
966
|
-
highlightBg: "
|
|
967
|
-
highlightBorder: "
|
|
974
|
+
highlightBg: "#002b0b",
|
|
975
|
+
highlightBorder: "#005615",
|
|
976
|
+
textOnPrimary: "#000000"
|
|
968
977
|
},
|
|
969
978
|
buttons: {
|
|
970
979
|
primary: {
|
|
@@ -1065,23 +1074,24 @@ var slateTheme = {
|
|
|
1065
1074
|
primary: "#d1d5db",
|
|
1066
1075
|
secondary: "#6b7280",
|
|
1067
1076
|
accent: "#f59e0b",
|
|
1068
|
-
highlight: "
|
|
1077
|
+
highlight: "#353838",
|
|
1069
1078
|
muted: "#2d3134",
|
|
1070
1079
|
success: "#10b981",
|
|
1071
1080
|
warning: "#f59e0b",
|
|
1072
1081
|
error: "#ef4444",
|
|
1073
1082
|
info: "#3b82f6",
|
|
1074
|
-
border: "
|
|
1083
|
+
border: "#2d3034",
|
|
1075
1084
|
backgroundSecondary: "#22252a",
|
|
1076
1085
|
backgroundTertiary: "#2d3134",
|
|
1077
|
-
backgroundLight: "
|
|
1078
|
-
backgroundHover: "
|
|
1086
|
+
backgroundLight: "#202325",
|
|
1087
|
+
backgroundHover: "#27292c",
|
|
1079
1088
|
surface: "#1f2124",
|
|
1080
1089
|
textSecondary: "#e5e7eb",
|
|
1081
1090
|
textTertiary: "#6b7280",
|
|
1082
1091
|
textMuted: "#4b5563",
|
|
1083
|
-
highlightBg: "
|
|
1084
|
-
highlightBorder: "
|
|
1092
|
+
highlightBg: "#513c19",
|
|
1093
|
+
highlightBorder: "#875d14",
|
|
1094
|
+
textOnPrimary: "#1a1c1e"
|
|
1085
1095
|
},
|
|
1086
1096
|
buttons: {
|
|
1087
1097
|
primary: {
|
|
@@ -1854,19 +1864,27 @@ const ThemeEditorPanelContent = ({
|
|
|
1854
1864
|
"div",
|
|
1855
1865
|
{
|
|
1856
1866
|
style: {
|
|
1857
|
-
|
|
1867
|
+
height: "40px",
|
|
1868
|
+
minHeight: "40px",
|
|
1869
|
+
maxHeight: "40px",
|
|
1870
|
+
paddingLeft: "12px",
|
|
1871
|
+
paddingRight: "12px",
|
|
1858
1872
|
borderBottom: `1px solid ${theme2.colors.border}`,
|
|
1859
|
-
flex: "0 0
|
|
1873
|
+
flex: "0 0 40px",
|
|
1874
|
+
display: "flex",
|
|
1875
|
+
alignItems: "center",
|
|
1876
|
+
boxSizing: "border-box"
|
|
1860
1877
|
},
|
|
1861
|
-
children: /* @__PURE__ */ jsxs("div", { style: { display: "flex", alignItems: "center", gap: "
|
|
1862
|
-
/* @__PURE__ */ jsxs("div", { style: { display: "flex", alignItems: "center", gap: "
|
|
1863
|
-
/* @__PURE__ */ jsx(Palette, { size:
|
|
1878
|
+
children: /* @__PURE__ */ jsxs("div", { style: { display: "flex", alignItems: "center", gap: "8px", justifyContent: "space-between", width: "100%" }, children: [
|
|
1879
|
+
/* @__PURE__ */ jsxs("div", { style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
|
|
1880
|
+
/* @__PURE__ */ jsx(Palette, { size: 18, color: theme2.colors.primary }),
|
|
1864
1881
|
/* @__PURE__ */ jsx(
|
|
1865
1882
|
"h2",
|
|
1866
1883
|
{
|
|
1867
1884
|
style: {
|
|
1868
1885
|
margin: 0,
|
|
1869
|
-
fontSize: theme2.fontSizes[
|
|
1886
|
+
fontSize: theme2.fontSizes[2],
|
|
1887
|
+
fontWeight: 600,
|
|
1870
1888
|
color: theme2.colors.text
|
|
1871
1889
|
},
|
|
1872
1890
|
children: "Theme Editor"
|
|
@@ -1880,20 +1898,21 @@ const ThemeEditorPanelContent = ({
|
|
|
1880
1898
|
{
|
|
1881
1899
|
onClick: () => setPresetDropdownOpen(!presetDropdownOpen),
|
|
1882
1900
|
style: {
|
|
1883
|
-
padding: "8px
|
|
1884
|
-
borderRadius: "
|
|
1901
|
+
padding: "4px 8px",
|
|
1902
|
+
borderRadius: "4px",
|
|
1885
1903
|
border: `1px solid ${theme2.colors.border}`,
|
|
1886
1904
|
backgroundColor: presetDropdownOpen ? theme2.colors.backgroundSecondary : theme2.colors.background,
|
|
1887
1905
|
color: theme2.colors.text,
|
|
1888
1906
|
cursor: "pointer",
|
|
1889
1907
|
display: "flex",
|
|
1890
1908
|
alignItems: "center",
|
|
1891
|
-
gap: "
|
|
1909
|
+
gap: "6px",
|
|
1892
1910
|
fontSize: theme2.fontSizes[1],
|
|
1893
1911
|
fontFamily: theme2.fonts.body,
|
|
1894
1912
|
transition: "all 0.15s",
|
|
1895
|
-
minWidth: "
|
|
1896
|
-
justifyContent: "space-between"
|
|
1913
|
+
minWidth: "120px",
|
|
1914
|
+
justifyContent: "space-between",
|
|
1915
|
+
height: "28px"
|
|
1897
1916
|
},
|
|
1898
1917
|
onMouseEnter: (e) => {
|
|
1899
1918
|
if (!presetDropdownOpen) {
|
|
@@ -2014,8 +2033,8 @@ const ThemeEditorPanelContent = ({
|
|
|
2014
2033
|
onClick: () => setShowHelp(!showHelp),
|
|
2015
2034
|
title: "Help",
|
|
2016
2035
|
style: {
|
|
2017
|
-
padding: "
|
|
2018
|
-
borderRadius: "
|
|
2036
|
+
padding: "4px",
|
|
2037
|
+
borderRadius: "4px",
|
|
2019
2038
|
border: `1px solid ${theme2.colors.border}`,
|
|
2020
2039
|
backgroundColor: showHelp ? theme2.colors.backgroundSecondary : theme2.colors.background,
|
|
2021
2040
|
color: theme2.colors.text,
|
|
@@ -2023,7 +2042,9 @@ const ThemeEditorPanelContent = ({
|
|
|
2023
2042
|
display: "flex",
|
|
2024
2043
|
alignItems: "center",
|
|
2025
2044
|
justifyContent: "center",
|
|
2026
|
-
transition: "all 0.15s"
|
|
2045
|
+
transition: "all 0.15s",
|
|
2046
|
+
width: "28px",
|
|
2047
|
+
height: "28px"
|
|
2027
2048
|
},
|
|
2028
2049
|
onMouseEnter: (e) => {
|
|
2029
2050
|
if (!showHelp) {
|
|
@@ -2035,7 +2056,7 @@ const ThemeEditorPanelContent = ({
|
|
|
2035
2056
|
e.currentTarget.style.backgroundColor = theme2.colors.background;
|
|
2036
2057
|
}
|
|
2037
2058
|
},
|
|
2038
|
-
children: /* @__PURE__ */ jsx(CircleQuestionMark, { size:
|
|
2059
|
+
children: /* @__PURE__ */ jsx(CircleQuestionMark, { size: 16 })
|
|
2039
2060
|
}
|
|
2040
2061
|
)
|
|
2041
2062
|
] })
|