mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-11-03 13:44:47 +08:00
feat: 添加整体风格自适应操作系统浅色、深色、自动主题功能,让平台充满现代气息 (#869)
* feat: 添加整体风格自适应操作系统浅色、深色、自动主题功能,让平台更加现代化 * chore: update
This commit is contained in:
@@ -117,7 +117,7 @@ defineOptions({
|
||||
<h4 class="mb-4">
|
||||
类似 Ant Design 风格的消息提示,点击弹出提示信息(基于 ElMessage
|
||||
样式改版,不会影响 ElMessage
|
||||
原本样式,使用和打包大小成本极低并适配暗黑模式)
|
||||
原本样式,使用和打包大小成本极低并适配整体暗色风格)
|
||||
</h4>
|
||||
|
||||
<el-space wrap>
|
||||
|
||||
@@ -56,8 +56,8 @@ const currentPage = computed(() => {
|
||||
const { t } = useI18n();
|
||||
const { initStorage } = useLayout();
|
||||
initStorage();
|
||||
const { dataTheme, dataThemeChange } = useDataThemeChange();
|
||||
dataThemeChange();
|
||||
const { dataTheme, overallStyle, dataThemeChange } = useDataThemeChange();
|
||||
dataThemeChange(overallStyle.value);
|
||||
const { title, getDropdownItemStyle, getDropdownItemClass } = useNav();
|
||||
const { locale, translationCh, translationEn } = useTranslationLang();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user