| | |
| | | import { reactive, watch } from 'vue'; |
| | | |
| | | import { preferences, usePreferences } from '..\..\..\preferences\src'; |
| | | import { convertToRgb, updateCSSVariables } from '..\..\..\utils\src'; |
| | | import { preferences, usePreferences } from '../../../preferences/src'; |
| | | import { convertToRgb, updateCSSVariables } from '../../../utils/src'; |
| | | |
| | | /** |
| | | * 用于适配各个框架的设计系统 |
| | |
| | | colorPrimary: '', |
| | | colorSuccess: '', |
| | | colorTextBase: '', |
| | | colorTextLightSolid: '', |
| | | colorWarning: '', |
| | | zIndexPopupBase: 2000, // 调整基础弹层层级,避免下拉等组件被弹窗或者最大化状态下的表格遮挡 |
| | | }); |
| | |
| | | |
| | | tokens.colorTextBase = getCssVariableValue('--foreground'); |
| | | |
| | | getCssVariableValue('--primary-foreground'); |
| | | tokens.colorTextLightSolid = getCssVariableValue('--primary-foreground'); |
| | | |
| | | tokens.colorBorderSecondary = tokens.colorBorder = |
| | | getCssVariableValue('--border'); |