chore: tinymce主题
This commit is contained in:
parent
0a2bc105f6
commit
45b6e05abc
@ -95,11 +95,15 @@ const containerWidth = computed(() => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
const skinName = computed(() => {
|
const skinName = computed(() => {
|
||||||
return preferences.theme.mode === 'light' ? 'oxide' : 'oxide-dark';
|
const theme =
|
||||||
|
preferences.theme.mode === 'auto' ? 'light' : preferences.theme.mode;
|
||||||
|
return theme === 'light' ? 'oxide' : 'oxide-dark';
|
||||||
});
|
});
|
||||||
|
|
||||||
const contentCss = computed(() => {
|
const contentCss = computed(() => {
|
||||||
return preferences.theme.mode === 'light' ? 'default' : 'dark';
|
const theme =
|
||||||
|
preferences.theme.mode === 'auto' ? 'light' : preferences.theme.mode;
|
||||||
|
return theme === 'light' ? 'default' : 'dark';
|
||||||
});
|
});
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user