sunrize 2.4.1 → 2.5.1

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 (49) hide show
  1. package/package.json +7 -7
  2. package/src/Application/Application.js +22 -2
  3. package/src/Application/Dashboard.js +21 -19
  4. package/src/Application/DataStorage.js +10 -37
  5. package/src/Application/Document.js +149 -22
  6. package/src/Application/Footer.js +62 -16
  7. package/src/Application/Hierarchy.js +1 -1
  8. package/src/Application/Interface.js +1 -1
  9. package/src/Application/Sidebar.js +12 -9
  10. package/src/Application/Tabs.js +79 -11
  11. package/src/Controls/Splitter.js +146 -19
  12. package/src/Controls/Tabs.js +17 -12
  13. package/src/Editors/AnimationEditor.js +83 -59
  14. package/src/Editors/AnimationMemberList.js +37 -6
  15. package/src/Editors/BrowserFrame.js +17 -10
  16. package/src/Editors/Console.js +12 -14
  17. package/src/Editors/NodeList.js +35 -0
  18. package/src/Editors/OutlineEditor.js +24 -22
  19. package/src/Editors/OutlineView.js +85 -61
  20. package/src/Editors/Panel.js +6 -3
  21. package/src/Editors/RouteGraph.js +22 -65
  22. package/src/Editors/SceneProperties.js +9 -5
  23. package/src/Editors/ScriptEditor.js +37 -23
  24. package/src/Editors/VideoRecorder.js +145 -0
  25. package/src/Tools/Core/X3DBaseTool.js +12 -11
  26. package/src/Tools/Core/X3DImportedNodeInstanceTool.js +52 -0
  27. package/src/Tools/Core/X3DPrototypeInstanceTool.js +6 -6
  28. package/src/Tools.js +0 -3
  29. package/src/Undo/Editor.js +19 -16
  30. package/src/Undo/UndoManager.js +1 -1
  31. package/src/assets/fonts/Roboto/OFL.txt +93 -0
  32. package/src/assets/fonts/Roboto/README.txt +118 -0
  33. package/src/assets/fonts/Roboto/Roboto-Italic-VariableFont_wdth,wght.ttf +0 -0
  34. package/src/assets/fonts/Roboto/Roboto-VariableFont_wdth,wght.ttf +0 -0
  35. package/src/assets/fonts/Roboto_Mono/OFL.txt +93 -0
  36. package/src/assets/fonts/Roboto_Mono/README.txt +77 -0
  37. package/src/assets/fonts/Roboto_Mono/RobotoMono-Italic-VariableFont_wght.ttf +0 -0
  38. package/src/assets/fonts/Roboto_Mono/RobotoMono-VariableFont_wght.ttf +0 -0
  39. package/src/assets/html/application.html +38 -13
  40. package/src/assets/html/window.html +6 -7
  41. package/src/assets/themes/default.css +186 -176
  42. package/src/assets/themes/{system-colors.css → definitions.css} +155 -173
  43. package/src/assets/themes/fonts.css +45 -0
  44. package/src/assets/themes/media-template.css +3 -2
  45. package/src/assets/themes/media.css +3 -2
  46. package/src/assets/themes/prompt-template.css +5 -1
  47. package/src/assets/themes/prompt.css +5 -1
  48. package/src/assets/html/application-template.html +0 -164
  49. package/src/assets/html/window-template.html +0 -39
@@ -1,86 +1,147 @@
1
1
  @charset "utf-8";
2
2
 
