Skip to content

Commit 303a8ed

Browse files
committed
fix: remove wrong base color config
1 parent 33389a4 commit 303a8ed

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

src/style-settings/_index.scss

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,16 @@ body.color-use-minimal
282282
[data-id='color-active-light'],
283283
[data-id='color-active-dark']
284284
),
285+
body:not(.color-active-custom-light)
286+
.setting-item:is(
287+
[data-id='setting-color-active-custom-light'],
288+
[data-id='setting-color-inactive-custom-light']
289+
),
290+
body:not(.color-active-custom-dark)
291+
.setting-item:is(
292+
[data-id='setting-color-active-custom-dark'],
293+
[data-id='setting-color-inactive-custom-dark']
294+
),
285295
body:not(.editor-custom-bottom-spacing)
286296
.setting-item[data-id='setting-editor-bottom-spacing'],
287297
body:not(.list-enable)

src/style-settings/basic.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,6 @@ export default Settings.create('maple-basic', 'Maple Basic').children([
7070
en: 'Custom Highlight Color (Active)',
7171
zh: '自定义高亮色(激活状态)',
7272
},
73-
desc: {
74-
en: 'Affects saturation and brightness of the background color.',
75-
zh: '影响背景色的饱和度和亮度。',
76-
},
7773
},
7874
{ default: '#', format: 'hsl-split', opacity: false },
7975
)
@@ -113,10 +109,6 @@ export default Settings.create('maple-basic', 'Maple Basic').children([
113109
en: 'Custom Highlight Color (Active)',
114110
zh: '自定义高亮色(激活状态)',
115111
},
116-
desc: {
117-
en: 'Affects saturation and brightness of the background color.',
118-
zh: '影响背景色的饱和度和亮度。',
119-
},
120112
},
121113
{ default: '#', format: 'hsl-split', opacity: false },
122114
)

0 commit comments

Comments
 (0)