fix(badge): [badge] update badge xdesign (#1420)

* fix(badge): [badge] update badge xdesign

* fix(badge): [badge] update badge xdesign

* fix(badge): [badge] update badge xdesign

* fix(badge): [badge] update badge xdesign
This commit is contained in:
李天佑 2024-02-27 09:59:39 +08:00 committed by GitHub
parent afb706e4ce
commit 2a84fcdb7c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 29 deletions

View File

@ -1,28 +0,0 @@
/**
* Copyright (c) 2022 - present TinyVue Authors.
* Copyright (c) 2022 - present Huawei Cloud Computing Technologies Co., Ltd.
*
* Use of this source code is governed by an MIT-style license.
*
* THE OPEN SOURCE SOFTWARE IN THIS PRODUCT IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL,
* BUT WITHOUT ANY WARRANTY, WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR
* A PARTICULAR PURPOSE. SEE THE APPLICABLE LICENSES FOR MORE DETAILS.
*
*/
export default {
'tiny-badge-size': '20px',
'tiny-badge-font-size': '12px',
'tiny-badge-font-weight': '700',
'tiny-badge-border-radius': '12px',
'tiny-badge-text-color': '#fff',
'tiny-badge-bg-color': '#f5222d',
'tiny-badge-link-hover-text-color': '#fff',
'tiny-badge-active-text-color': '#1890ff',
'tiny-badge-active-bg-color': '#fff',
'tiny-badge-primary-bg-color': '#1890ff',
'tiny-badge-success-bg-color': '#52c41a',
'tiny-badge-warning-bg-color': '#faad14',
'tiny-badge-danger-bg-color': '#f5222d',
'tiny-badge-info-bg-color': '#333333'
}

View File

@ -1,3 +1,7 @@
export const tinyBadgeSmbTheme = {
'ti-badge-font-size': 'var(--ti-common-font-size-0)'
'ti-badge-size': 'var(--ti-common-font-size-2)',
'ti-badge-bg-color': 'var(--ti-base-color-error)',
'ti-badge-font-size': 'var(--ti-common-font-size-0)',
'ti-badge-text-color': 'var(--ti-base-color-bg-7)',
'ti-badge-border-radius': 'var(--ti-common-border-radius-4)'
}