chore: 修改基础样式

This commit is contained in:
2024-08-31 18:11:50 +08:00
parent b01ce6be88
commit e4fab491db
2 changed files with 8 additions and 0 deletions

View File

@@ -4,6 +4,8 @@
:inline-theme-disabled="configProviderProps.inlineThemeDisabled"
:locale="configProviderProps.locale"
:style="{
'--border-radius': themeCommon.borderRadius,
'--border-radius-small': themeCommon.borderRadiusSmall,
'--box-shadow-1': themeVars.boxShadow1,
'--box-shadow-2': themeVars.boxShadow2,
'--box-shadow-3': themeVars.boxShadow3,
@@ -164,6 +166,10 @@ html {
height: 0;
background-color: #FFF;
&.is-transparent {
background-color: transparent;
}
&.with-margin {
margin: 20px;
width: calc(100% - 40px);

View File

@@ -15,6 +15,8 @@ export const configProviderProps = {
// 调整主题变量
themeOverrides: {
common: {
borderRadius: '4px',
borderRadiusSmall: '2px',
errorColor: '#E34D59',
errorColorHover: '#F36D78',
errorColorPressed: '#C9353F',