refactor: rename overlay background color to background overlay color

This commit is contained in:
07akioni 2020-06-29 00:14:27 +08:00
parent 4315dbdb36
commit 251fb6a30a
4 changed files with 26 additions and 26 deletions

View File

@ -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),

View File

@ -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),

View File

@ -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
},

View File

@ -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
},