chore: 修改基础样式
This commit is contained in:
@@ -4,6 +4,8 @@
|
|||||||
:inline-theme-disabled="configProviderProps.inlineThemeDisabled"
|
:inline-theme-disabled="configProviderProps.inlineThemeDisabled"
|
||||||
:locale="configProviderProps.locale"
|
:locale="configProviderProps.locale"
|
||||||
:style="{
|
:style="{
|
||||||
|
'--border-radius': themeCommon.borderRadius,
|
||||||
|
'--border-radius-small': themeCommon.borderRadiusSmall,
|
||||||
'--box-shadow-1': themeVars.boxShadow1,
|
'--box-shadow-1': themeVars.boxShadow1,
|
||||||
'--box-shadow-2': themeVars.boxShadow2,
|
'--box-shadow-2': themeVars.boxShadow2,
|
||||||
'--box-shadow-3': themeVars.boxShadow3,
|
'--box-shadow-3': themeVars.boxShadow3,
|
||||||
@@ -164,6 +166,10 @@ html {
|
|||||||
height: 0;
|
height: 0;
|
||||||
background-color: #FFF;
|
background-color: #FFF;
|
||||||
|
|
||||||
|
&.is-transparent {
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
&.with-margin {
|
&.with-margin {
|
||||||
margin: 20px;
|
margin: 20px;
|
||||||
width: calc(100% - 40px);
|
width: calc(100% - 40px);
|
||||||
|
@@ -15,6 +15,8 @@ export const configProviderProps = {
|
|||||||
// 调整主题变量
|
// 调整主题变量
|
||||||
themeOverrides: {
|
themeOverrides: {
|
||||||
common: {
|
common: {
|
||||||
|
borderRadius: '4px',
|
||||||
|
borderRadiusSmall: '2px',
|
||||||
errorColor: '#E34D59',
|
errorColor: '#E34D59',
|
||||||
errorColorHover: '#F36D78',
|
errorColorHover: '#F36D78',
|
||||||
errorColorPressed: '#C9353F',
|
errorColorPressed: '#C9353F',
|
||||||
|
Reference in New Issue
Block a user