Skip to content

Commit 2526427

Browse files
committed
refactor: reduce built-in themes to 4 (Default Light/Dark, Dracula, Nord)
1 parent abd57e8 commit 2526427

5 files changed

Lines changed: 524 additions & 5 deletions

File tree

Lines changed: 131 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,131 @@
1+
{
2+
"id": "tablepro.default-dark",
3+
"name": "Default Dark",
4+
"version": 1,
5+
"appearance": "dark",
6+
"author": "TablePro",
7+
"editor": {
8+
"background": "#1E1E1E",
9+
"text": "#D4D4D4",
10+
"cursor": "#007AFF",
11+
"currentLineHighlight": "#007AFF14",
12+
"selection": "#264F78",
13+
"lineNumber": "#858585",
14+
"invisibles": "#4D4D4D",
15+
"syntax": {
16+
"keyword": "#569CD6",
17+
"string": "#CE9178",
18+
"number": "#B5CEA8",
19+
"comment": "#6A9955",
20+
"null": "#FF8C00",
21+
"operator": "#D4D4D4",
22+
"function": "#DCDCAA",
23+
"type": "#4EC9B0"
24+
}
25+
},
26+
"dataGrid": {
27+
"background": "#1E1E1E",
28+
"text": "#D4D4D4",
29+
"alternateRow": "#FFFFFF08",
30+
"nullValue": "#858585",
31+
"boolTrue": "#32D74B",
32+
"boolFalse": "#FF453A",
33+
"rowNumber": "#858585",
34+
"modified": "#FFD60A4D",
35+
"inserted": "#32D74B26",
36+
"deleted": "#FF453A26",
37+
"deletedText": "#FF453A80",
38+
"focusBorder": "#007AFF"
39+
},
40+
"ui": {
41+
"windowBackground": "#1E1E1E",
42+
"controlBackground": "#2D2D2D",
43+
"cardBackground": "#252526",
44+
"border": "#3C3C3C",
45+
"primaryText": "#D4D4D4",
46+
"secondaryText": "#A0A0A0",
47+
"tertiaryText": "#6D6D6D",
48+
"accentColor": null,
49+
"selectionBackground": "#264F78",
50+
"hoverBackground": "#007AFF0D",
51+
"status": {
52+
"success": "#32D74B",
53+
"warning": "#FF9F0A",
54+
"error": "#FF453A",
55+
"info": "#0A84FF"
56+
},
57+
"badges": {
58+
"background": "#3C3C3C",
59+
"primaryKey": "#0A84FF26",
60+
"autoIncrement": "#BF5AF226"
61+
}
62+
},
63+
"sidebar": {
64+
"background": "#252526",
65+
"text": "#CCCCCC",
66+
"selectedItem": "#094771",
67+
"hover": "#2A2D2E",
68+
"sectionHeader": "#858585"
69+
},
70+
"toolbar": {
71+
"secondaryText": "#A0A0A0",
72+
"tertiaryText": "#6D6D6D"
73+
},
74+
"fonts": {
75+
"editorFontFamily": "System Mono",
76+
"editorFontSize": 13,
77+
"dataGridFontFamily": "System Mono",
78+
"dataGridFontSize": 13
79+
},
80+
"spacing": {
81+
"xxxs": 2,
82+
"xxs": 4,
83+
"xs": 8,
84+
"sm": 12,
85+
"md": 16,
86+
"lg": 20,
87+
"xl": 24,
88+
"listRowInsets": {
89+
"top": 4,
90+
"leading": 8,
91+
"bottom": 4,
92+
"trailing": 8
93+
}
94+
},
95+
"typography": {
96+
"tiny": 9,
97+
"caption": 10,
98+
"small": 11,
99+
"medium": 12,
100+
"body": 13,
101+
"title3": 15,
102+
"title2": 17
103+
},
104+
"iconSizes": {
105+
"tinyDot": 6,
106+
"statusDot": 8,
107+
"small": 12,
108+
"default": 14,
109+
"medium": 16,
110+
"large": 20,
111+
"extraLarge": 24,
112+
"huge": 32,
113+
"massive": 64
114+
},
115+
"cornerRadius": {
116+
"small": 4,
117+
"medium": 6,
118+
"large": 8
119+
},
120+
"rowHeights": {
121+
"compact": 24,
122+
"table": 32,
123+
"comfortable": 44
124+
},
125+
"animations": {
126+
"fast": 0.1,
127+
"normal": 0.15,
128+
"smooth": 0.2,
129+
"slow": 0.3
130+
}
131+
}
Lines changed: 131 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,131 @@
1+
{
2+
"id": "tablepro.default-light",
3+
"name": "Default Light",
4+
"version": 1,
5+
"appearance": "light",
6+
"author": "TablePro",
7+
"editor": {
8+
"background": "#FFFFFF",
9+
"text": "#000000",
10+
"cursor": "#007AFF",
11+
"currentLineHighlight": "#007AFF14",
12+
"selection": "#B4D8FD",
13+
"lineNumber": "#8E8E93",
14+
"invisibles": "#C7C7CC",
15+
"syntax": {
16+
"keyword": "#0A49A5",
17+
"string": "#C41A16",
18+
"number": "#6C36A9",
19+
"comment": "#007400",
20+
"null": "#C55B00",
21+
"operator": "#000000",
22+
"function": "#326D74",
23+
"type": "#3F6E74"
24+
}
25+
},
26+
"dataGrid": {
27+
"background": "#FFFFFF",
28+
"text": "#000000",
29+
"alternateRow": "#F5F5F5",
30+
"nullValue": "#8E8E93",
31+
"boolTrue": "#248A3D",
32+
"boolFalse": "#D70015",
33+
"rowNumber": "#8E8E93",
34+
"modified": "#FFD60A4D",
35+
"inserted": "#34C7594D",
36+
"deleted": "#FF3B304D",
37+
"deletedText": "#FF3B3080",
38+
"focusBorder": "#007AFF"
39+
},
40+
"ui": {
41+
"windowBackground": "#ECECEC",
42+
"controlBackground": "#FFFFFF",
43+
"cardBackground": "#F5F5F5",
44+
"border": "#D5D5D5",
45+
"primaryText": "#000000",
46+
"secondaryText": "#8E8E93",
47+
"tertiaryText": "#C7C7CC",
48+
"accentColor": null,
49+
"selectionBackground": "#B4D8FD",
50+
"hoverBackground": "#007AFF0D",
51+
"status": {
52+
"success": "#248A3D",
53+
"warning": "#C55B00",
54+
"error": "#D70015",
55+
"info": "#007AFF"
56+
},
57+
"badges": {
58+
"background": "#E5E5EA",
59+
"primaryKey": "#007AFF26",
60+
"autoIncrement": "#AF52DE26"
61+
}
62+
},
63+
"sidebar": {
64+
"background": "#F5F5F5",
65+
"text": "#000000",
66+
"selectedItem": "#007AFF33",
67+
"hover": "#0000000A",
68+
"sectionHeader": "#8E8E93"
69+
},
70+
"toolbar": {
71+
"secondaryText": "#8E8E93",
72+
"tertiaryText": "#C7C7CC"
73+
},
74+
"fonts": {
75+
"editorFontFamily": "System Mono",
76+
"editorFontSize": 13,
77+
"dataGridFontFamily": "System Mono",
78+
"dataGridFontSize": 13
79+
},
80+
"spacing": {
81+
"xxxs": 2,
82+
"xxs": 4,
83+
"xs": 8,
84+
"sm": 12,
85+
"md": 16,
86+
"lg": 20,
87+
"xl": 24,
88+
"listRowInsets": {
89+
"top": 4,
90+
"leading": 8,
91+
"bottom": 4,
92+
"trailing": 8
93+
}
94+
},
95+
"typography": {
96+
"tiny": 9,
97+
"caption": 10,
98+
"small": 11,
99+
"medium": 12,
100+
"body": 13,
101+
"title3": 15,
102+
"title2": 17
103+
},
104+
"iconSizes": {
105+
"tinyDot": 6,
106+
"statusDot": 8,
107+
"small": 12,
108+
"default": 14,
109+
"medium": 16,
110+
"large": 20,
111+
"extraLarge": 24,
112+
"huge": 32,
113+
"massive": 64
114+
},
115+
"cornerRadius": {
116+
"small": 4,
117+
"medium": 6,
118+
"large": 8
119+
},
120+
"rowHeights": {
121+
"compact": 24,
122+
"table": 32,
123+
"comfortable": 44
124+
},
125+
"animations": {
126+
"fast": 0.1,
127+
"normal": 0.15,
128+
"smooth": 0.2,
129+
"slow": 0.3
130+
}
131+
}
Lines changed: 131 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,131 @@
1+
{
2+
"id": "tablepro.dracula",
3+
"name": "Dracula",
4+
"version": 1,
5+
"appearance": "dark",
6+
"author": "TablePro",
7+
"editor": {
8+
"background": "#282A36",
9+
"text": "#F8F8F2",
10+
"cursor": "#F8F8F2",
11+
"currentLineHighlight": "#44475A",
12+
"selection": "#44475A",
13+
"lineNumber": "#6272A4",
14+
"invisibles": "#424450",
15+
"syntax": {
16+
"keyword": "#FF79C6",
17+
"string": "#F1FA8C",
18+
"number": "#BD93F9",
19+
"comment": "#6272A4",
20+
"null": "#FFB86C",
21+
"operator": "#FF79C6",
22+
"function": "#50FA7B",
23+
"type": "#8BE9FD"
24+
}
25+
},
26+
"dataGrid": {
27+
"background": "#282A36",
28+
"text": "#F8F8F2",
29+
"alternateRow": "#21222C",
30+
"nullValue": "#6272A4",
31+
"boolTrue": "#50FA7B",
32+
"boolFalse": "#FF5555",
33+
"rowNumber": "#6272A4",
34+
"modified": "#FFB86C4D",
35+
"inserted": "#50FA7B26",
36+
"deleted": "#FF555526",
37+
"deletedText": "#FF555580",
38+
"focusBorder": "#BD93F9"
39+
},
40+
"ui": {
41+
"windowBackground": "#282A36",
42+
"controlBackground": "#343746",
43+
"cardBackground": "#21222C",
44+
"border": "#44475A",
45+
"primaryText": "#F8F8F2",
46+
"secondaryText": "#BFC0C9",
47+
"tertiaryText": "#6272A4",
48+
"accentColor": "#BD93F9",
49+
"selectionBackground": "#44475A",
50+
"hoverBackground": "#44475A80",
51+
"status": {
52+
"success": "#50FA7B",
53+
"warning": "#FFB86C",
54+
"error": "#FF5555",
55+
"info": "#8BE9FD"
56+
},
57+
"badges": {
58+
"background": "#44475A",
59+
"primaryKey": "#8BE9FD26",
60+
"autoIncrement": "#BD93F926"
61+
}
62+
},
63+
"sidebar": {
64+
"background": "#21222C",
65+
"text": "#F8F8F2",
66+
"selectedItem": "#44475A",
67+
"hover": "#343746",
68+
"sectionHeader": "#6272A4"
69+
},
70+
"toolbar": {
71+
"secondaryText": "#BFC0C9",
72+
"tertiaryText": "#6272A4"
73+
},
74+
"fonts": {
75+
"editorFontFamily": "SF Mono",
76+
"editorFontSize": 13,
77+
"dataGridFontFamily": "SF Mono",
78+
"dataGridFontSize": 13
79+
},
80+
"spacing": {
81+
"xxxs": 2,
82+
"xxs": 4,
83+
"xs": 8,
84+
"sm": 12,
85+
"md": 16,
86+
"lg": 20,
87+
"xl": 24,
88+
"listRowInsets": {
89+
"top": 4,
90+
"leading": 8,
91+
"bottom": 4,
92+
"trailing": 8
93+
}
94+
},
95+
"typography": {
96+
"tiny": 9,
97+
"caption": 10,
98+
"small": 11,
99+
"medium": 12,
100+
"body": 13,
101+
"title3": 15,
102+
"title2": 17
103+
},
104+
"iconSizes": {
105+
"tinyDot": 6,
106+
"statusDot": 8,
107+
"small": 12,
108+
"default": 14,
109+
"medium": 16,
110+
"large": 20,
111+
"extraLarge": 24,
112+
"huge": 32,
113+
"massive": 64
114+
},
115+
"cornerRadius": {
116+
"small": 4,
117+
"medium": 6,
118+
"large": 8
119+
},
120+
"rowHeights": {
121+
"compact": 24,
122+
"table": 32,
123+
"comfortable": 44
124+
},
125+
"animations": {
126+
"fast": 0.1,
127+
"normal": 0.15,
128+
"smooth": 0.2,
129+
"slow": 0.3
130+
}
131+
}

0 commit comments

Comments
 (0)