-
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(rich-text-editor): refactor rich-text-editor style
- Loading branch information
Showing
2 changed files
with
37 additions
and
53 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,26 +1,20 @@ | ||
.component-css-vars-rich-text-editor() { | ||
// 边框色 | ||
--ti-rich-text-editor-box-border-color: var(--ti-common-color-line-normal, #c2c2c2); | ||
// 没用(hide) | ||
--ti-rich-text-editor-box-outline-hover-color: var(--ti-common-color-line-hover, #191919); | ||
// 选中或悬浮头部图标色 | ||
--ti-rich-text-editor-button-hover: var(--ti-common-color-icon-hover, #191919); | ||
// 没用(hide) | ||
--ti-rich-text-editor-button-active: var(--ti-common-color-icon-active, #191919); | ||
// 没有效果(hide) | ||
--ti-rich-text-editor-button-disabled-text-color: var(--ti-common-color-icon-disabled, #c2c2c2); | ||
// 没用(hide) | ||
--ti-rich-text-editor-poplist-item-selected-bg-color: var(--ti-common-color-selected-background, #f5f5f5); | ||
// 没用(hide) | ||
--ti-rich-text-editor-poplist-item-selected-text-color: var(--ti-common-color-selected-text-color, #191919); | ||
--tv-RichTextEditor-border-color: var(--tv-color-border); | ||
// 富文本行号 | ||
--tv-RichTextEditor-line-height: var(--tv-line-height-number); | ||
// 图标悬浮颜色 | ||
--tv-RichTextEditor-icon-color-hover: var(--tv-color-icon-hover); | ||
// 图标禁用颜色 | ||
--tv-RichTextEditor-icon-color-disabled: var(--tv-color-icon-disabled); | ||
// 头部图标弹出下拉框背景色 | ||
--ti-rich-text-editor-options-bg-color: var(--ti-common-color-bg-white-normal, #ffffff); | ||
--tv-RichTextEditor-options-bg-color: #ffffff; | ||
// 头部图标弹出下拉框阴影 | ||
--ti-rich-text-editor-options-box-shadow: var(--ti-common-shadow-2-down, 0 2px 8px 0 #0003); | ||
--tv-RichTextEditor-options-box-shadow: var(--tv-shadow-3-down); | ||
// 头部图标弹出下拉框圆角 | ||
--ti-rich-text-editor-options-border-radius: var(--ti-common-border-radius-normal, 6px); | ||
// 没用(hide) | ||
--ti-rich-text-editor-options-item-padding: var(--ti-common-space-6, 6px) var(--ti-common-space-5x, 20px); | ||
// 头部图标弹出下拉框选项悬浮文本色 | ||
--ti-rich-text-editor-options-item-hover-color: var(--ti-common-color-icon-hover, #191919); | ||
--tv-RichTextEditor-options-border-radius: var(--tv-border-radius-md); | ||
// 头部图标弹出下拉框选项文本色 | ||
--tv-RichTextEditor-options-text-color: var(--tv-color-text); | ||
// 头部图标弹出下拉框选项悬浮背景颜色 | ||
--tv-RichTextEditor-options-item-bg-color: var(--tv-color-bg-hover); | ||
} |