3
- @media (prefers-color-scheme: light) {
4
- :root {
5
- /* Colors */
3
+ :root {
4
+ /* System Colors */
5
+
6
+ --system-red: rgb(255, 56, 60);
7
+ --system-orange: rgb(255, 141, 40);
8
+ --system-yellow: rgb(255, 204, 0);
9
+ --system-green: rgb(52, 199, 89);
10
+ --system-mint: rgb(0, 200, 179);
11
+ --system-teal: rgb(0, 195, 208);
12
+ --system-cyan: rgb(0, 192, 232);
13
+ --system-blue: rgb(0, 136, 255);
14
+ --system-indigo: rgb(88, 86, 214);
15
+ --system-purple: rgb(203, 48, 224);
16
+ --system-pink: rgb(255, 45, 85);
17
+ --system-brown: rgb(172, 127, 94);
18
+
19
+ --system-gray0: rgb(72, 72, 77);
20
+ --system-gray1: rgb(142, 142, 147);
21
+ --system-gray2: rgb(174, 174, 178);
22
+ --system-gray3: rgb(199, 199, 204);
23
+ --system-gray4: rgb(209, 209, 214);
24
+ --system-gray5: rgb(229, 229, 234);
25
+ --system-gray6: rgb(242, 242, 247);
26
+ --system-gray7: rgb(249, 249, 255);
27
+ --system-gray8: rgb(255, 255, 255);
6
28
 
7
- --system-red: rgb(255, 56, 60);
8
- --system-orange: rgb(255, 141, 40);
9
- --system-yellow: rgb(255, 204, 0);
10
- --system-green: rgb(52, 199, 89);
11
- --system-mint: rgb(0, 200, 179);
12
- --system-teal: rgb(0, 195, 208);
13
- --system-cyan: rgb(0, 192, 232);
14
- --system-blue: rgb(0, 136, 255);
15
- --system-indigo: rgb(88, 86, 214);
16
- --system-purple: rgb(203, 48, 224);
17
- --system-pink: rgb(255, 45, 85);
18
- --system-brown: rgb(172, 127, 94);
19
-
20
- --system-gray0: rgb(72, 72, 77);
21
- --system-gray1: rgb(142, 142, 147);
22
- --system-gray2: rgb(174, 174, 178);
23
- --system-gray3: rgb(199, 199, 204);
24
- --system-gray4: rgb(209, 209, 214);
25
- --system-gray5: rgb(229, 229, 234);
26
- --system-gray6: rgb(242, 242, 247);
27
- --system-gray7: rgb(249, 249, 255);
28
- --system-gray8: rgb(255, 255, 255);
29
-
30
- --selection-color: black;
31
- --selection-background-color: rgb(246, 196, 197);
32
- --selection-range: rgba(0, 0, 0, 0.05);
33
- --scrollbar-thumb-color: rgba(0, 0, 0, 0.2);
34
- --scrollbar-thumb-color-hover: rgba(0, 0, 0, 0.4);
29
+ /* Colors */
35
30
 
36
- /* Filter Colors */
31
+ --background-color: var(--system-gray6);
32
+ --text-color: var(--system-gray0);
33
+ --highlight-color: black;
34
+ --text-disabled: var(--system-gray2);
35
+ --border-color: var(--system-gray3);
36
+ --expander-color: var(--system-gray1);
37
+ --accent-color: var(--system-red);
38
+ --separator-color: var(--system-gray3);
37
39
 
38
- --filter-system-red: invert(31%) sepia(82%) saturate(3000%) hue-rotate(344deg) brightness(115%) contrast(105%);
39
- --filter-system-gray0: invert(36%) sepia(72%) saturate(11%) hue-rotate(222deg) brightness(95%) contrast(90%);
40
- --filter-system-gray1: invert(63%) sepia(4%) saturate(334%) hue-rotate(201deg) brightness(89%) contrast(86%);
40
+ --selection-color: black;
41
+ --selection-background-color: rgb(246, 196, 197);
42
+ --selection-range: rgba(0, 0, 0, 0.05);
43
+ --scrollbar-thumb-color: rgba(0, 0, 0, 0.2);
44
+ --scrollbar-thumb-color-hover: rgba(0, 0, 0, 0.4);
41
45
 
42
- /* Special Colors */
46
+ --secondary-toolbar-color: hsl(214, 35%, 90%);
47
+ --sidebar-background-color: hsl(211, 46%, 86%);
48
+ --tint-color1: rgba(255, 255, 255, 0.5);
49
+ --tint-color2: white;
43
50
 
44
- --secondary-toolbar-color: hsl(214, 25%, 90%);
45
- --secondary-toolbar-transparent: hsla(214, 25%, 90%, 0);
46
- --sidebar-background-color: hsl(211, 36%, 86%);
47
- --tint-color1: rgba(255, 255, 255, 0.4);
48
- --tint-color2: rgba(255, 255, 255, 0.6);
51
+ --tabs-background-color: white;
52
+ --tabs-text-color: var(--text-color);
53
+ --tabs-highlight-color: var(--accent-color);
54
+ --tabs-height: 26px;
55
+ --window-tabs-height: 34px;
49
56
 
50
- /* TweakPanel colors */
57
+ --topbar-height: 8px;
58
+ --toolbar-outer-radius: 15px;
59
+ --toolbar-inner-radius: calc(var(--toolbar-outer-radius) / 3 * 2);
60
+ --toolbar-size: 30px;
61
+ --icon-size: 23px;
62
+ --medium-icon-size: 18px;
63
+ --large-icon-size: 28px;
51
64
 
52
- --tp-base-border-radius: 12px;
53
- --tp-container-background-color: white;
54
- --tp-container-background-color-active: hsl(230, 7%, 90%);
55
- --tp-container-background-color-focus: hsl(230, 7%, 90%);
56
- --tp-container-background-color-hover: hsl(230, 7%, 95%);
57
- --tp-base-background-color: var(--system-gray7);
58
- --tp-base-shadow-color: hsla(0, 0%, 0%, 0.2);
59
- --tp-container-foreground-color: hsl(230, 7%, 17%);
60
- --tp-groove-foreground-color: hsl(230, 7%, 17%);
61
- --tp-input-background-color: hsl(230, 7%, 92%);
62
- --tp-input-background-color-active: hsl(230, 7%, 94%);
63
- --tp-input-background-color-focus: hsl(230, 7%, 94%);
64
- --tp-input-background-color-hover: hsl(230, 7%, 94%);
65
- --tp-input-foreground-color: hsl(230, 7%, 17%);
66
- --tp-button-background-color: var(--tp-input-background-color);
67
- --tp-button-background-color-active: var(--tp-input-background-color-active);
68
- --tp-button-background-color-focus: var(--tp-input-background-color-focus);
69
- --tp-button-background-color-hover: var(--tp-input-background-color-hover);
70
- --tp-button-foreground-color: var(--tp-input-foreground-color);
71
- --tp-label-foreground-color: hsl(230, 7%, 17%);
72
- --tp-monitor-background-color: var(--tp-input-background-color);
73
- --tp-monitor-background-color-readonly: transparent;
74
- --tp-monitor-background-color-active: var(--tp-input-background-color-active);
75
- --tp-monitor-background-color-focus: var(--tp-input-background-color-focus);
76
- --tp-monitor-background-color-hover: var(--tp-input-background-color-hover);
77
- --tp-monitor-foreground-color: var(--tp-input-foreground-color);
78
- }
65
+ /* Filter Colors */
66
+
67
+ --filter-text-color: var(--filter-system-gray0);
68
+ --filter-highlight-color: var(--filter-system-grayZ);
69
+ --filter-accent-color: var(--filter-system-red);
70
+
71
+ --filter-system-red: invert(31%) sepia(82%) saturate(3000%) hue-rotate(344deg) brightness(115%) contrast(105%);
72
+ --filter-system-gray0: invert(36%) sepia(72%) saturate(11%) hue-rotate(222deg) brightness(95%) contrast(90%);
73
+ --filter-system-gray1: invert(63%) sepia(4%) saturate(334%) hue-rotate(201deg) brightness(89%) contrast(86%);
74
+
75
+ /* Fonts */
76
+
77
+ --sans-serif: Roboto, sans-serif;
78
+ --monospace: Roboto Mono, monospace;
79
+ --font-size: 10pt;
80
+ --large-font-size: 18pt;
81
+ --small-font-size: 8pt;
82
+
83
+ /*Qtip */
84
+
85
+ --qtip-shadow: var(--tool-shadow);
86
+ --qtip-border-radius: 12px;
87
+
88
+ --qtip-background-color: white;
89
+ --qtip-border: 1px solid var(--system-gray1);
90
+ --qtip-highlight-color: black;
91
+
92
+ /* TweakPanel colors */
93
+
94
+ --tp-base-border-radius: 12px;
95
+ --tp-container-background-color: white;
96
+ --tp-container-background-color-active: white;
97
+ --tp-container-background-color-focus: white;
98
+ --tp-container-background-color-hover: white;
99
+ --tp-base-background-color: var(--system-gray7);
100
+ --tp-base-shadow-color: hsla(0, 0%, 0%, 0.2);
101
+ --tp-container-foreground-color: hsl(230, 7%, 17%);
102
+ --tp-groove-foreground-color: hsl(230, 7%, 17%);
103
+ --tp-input-background-color: hsl(230, 7%, 92%);
104
+ --tp-input-background-color-active: hsl(230, 7%, 94%);
105
+ --tp-input-background-color-focus: hsl(230, 7%, 94%);
106
+ --tp-input-background-color-hover: hsl(230, 7%, 94%);
107
+ --tp-input-foreground-color: hsl(230, 7%, 17%);
108
+ --tp-button-background-color: var(--tp-input-background-color);
109
+ --tp-button-background-color-active: var(--tp-input-background-color-active);
110
+ --tp-button-background-color-focus: var(--tp-input-background-color-focus);
111
+ --tp-button-background-color-hover: var(--tp-input-background-color-hover);
112
+ --tp-button-foreground-color: var(--tp-input-foreground-color);
113
+ --tp-label-foreground-color: hsl(230, 7%, 17%);
114
+ --tp-monitor-background-color: var(--tp-input-background-color);
115
+ --tp-monitor-background-color-readonly: transparent;
116
+ --tp-monitor-background-color-active: var(--tp-input-background-color-active);
117
+ --tp-monitor-background-color-focus: var(--tp-input-background-color-focus);
118
+ --tp-monitor-background-color-hover: var(--tp-input-background-color-hover);
119
+ --tp-monitor-foreground-color: var(--tp-input-foreground-color);
120
+
121
+ /* Tools */
122
+
123
+ --tool-backdrop-filter: blur(25px);
124
+ --tool-background-color: color-mix(in srgb, var(--sidebar-background-color), transparent 20%);
125
+ --tool-border-radius: 12px;
126
+ --tool-border: 1px solid var(--system-gray8);
127
+ --tool-shadow: 3px 3px 9px rgba(0, 0, 0, 0.6);
128
+
129
+ --background-disabled: repeating-linear-gradient(
130
+ -45deg,
131
+ var(--tint-color1),
132
+ var(--tint-color1) 10px,
133
+ transparent 10px,
134
+ transparent 20px
135
+ );
136
+
137
+ /* Route Graph */
138
+
139
+ --route-graph-background-color: white;
79
140
  }
80
141
 
81
142
  @media (prefers-color-scheme: dark) {
82
143
  :root {
83
- /* Colors */
144
+ /* System Colors */
84
145
 
85
146
  --system-red: rgb(255, 66, 69);
86
147
  --system-orange: rgb(255, 146, 48);
@@ -111,20 +172,35 @@
111
172
  --scrollbar-thumb-color: rgba(255, 255, 255, 0.2);
112
173
  --scrollbar-thumb-color-hover: rgba(255, 255, 255, 0.4);
113
174
 
175
+ /* Colors */
176
+
177
+ --text-color: var(--system-gray1);
178
+ --highlight-color: var(--system-gray0);
179
+ --border-color: var(--system-gray8);
180
+ --expander-color: var(--system-gray8);
181
+ --filter-text-color: var(--filter-system-gray1);
182
+ --filter-highlight-color: var(--filter-system-gray0);
183
+
184
+ --secondary-toolbar-color: hsl(220, 9%, 17%);
185
+ --sidebar-background-color: hsl(217, 20%, 21%);
186
+ --tint-color1: rgba(0, 0, 0, 0.2);
187
+ --tint-color2: rgba(0, 0, 0, 0.4);
188
+
189
+ --tabs-background-color: var(--system-gray5);
190
+ --tabs-text-color: var(--text-color);
191
+ --tabs-highlight-color: var(--accent-color);
192
+
114
193
  /* Filter Colors */
115
194
 
116
195
  --filter-system-red: invert(69%) sepia(59%) saturate(6315%) hue-rotate(336deg) brightness(99%) contrast(108%);
117
196
  --filter-system-gray0: invert(97%) sepia(2%) saturate(509%) hue-rotate(200deg) brightness(84%) contrast(94%);
118
197
  --filter-system-gray1: invert(72%) sepia(0%) saturate(6315%) hue-rotate(205deg) brightness(81%) contrast(62%);
119
198
 
120
- /* Special Colors */
199
+ /* Qtip */
121
200
 
122
- --secondary-toolbar-color: hsl(220, 9%, 17%);
123
- --secondary-toolbar-transparent: hsla(220, 9%, 17%, 0);
124
- --sidebar-background-color: hsl(217, 20%, 21%);
125
- --sidebar-transparent: hsla(217, 20%, 21%, 0);
126
- --tint-color1: rgba(0, 0, 0, 0.2);
127
- --tint-color2: rgba(0, 0, 0, 0.4);
201
+ --qtip-background-color: black;
202
+ --qtip-border: 1px solid var(--system-gray4);
203
+ --qtip-highlight-color: white;
128
204
 
129
205
  /* TweakPanel colors */
130
206
 
@@ -150,94 +226,6 @@
150
226
  --tp-monitor-background-color-focus: var(--tp-input-background-color-focus);
151
227
  --tp-monitor-background-color-hover: var(--tp-input-background-color-hover);
152
228
  --tp-monitor-foreground-color: var(--tp-input-foreground-color);
153
- }
154
- }
155
-
156
- body {
157
- /* Colors */
158
-
159
- --background-color: var(--system-gray6);
160
- --text-color: var(--system-gray0);
161
- --highlight-color: black;
162
- --text-disabled: var(--system-gray2);
163
- --border-color: var(--system-gray3);
164
- --expander-color: var(--system-gray1);
165
- --accent-color: var(--system-red);
166
- --separator-color: var(--system-gray3);
167
-
168
- --window-tabs-background-color: hsl(206, 62%, 95%);
169
- --window-tabs-text-color: var(--text-color);
170
- --window-tabs-highlight-color: var(--accent-color);
171
-
172
- --window-tabs-height: 34px;
173
- --tabs-height: 26px;
174
-
175
- --topbar-height: 8px;
176
- --toolbar-outer-radius: 15px;
177
- --toolbar-inner-radius: calc(var(--toolbar-outer-radius) / 3 * 2);
178
- --toolbar-width: 30px;
179
- --icon-size: 16px;
180
- --medium-icon-size: 18px;
181
- --large-icon-size: 28px;
182
-
183
- /* Filter Colors */
184
-
185
- --filter-text-color: var(--filter-system-gray0);
186
- --filter-highlight-color: var(--filter-system-grayZ);
187
- --filter-accent-color: var(--filter-system-red);
188
-
189
- /* Fonts */
190
-
191
- --sans-serif: Roboto, sans-serif;
192
- --monospace: Roboto Mono, monospace;
193
- --font-size: 10pt;
194
- --large-font-size: 18pt;
195
- --small-font-size: 8pt;
196
-
197
- /* Tools */
198
-
199
- --tool-backdrop-filter: blur(25px);
200
- --tool-background-color: color-mix(in srgb, var(--sidebar-background-color), transparent 20%);
201
- --tool-border-radius: 12px;
202
- --tool-border: 1px solid var(--system-gray8);
203
- --tool-shadow: 3px 3px 9px rgba(0, 0, 0, 0.6);
204
-
205
- --background-disabled: repeating-linear-gradient(
206
- -45deg,
207
- var(--tint-color1),
208
- var(--tint-color1) 10px,
209
- transparent 10px,
210
- transparent 20px
211
- );
212
-
213
- /*Qtip */
214
-
215
- --qtip-shadow: var(--tool-shadow);
216
- --qtip-border-radius: 12px;
217
-
218
- --qtip-background-color: white;
219
- --qtip-border: 1px solid var(--system-gray1);
220
- --qtip-highlight-color: black;
221
-
222
- /* Routing Editor */
223
-
224
- --routes-background-color: white;
225
- }
226
-
227
- @media (prefers-color-scheme: dark) {
228
- body {
229
- /* Colors */
230
-
231
- --text-color: var(--system-gray1);
232
- --highlight-color: var(--system-gray0);
233
- --border-color: var(--system-gray8);
234
- --expander-color: var(--system-gray8);
235
- --filter-text-color: var(--filter-system-gray1);
236
- --filter-highlight-color: var(--filter-system-gray0);
237
-
238
- --window-tabs-background-color: var(--system-gray5);
239
- --window-tabs-text-color: var(--text-color);
240
- --window-tabs-highlight-color: var(--accent-color);
241
229
 
242
230
  /* Tools */
243
231
 
@@ -245,14 +233,8 @@ body {
245
233
  --tool-border: 1px solid var(--system-gray2);
246
234
  --tool-shadow: 3px 3px 9px var(--system-gray8);
247
235
 
248
- /* Qtip */
249
-
250
- --qtip-background-color: black;
251
- --qtip-border: 1px solid var(--system-gray4);
252
- --qtip-highlight-color: white;
253
-
254
- /* Routing Editor */
236
+ /* Route Graph */
255
237
 
256
- --routes-background-color: black;
238
+ --route-graph-background-color: black;
257
239
  }
258
240
  }
@@ -0,0 +1,45 @@
1
+ @charset "utf-8";
2
+
3
+ @font-face {
4
+ font-family: "Roboto";
5
+ src: url(../fonts/Roboto/Roboto-VariableFont_wdth,wght.ttf);
6
+ font-display: swap;
7
+ font-weight: 100 900;
8
+ font-stretch: 75% 125%;
9
+ font-style: normal;
10
+ font-optical-sizing: auto;
11
+ font-variation-settings: "wdth" 100;
12
+ }
13
+
14
+ @font-face {
15
+ font-family: "Roboto";
16
+ src: url(../fonts/Roboto/Roboto-Italic-VariableFont_wdth\,wght.ttf);
17
+ font-display: swap;
18
+ font-weight: 100 900;
19
+ font-stretch: 75% 125%;
20
+ font-style: italic;
21
+ font-optical-sizing: auto;
22
+ font-variation-settings: "wdth" 100;
23
+ }
24
+
25
+ @font-face {
26
+ font-family: "Roboto Mono";
27
+ src: url(../fonts/Roboto_Mono/RobotoMono-VariableFont_wght.ttf);
28
+ font-display: swap;
29
+ font-weight: 100 900;
30
+ font-stretch: 75% 125%;
31
+ font-style: normal;
32
+ font-optical-sizing: auto;
33
+ font-variation-settings: "wdth" 100;
34
+ }
35
+
36
+ @font-face {
37
+ font-family: "Roboto Mono";
38
+ src: url(../fonts/Roboto_Mono/RobotoMono-VariableFont_wght.ttf);
39
+ font-display: swap;
40
+ font-weight: 100 900;
41
+ font-stretch: 75% 125%;
42
+ font-style: italic;
43
+ font-optical-sizing: auto;
44
+ font-variation-settings: "wdth" 100;
45
+ }
@@ -1,4 +1,5 @@
1
- @import url(../../node_modules/material-icons/iconfont/material-icons.css);
2
- @import url(../../node_modules/material-symbols/index.css);
1
+ @import url(../../node_modules/jquery-ui-dist/jquery-ui.min.css);
2
+ @import url(../../node_modules/qtip2/dist/jquery.qtip.min.css);
3
3
  @import url(../../node_modules/spectrum-colorpicker2/dist/spectrum.css);
4
+ @import url(../../node_modules/material-symbols/index.css);
4
5
  @import url(../../node_modules/@vscode/codicons/dist/codicon.css);
@@ -1,4 +1,5 @@
1
- @import url(file:///Users/holger/Desktop/X_ITE/sunrize/node_modules/material-icons/iconfont/material-icons.css);
2
- @import url(file:///Users/holger/Desktop/X_ITE/sunrize/node_modules/material-symbols/index.css);
1
+ @import url(file:///Users/holger/Desktop/X_ITE/sunrize/node_modules/jquery-ui-dist/jquery-ui.min.css);
2
+ @import url(file:///Users/holger/Desktop/X_ITE/sunrize/node_modules/qtip2/dist/jquery.qtip.min.css);
3
3
  @import url(file:///Users/holger/Desktop/X_ITE/sunrize/node_modules/spectrum-colorpicker2/dist/spectrum.css);
4
+ @import url(file:///Users/holger/Desktop/X_ITE/sunrize/node_modules/material-symbols/index.css);
4
5
  @import url(file:///Users/holger/Desktop/X_ITE/sunrize/node_modules/@vscode/codicons/dist/codicon.css);
@@ -1,10 +1,12 @@
1
1
  @charset "utf-8";
2
- @import url(system-colors.css);
2
+ @import url(fonts.css);
3
+ @import url(definitions.css);
3
4
 
4
5
  body {
5
6
  overflow: hidden !important;
6
7
  background-color: var(--background-color);
7
8
  color: var(--text-color);
9
+ font-family: var(--sans-serif);
8
10
  }
9
11
 
10
12
  #container {
@@ -32,6 +34,7 @@ input {
32
34
  border: 1px solid var(--system-gray3) !important;
33
35
  background: none !important;
34
36
  color: var(--text-color) !important;
37
+ font-family: var(--sans-serif) !important;
35
38
  }
36
39
 
37
40
  input:focus {
@@ -53,4 +56,5 @@ input:focus {
53
56
  border-radius: 7px !important;
54
57
  padding: 0.3em 1.8em !important;
55
58
  width: 100px !important;
59
+ font-family: var(--sans-serif) !important;
56
60
  }
@@ -1,10 +1,12 @@
1
1
  @charset "utf-8";
2
- @import url(file:///Users/holger/Desktop/X_ITE/sunrize/src/assets/themes/system-colors.css);
2
+ @import url(file:///Users/holger/Desktop/X_ITE/sunrize/src/assets/themes/fonts.css);
3
+ @import url(file:///Users/holger/Desktop/X_ITE/sunrize/src/assets/themes/definitions.css);
3
4
 
4
5
  body {
5
6
  overflow: hidden !important;
6
7
  background-color: var(--background-color);
7
8
  color: var(--text-color);
9
+ font-family: var(--sans-serif);
8
10
  }
9
11
 
10
12
  #container {
@@ -32,6 +34,7 @@ input {
32
34
  border: 1px solid var(--system-gray3) !important;
33
35
  background: none !important;
34
36
  color: var(--text-color) !important;
37
+ font-family: var(--sans-serif) !important;
35
38
  }
36
39
 
37
40
  input:focus {
@@ -53,4 +56,5 @@ input:focus {
53
56
  border-radius: 7px !important;
54
57
  padding: 0.3em 1.8em !important;
55
58
  width: 100px !important;
59
+ font-family: var(--sans-serif) !important;
56
60
  }
@@ -1,164 +0,0 @@
1
- <html lang="en">
2
- <head>
3
- <meta charset="utf-8"/>
4
- <!-- Theme -->
5
- <link rel="stylesheet" type="text/css" href="../themes/default.css"/>
6
- </head>
7
- <body>
8
- <tab-group sortable="true">
9
- <style>
10
- @import url(../themes/media.css);
11
-
12
- .material-symbols-outlined {
13
- font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
14
- }
15
-
16
- ::-webkit-scrollbar {
17
- width: 4px;
18
- height: 4px;
19
- }
20
-
21
- ::-webkit-scrollbar-track, /* Track */
22
- ::-webkit-scrollbar-thumb:window-inactive, /* Handle */
23
- ::-webkit-scrollbar-corner { /* Corner */
24
- background-color: transparent;
25
- }
26
-
27
- /* Handle */
28
- ::-webkit-scrollbar-thumb {
29
- background-color: var(--scrollbar-thumb-color);
30
- border-radius: 2px;
31
- }
32
-
33
- :hover::-webkit-scrollbar-thumb {
34
- background-color: var(--scrollbar-thumb-color-hover);
35
- }
36
-
37
- .etabs .buttons {
38
- display: none;
39
- }
40
-
41
- .etabs .nav {
42
- height: var(--window-tabs-height);
43
- background: var(--background-color);
44
- box-shadow: none;
45
- border: none;
46
- overflow-x: auto;
47
- overflow-y: hidden;
48
- white-space: nowrap;
49
- }
50
-
51
- .etabs .tab:not(.active, :hover, :focus, :first-child)::before {
52
- content: "•";
53
- display: block;
54
- position: absolute;
55
- transform: translateY(1px);
56
- left: -3px;
57
- color: var(--text-disabled);
58
- line-height: 0;
59
- }
60
-
61
- .etabs .tab:is(.active, :hover, :focus) + .tab::before {
62
- display: none;
63
- }
64
-
65
- .etabs .tab {
66
- background: none;
67
- border: 1px solid transparent !important;
68
- border-radius: var(--window-tabs-height);
69
- padding: 4px 6px 4px 9px !important;
70
- color: var(--window-tabs-text-color);
71
- font-family: var(--sans-serif);
72
- box-shadow: none;
73
- transition: background-color 200ms, border-color 200ms, color 200ms;
74
- }
75
-
76
- .etabs .tab:hover,
77
- .etabs .tab.active {
78
- background-color: var(--window-tabs-background-color);
79
- border-color: var(--border-color) !important;
80
- }
81
-
82
- .etabs .tab.active {
83
- color: var(--window-tabs-highlight-color);
84
- }
85
-
86
- .etabs .tab:focus {
87
- border-color: var(--system-blue) !important;
88
- }
89
-
90
- .etabs .tab-icon {
91
- width: 16px;
92
- height: 16px;
93
- transform: scale(1.4);
94
- }
95
-
96
- .etabs .tab-icon img {
97
- width: 16px;
98
- height: 16px;
99
- }
100
-
101
- .etabs .tab-title {
102
- margin-left: 5px;
103
- }
104
-
105
- .etabs .tab-mute,
106
- .etabs .tab-pin,
107
- .etabs .tab-close,
108
- .etabs .tab-close button {
109
- appearance: none;
110
- position: relative;
111
- border: none;
112
- border-radius: 4px;
113
- background: none;
114
- color: var(--window-tabs-text-color);
115
- font-size: 18px;
116
- top: 0px;
117
- }
118
-
119
- @media (prefers-color-scheme: light) {
120
- .etabs .tab-mute:hover,
121
- .etabs .tab-close:hover,
122
- .etabs .tab-close:hover button {
123
- background-color: var(--system-gray4);
124
- }
125
- }
126
-
127
- .etabs .tab-mute:hover,
128
- .etabs .tab-close:hover,
129
- .etabs .tab-close:hover button {
130
- color: var(--system-gray0);
131
- }
132
-
133
- .etabs .tab-pin,
134
- .etabs .tab-mute {
135
- display: none;
136
- }
137
-
138
- .etabs .tab:not(.active) .tab-mute {
139
- display: none !important;
140
- }
141
-
142
- .etabs .tab:not(.active, :hover, :focus) :where(.tab-close button, .tab-mute, .tab-pin) {
143
- color: var(--text-disabled);
144
- }
145
-
146
- .etabs .tab-mute {
147
- margin-right: -3px;
148
- }
149
-
150
- .etabs .tab-mute,
151
- .etabs .tab-pin,
152
- .etabs .tab-close {
153
- margin-left: 5px;
154
- }
155
-
156
- .etabs .tab-pin span {
157
- margin-right: 2px;
158
- font-size: inherit;
159
- transform: rotate(45deg);
160
- }
161
- </style>
162
- </tab-group>
163
- </body>
164
- </html>