fix(theme): update for smb design (#2073)

This commit is contained in:
申君健 2024-09-07 11:01:14 +08:00 committed by GitHub
parent 505f2b6bd3
commit 99bf8497b0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 11 additions and 11 deletions

View File

@ -20,11 +20,11 @@
<script setup lang="jsx">
import { ref } from 'vue'
import { Tree as TinyTree } from '@opentiny/vue'
import { iconPlusSquare, iconMinusSquare, iconRightO, iconEditorTable, iconFile } from '@opentiny/vue-icon'
import { iconPutAway, iconExpand, iconRightO, iconEditorTable, iconFile } from '@opentiny/vue-icon'
const icon = iconRightO()
const shrinkIcon = iconMinusSquare()
const expandIcon = iconPlusSquare()
const shrinkIcon = iconPutAway()
const expandIcon = iconExpand()
const tinyIconEditorTable = iconEditorTable()
const tinyIconFile = iconFile()

View File

@ -19,7 +19,7 @@
<script lang="jsx">
import { Tree } from '@opentiny/vue'
import { iconPlusSquare, iconMinusSquare, iconRightO, iconEditorTable, iconFile } from '@opentiny/vue-icon'
import { iconPutAway, iconExpand, iconRightO, iconEditorTable, iconFile } from '@opentiny/vue-icon'
export default {
components: {
@ -28,8 +28,8 @@ export default {
data() {
return {
icon: iconRightO(),
shrinkIcon: iconMinusSquare(),
expandIcon: iconPlusSquare(),
shrinkIcon: iconPutAway(),
expandIcon: iconExpand(),
tinyIconEditorTable: iconEditorTable(),
tinyIconFile: iconFile(),
data: [

View File

@ -7,8 +7,8 @@ export const tinyPopperSmbTheme = {
'ti-popover-arrow-border-color': 'transparent',
'ti-popover-arrow-height': 'var(--ti-common-space-2x)',
'ti-popover-line-height': '20px',
'ti-popover-title-weight': 'bold',
'ti-popover-title-weight': '600',
'ti-popover-title-padding-bottom': '8px',
'ti-popover-font-weight': '600',
'ti-popover-font-size': '16px'
'ti-popover-font-weight': '400',
'ti-popover-font-size': '14px'
}

View File

@ -17,9 +17,9 @@ export const tinyTransferSmbTheme = {
'ti-transfer-svg-font-size': '10px',
'ti-transfer-header-padding-left': 'var(--ti-common-space-4x)',
'ti-transfer-header-padding-right': 'var(--ti-common-space-4x)',
'ti-transfer-panel-body-padding-left': 'var(--ti-common-space-2x)',
'ti-transfer-panel-body-list-padding-top': '4px',
'ti-transfer-panel-body-list-padding-bottom': '4px',
'ti-transfer-header-bg-color': '#fff',
'ti-transfer-header-border-color': 'rgba(0,0,0,0.08)'
'ti-transfer-header-border-color': 'rgba(0,0,0,0.08)',
'ti-transfer-panel-item-padding-left': 'var(--ti-common-space-4x)'
}