fix(drawer): [drawer] modify smb theme (#1961)

This commit is contained in:
James 2024-08-20 18:55:21 -07:00 committed by GitHub
parent ebad2ff586
commit b5569d4f3c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 7 deletions

View File

@ -136,12 +136,8 @@
padding: 0;
line-height: 1;
position: absolute;
top: calc(
var(--ti-drawer-btn-position-top) - (var(--ti-drawer-btn-height) - var(--ti-drawer-close-icon-size)) / 2
);
right: calc(
var(--ti-drawer-btn-position-right) - (var(--ti-drawer-btn-width) - var(--ti-drawer-close-icon-size)) / 2
);
top: var(--ti-drawer-btn-position-top);
right: var(--ti-drawer-btn-position-right);
cursor: pointer;
height: var(--ti-drawer-btn-height);
width: var(--ti-drawer-btn-width);

View File

@ -10,5 +10,12 @@ export const tinyDrawerSmbTheme = {
'ti-drawer-close-icon-size': 'var(--ti-common-font-size-5)',
'ti-drawer-help-icon-color': 'var(--ti-common-color-icon)',
'ti-drawer-close-icon-color': 'var(--ti-common-color-icon-normal)',
'ti-drawer-head-title-text-color': 'var(--ti-common-color-text-gray)'
'ti-drawer-head-title-text-color': 'var(--ti-common-color-text-gray)',
'ti-drawer-header-padding-bottom': 'var(--ti-common-space-6x)',
'ti-drawer-padding-top': '0px',
'ti-drawer-padding-bottom': '0px',
'ti-drawer-btn-position-top': 'var(--ti-common-space-5x)',
'ti-drawer-btn-position-right': 'var(--ti-common-space-5x)',
'ti-drawer-btn-width': 'var(--ti-common-size-width-mini)',
'ti-drawer-btn-height': 'var(--ti-common-size-width-mini)'
}