Shared: Themes: fix missing

This commit is contained in:
Viktor Fomin 2024-06-10 19:02:13 +05:00
parent 23338c22ec
commit 7fc9b73a7f
2 changed files with 24 additions and 14 deletions

View File

@ -89,6 +89,9 @@ const {
lightErrorStatus,
darkGrayLight,
grayDarkText,
lightBlueMainHover,
lightBlueMainDisabled,
lightGrayBlackout,
} = globalColors;
export const getBaseTheme = () => {
@ -288,8 +291,8 @@ export const getBaseTheme = () => {
mainButton: {
backgroundColor: "#4781D1",
disableBackgroundColor: "rgba(71, 129, 209, 0.6)",
hoverBackgroundColor: "rgba(71, 129, 209, .85)",
disableBackgroundColor: lightBlueMainDisabled,
hoverBackgroundColor: lightBlueMainHover,
clickBackgroundColor: "#4074BC",
padding: "5px 14px 5px 12px",
@ -736,6 +739,7 @@ export const getBaseTheme = () => {
hoverBorderColor: gray,
hoverErrorBorderColor: red,
hoverWarningBorderColor: warningColor,
lightToastWarningBorderColor: warningColor,
hoverDisabledBorderColor: grayLightMid,
@ -1365,7 +1369,7 @@ export const getBaseTheme = () => {
},
backdrop: {
backgroundColor: "rgba(6, 22, 38, 0.2)",
backgroundColor: lightGrayBlackout,
unsetBackgroundColor: "unset",
},
@ -2092,7 +2096,7 @@ export const getBaseTheme = () => {
sectionHeaderToggleBgActive: grayLight,
backgroundColor: white,
blurColor: "rgba(6, 22, 38, 0.2)",
blurColor: lightGrayBlackout,
borderColor: grayLightMid,
thumbnailBorderColor: grayLightMid,
textColor: black,

View File

@ -72,6 +72,12 @@ const {
lightDarkGrayHover,
grayDarkText,
link,
darkToastDone,
darkToastInfo,
darkToastAlert,
darkToastWarning,
lightBlueMainDisabled,
lightBlueMainHover,
} = globalColors;
const Dark: TTheme = {
@ -272,8 +278,8 @@ const Dark: TTheme = {
mainButton: {
backgroundColor: "#4781D1",
disableBackgroundColor: "rgba(71, 129, 209, 0.6)",
hoverBackgroundColor: "rgba(71, 129, 209, .85)",
disableBackgroundColor: lightBlueMainDisabled,
hoverBackgroundColor: lightBlueMainHover,
clickBackgroundColor: "#4074BC",
padding: "5px 14px 5px 12px",
@ -1524,10 +1530,10 @@ const Dark: TTheme = {
height: "16px",
minHeight: "16px",
color: {
success: "#9DE051",
error: "#E0B151",
info: "#E0D751",
warning: "#E07751",
success: darkToastDone,
error: darkToastAlert,
info: darkToastInfo,
warning: darkToastWarning,
},
},
@ -1543,10 +1549,10 @@ const Dark: TTheme = {
marginBottom: "5px",
lineHeight: "16px",
color: {
success: "#9DE051",
error: "#E0B151",
info: "#E0D751",
warning: "#E07751",
success: darkToastDone,
error: darkToastAlert,
info: darkToastInfo,
warning: darkToastWarning,
},
fontSize: "12px",
},