File tree Expand file tree Collapse file tree 1 file changed +0
-44
lines changed
Expand file tree Collapse file tree 1 file changed +0
-44
lines changed Original file line number Diff line number Diff line change @@ -36,50 +36,6 @@ const items = computed<DropdownMenuItem[][]>(() => ([[{
3636 icon: ' i-lucide-settings' ,
3737 to: ' /settings'
3838}], [{
39- label: ' Theme' ,
40- icon: ' i-lucide-palette' ,
41- children: [{
42- label: ' Primary' ,
43- slot: ' chip' ,
44- chip: appConfig .ui .colors .primary ,
45- content: {
46- align: ' center' ,
47- collisionPadding: 16
48- },
49- children: colors .map (color => ({
50- label: color ,
51- chip: color ,
52- slot: ' chip' ,
53- checked: appConfig .ui .colors .primary === color ,
54- type: ' checkbox' ,
55- onSelect : (e ) => {
56- e .preventDefault ()
57-
58- appConfig .ui .colors .primary = color
59- }
60- }))
61- }, {
62- label: ' Neutral' ,
63- slot: ' chip' ,
64- chip: appConfig .ui .colors .neutral ,
65- content: {
66- align: ' end' ,
67- collisionPadding: 16
68- },
69- children: neutrals .map (color => ({
70- label: color ,
71- chip: color ,
72- slot: ' chip' ,
73- type: ' checkbox' ,
74- checked: appConfig .ui .colors .neutral === color ,
75- onSelect : (e ) => {
76- e .preventDefault ()
77-
78- appConfig .ui .colors .neutral = color
79- }
80- }))
81- }]
82- }, {
8339 label: ' Appearance' ,
8440 icon: ' i-lucide-sun-moon' ,
8541 children: [{
You can’t perform that action at this time.
0 commit comments