mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
feat: 新增边框
This commit is contained in:
@@ -2,7 +2,7 @@ import { computed, toRefs } from 'vue'
|
||||
import { darkTheme, GlobalThemeOverrides } from 'naive-ui'
|
||||
import { useDesignStore } from '@/store/modules/designStore/designStore'
|
||||
import { borderRadius } from '@/settings/designSetting'
|
||||
import { toLight } from '@/utils'
|
||||
import { alpha, lighten } from '@/utils'
|
||||
|
||||
/**
|
||||
* * 设置全局主题
|
||||
@@ -16,8 +16,8 @@ export const useThemeOverridesHook = () => {
|
||||
const commonObj = {
|
||||
common: {
|
||||
primaryColor: getAppTheme.value,
|
||||
primaryColorHover: toLight(getAppTheme.value, 6),
|
||||
primaryColorPressed: toLight(getAppTheme.value, 6),
|
||||
primaryColorHover: lighten(alpha(getAppTheme.value), 0.1),
|
||||
primaryColorPressed: lighten(alpha(getAppTheme.value), 0.1),
|
||||
primaryColorSuppl: getAppTheme.value,
|
||||
borderRadius
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user