mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-24 12:45:18 +08:00
refactor: rename overlay background color to background overlay color
This commit is contained in:
parent
4315dbdb36
commit
251fb6a30a
@ -139,11 +139,11 @@ export default create({
|
||||
disabledCloseColor: neutral(base.alpha4),
|
||||
disabledCloseHoverColor: overlay(base.alpha4),
|
||||
|
||||
scrollbarOverlayBackgroundColor: overlay(base.alphaScrollbar),
|
||||
scrollbarHoverOverlayBackgroundColor: overlay(base.alphaScrollbarHover),
|
||||
scrollbarBackgroundOverlayColor: overlay(base.alphaScrollbar),
|
||||
scrollbarHoverBackgroundOverlayColor: overlay(base.alphaScrollbarHover),
|
||||
|
||||
railBackgroundColor: neutral(base.alphaRail),
|
||||
railOverlayBackgroundColor: overlay(base.alphaRail),
|
||||
railBackgroundOverlayColor: overlay(base.alphaRail),
|
||||
|
||||
popoverBackgroundColor: base.neutralPopover,
|
||||
tableBodyBackgroundColor: base.neutralCard,
|
||||
@ -152,16 +152,16 @@ export default create({
|
||||
bodyBackgroundColor: base.neutralBody,
|
||||
tagBackgroundColor: neutral(base.alphaTag),
|
||||
|
||||
inputOverlayBackgroundColor: overlay(base.alphaInput),
|
||||
codeOverlayBackgroundColor: overlay(base.alphaCode),
|
||||
tabOverlayBackgroundColor: overlay(base.alphaTab),
|
||||
avatarOverlayBackgroundColor: overlay(base.alphaAvatar),
|
||||
actionOverlayBackgroundColor: overlay(base.alphaAction),
|
||||
tableHeaderOverlayBackgroundColor: overlay(base.alphaAction),
|
||||
inputBackgroundOverlayColor: overlay(base.alphaInput),
|
||||
codeBackgroundOverlayColor: overlay(base.alphaCode),
|
||||
tabBackgroundOverlayColor: overlay(base.alphaTab),
|
||||
avatarBackgroundOverlayColor: overlay(base.alphaAvatar),
|
||||
actionBackgroundOverlayColor: overlay(base.alphaAction),
|
||||
tableHeaderBackgroundOverlayColor: overlay(base.alphaAction),
|
||||
|
||||
pendingOverlayBackgroundColor: overlay(base.alphaPending),
|
||||
tablePendingOverlayBackgroundColor: overlay(base.alphaTablePending),
|
||||
activeOverlayBackgroundColor: overlay(base.alphaActive),
|
||||
pendingBackgroundOverlayColor: overlay(base.alphaPending),
|
||||
tablePendingBackgroundOverlayColor: overlay(base.alphaTablePending),
|
||||
activeBackgroundOverlayColor: overlay(base.alphaActive),
|
||||
|
||||
disabledOpacity: base.alphaDisabled,
|
||||
disabledFillBackgroundColor: neutral(base.alphaDisabledFill),
|
||||
|
@ -139,11 +139,11 @@ export default create({
|
||||
disabledCloseColor: neutral(base.alpha4),
|
||||
disabledCloseHoverColor: overlay(base.alpha4),
|
||||
|
||||
scrollbarOverlayBackgroundColor: overlay(base.alphaScrollbar),
|
||||
scrollbarHoverOverlayBackgroundColor: overlay(base.alphaScrollbarHover),
|
||||
scrollbarBackgroundOverlayColor: overlay(base.alphaScrollbar),
|
||||
scrollbarHoverBackgroundOverlayColor: overlay(base.alphaScrollbarHover),
|
||||
|
||||
railBackgroundColor: neutral(base.alphaRail),
|
||||
railOverlayBackgroundColor: overlay(base.alphaRail),
|
||||
railBackgroundOverlayColor: overlay(base.alphaRail),
|
||||
|
||||
popoverBackgroundColor: base.neutralPopover,
|
||||
tableBodyBackgroundColor: base.neutralCard,
|
||||
@ -152,16 +152,16 @@ export default create({
|
||||
bodyBackgroundColor: base.neutralBody,
|
||||
tagBackgroundColor: neutral(base.alphaTag),
|
||||
|
||||
inputOverlayBackgroundColor: overlay(base.alphaInput),
|
||||
codeOverlayBackgroundColor: overlay(base.alphaCode),
|
||||
tabOverlayBackgroundColor: overlay(base.alphaTab),
|
||||
avatarOverlayBackgroundColor: overlay(base.alphaAvatar),
|
||||
actionOverlayBackgroundColor: overlay(base.alphaAction),
|
||||
tableHeaderOverlayBackgroundColor: overlay(base.alphaAction),
|
||||
inputBackgroundOverlayColor: overlay(base.alphaInput),
|
||||
codeBackgroundOverlayColor: overlay(base.alphaCode),
|
||||
tabBackgroundOverlayColor: overlay(base.alphaTab),
|
||||
avatarBackgroundOverlayColor: overlay(base.alphaAvatar),
|
||||
actionBackgroundOverlayColor: overlay(base.alphaAction),
|
||||
tableHeaderBackgroundOverlayColor: overlay(base.alphaAction),
|
||||
|
||||
pendingOverlayBackgroundColor: overlay(base.alphaPending),
|
||||
tablePendingOverlayBackgroundColor: overlay(base.alphaTablePending),
|
||||
activeOverlayBackgroundColor: overlay(base.alphaActive),
|
||||
pendingBackgroundOverlayColor: overlay(base.alphaPending),
|
||||
tablePendingBackgroundOverlayColor: overlay(base.alphaTablePending),
|
||||
activeBackgroundOverlayColor: overlay(base.alphaActive),
|
||||
|
||||
disabledOpacity: base.alphaDisabled,
|
||||
disabledFillBackgroundColor: neutral(base.alphaDisabledFill),
|
||||
|
@ -3,7 +3,7 @@ import create from '../_utils/create-component-base'
|
||||
export default create({
|
||||
getDerivedVariables ({ derived }) {
|
||||
return {
|
||||
railColor: derived.railOverlayBackgroundColor,
|
||||
railColor: derived.railBackgroundOverlayColor,
|
||||
default: {
|
||||
fillColor: derived.infoColor
|
||||
},
|
||||
|
@ -3,7 +3,7 @@ import create from '../_utils/create-component-base'
|
||||
export default create({
|
||||
getDerivedVariables ({ derived }) {
|
||||
return {
|
||||
railColor: derived.railOverlayBackgroundColor,
|
||||
railColor: derived.railBackgroundOverlayColor,
|
||||
default: {
|
||||
fillColor: derived.infoColor
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user