We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df195da commit 72282ffCopy full SHA for 72282ff
src/simulator/src/themer/themes.js renamed to src/simulator/src/themer/themes.ts
@@ -1,4 +1,6 @@
1
-export default {
+import { Themes } from './themer.types'
2
+
3
+const themes: Themes = {
4
'Default Theme': {
5
'--text-navbar--alt': '#000',
6
'--br-secondary': '#7d7d7d',
@@ -326,7 +328,7 @@ export default {
326
328
'--disable': '#956c6a',
327
329
'--table-head-dark': '#2e2b21',
330
},
- 'Custom Theme': JSON.parse(localStorage.getItem('Custom Theme')) || {
331
+ 'Custom Theme': JSON.parse(localStorage.getItem('Custom Theme') || '{}') || {
332
333
334
'--br-circuit-cur': '#ffffff',
@@ -380,3 +382,5 @@ export default {
380
382
'--output-rect': '#0000ff',
381
383
384
}
385
386
+export default themes;
0 commit comments