chore: tinymce主题

This commit is contained in:
dap 2024-08-20 10:58:54 +08:00
parent 0a2bc105f6
commit 45b6e05abc

View File

@ -95,11 +95,15 @@ const containerWidth = 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(() => {
return preferences.theme.mode === 'light' ? 'default' : 'dark';
const theme =
preferences.theme.mode === 'auto' ? 'light' : preferences.theme.mode;
return theme === 'light' ? 'default' : 'dark';
});
/**