-
Notifications
You must be signed in to change notification settings - Fork 273
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(theme): [divider] refactor divider theme vars
- Loading branch information
Showing
2 changed files
with
10 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,8 @@ | ||
.component-css-vars-divider() { | ||
// 不开放(hide) | ||
--ti-divider-dividing-line: var(--ti-common-color-bg-dark-disabled, #dbdbdb); | ||
.inject-Divider-vars() { | ||
// 分割线颜色 | ||
--tv-Divider-dividing-line: var(--tv-color-border-divider-short); | ||
// 文案背景色 | ||
--ti-divider-text-bg-color: var(--ti-common-color-line-dividing, #f0f0f0); | ||
--tv-Divider-text-bg-color: var(--tv-color-border-divider); | ||
// 文案文本色 | ||
--ti-divider-text-color: var(--ti-common-color-text-primary, #191919); | ||
//分割线横向透明度 | ||
--ti-divider-horizontal-opacity: 1; | ||
//分割线纵向透明度 | ||
--ti-divider-vertical-opacity: 1; | ||
--tv-Divider-text-color: var(--tv-color-text); | ||
} |