Shared: Themes: fix missing

This commit is contained in:
Viktor Fomin 2024-07-02 16:19:48 +03:00
parent d6c595d9ef
commit bdde096d8e
2 changed files with 26 additions and 26 deletions

View File

@ -384,7 +384,7 @@ export const getBaseTheme = () => {
activeConnectBorder: "none", activeConnectBorder: "none",
activeConnectBackground: blueLightMid, activeConnectBackground: blueLightMid,
color: "rgba(0, 0, 0, 0.54)", color: gray,
disableColor: black, disableColor: black,
disabledSvgColor: "none", disabledSvgColor: "none",
@ -1827,7 +1827,7 @@ export const getBaseTheme = () => {
section: { section: {
header: { header: {
backgroundColor: white, backgroundColor: white,
background: `linear-gradient(180deg, ${white} 2.81%,rgba(255, 255, 255, 0.91) 63.03%,rgba(255, 255, 255, 0) 100%)`, background: `linear-gradient(180deg, ${white} 2.81%,${grayDarkText} 63.03%,rgba(255, 255, 255, 0) 100%)`,
trashErasureLabelBackground: grayLight, trashErasureLabelBackground: grayLight,
trashErasureLabelText: grayText, trashErasureLabelText: grayText,
}, },
@ -2099,7 +2099,7 @@ export const getBaseTheme = () => {
textColor: gray, textColor: gray,
}, },
animationColor: "rgba(82, 153, 224, 0.16)", animationColor: lightSecondMain,
}, },
advancedSelector: { advancedSelector: {

View File

@ -296,7 +296,7 @@ const Dark: TTheme = {
hoverButtonColor: black, hoverButtonColor: black,
backgroundActionMobile: "rgba(255, 255, 255, 0.92)", backgroundActionMobile: bigGrayDarkMid,
}, },
dropDownItem: { dropDownItem: {
@ -374,8 +374,8 @@ const Dark: TTheme = {
activeConnectBackground: bigGrayDarkMid, activeConnectBackground: bigGrayDarkMid,
activeConnectBorder: "none", activeConnectBorder: "none",
color: "rgba(0, 0, 0, 0.54)", color: grayDark,
disableColor: "rgba(0, 0, 0, 0.4)", disableColor: darkGrayDark,
disabledSvgColor: grayDarkStrong, disabledSvgColor: grayDarkStrong,
text: { text: {
@ -430,7 +430,7 @@ const Dark: TTheme = {
groupButtonsMenu: { groupButtonsMenu: {
top: "0", top: "0",
background: black, background: black,
boxShadow: " 0px 10px 18px -8px rgba(0, 0, 0, 0.100306)", boxShadow: `0px 10px 18px -8px ${menuShadow}`,
height: "48px", height: "48px",
tabletHeight: "56px", tabletHeight: "56px",
padding: "0 18px 19px 0", padding: "0 18px 19px 0",
@ -817,7 +817,7 @@ const Dark: TTheme = {
}, },
textInput: { textInput: {
fontWeight: "normal", fontWeight: "normal",
placeholderColor: "rgba(255, 255, 255, 0.2)", placeholderColor: grayDark,
disablePlaceholderColor: grayDarkStrong, disablePlaceholderColor: grayDarkStrong,
transition: "all 0.2s ease 0s", transition: "all 0.2s ease 0s",
@ -949,7 +949,7 @@ const Dark: TTheme = {
tooltip: { tooltip: {
borderRadius: "6px", borderRadius: "6px",
boxShadow: "0px 10px 15px rgba(0, 0, 0, 0.40)", boxShadow: `0px 10px 15px ${popupShadow}`,
opacity: "1", opacity: "1",
padding: "8px 12px", padding: "8px 12px",
pointerEvents: "auto", pointerEvents: "auto",
@ -1274,7 +1274,7 @@ const Dark: TTheme = {
}, },
backdrop: { backdrop: {
backgroundColor: "rgba(20, 20, 20, 0.8)", backgroundColor: darkGrayBlackout,
unsetBackgroundColor: "unset", unsetBackgroundColor: "unset",
}, },
@ -1380,7 +1380,7 @@ const Dark: TTheme = {
main: { main: {
marginBottom: "1rem", marginBottom: "1rem",
boxShadow: "0px 16px 16px rgba(0, 0, 0, 0.16)", boxShadow: `0px 16px 16px ${popupShadow}`,
maxHeight: "800px", maxHeight: "800px",
overflow: "hidden", overflow: "hidden",
borderRadius: "6px", borderRadius: "6px",
@ -1606,7 +1606,7 @@ const Dark: TTheme = {
disabledArrow: grayDarkStrong, disabledArrow: grayDarkStrong,
weekdayColor: grayDark, weekdayColor: grayDark,
accent: lightBlueMain, accent: lightBlueMain,
boxShadow: "0px 12px 40px 0px rgba(0, 0, 0, 0.40)", boxShadow: `0px 12px 40px 0px ${popupShadow}`,
}, },
datePicker: { datePicker: {
@ -1796,14 +1796,14 @@ const Dark: TTheme = {
menuContainer: { menuContainer: {
background: lightDarkGrayHover, background: lightDarkGrayHover,
color: "rgba(255, 255, 255, 0.92)", color: white,
}, },
article: { article: {
background: black, background: black,
pinBorderColor: grayDarkStrong, pinBorderColor: grayDarkStrong,
catalogItemHeader: grayDark, catalogItemHeader: grayDark,
catalogItemText: "rgba(255, 255, 255, 0.6)", catalogItemText: grayDarkText,
catalogItemActiveBackground: black, catalogItemActiveBackground: black,
catalogShowText: darkGrayDark, catalogShowText: darkGrayDark,
}, },
@ -1811,7 +1811,7 @@ const Dark: TTheme = {
section: { section: {
header: { header: {
backgroundColor: black, backgroundColor: black,
background: `linear-gradient(180deg, ${black} 2.81%, rgba(51, 51, 51, 0.9) 63.03%, rgba(51, 51, 51, 0) 100%);`, background: `linear-gradient(180deg, ${black} 2.81%, ${grayText} 63.03%, rgba(51, 51, 51, 0) 100%);`,
trashErasureLabelBackground: black, trashErasureLabelBackground: black,
trashErasureLabelText: darkGrayDark, trashErasureLabelText: darkGrayDark,
}, },
@ -1824,7 +1824,7 @@ const Dark: TTheme = {
sectionHeaderToggleBgActive: black, sectionHeaderToggleBgActive: black,
backgroundColor: black, backgroundColor: black,
blurColor: "rgba(20, 20, 20, 0.8)", blurColor: darkGrayBlackout,
borderColor: grayDarkStrong, borderColor: grayDarkStrong,
thumbnailBorderColor: grayLightMid, thumbnailBorderColor: grayLightMid,
textColor: white, textColor: white,
@ -1877,7 +1877,7 @@ const Dark: TTheme = {
}, },
search: { search: {
boxShadow: "0px 5px 20px 0px rgba(0, 0, 0, 0.16)", boxShadow: `0px 5px 20px 0px ${popupShadow}`,
}, },
groups: { groups: {
@ -1949,9 +1949,9 @@ const Dark: TTheme = {
sort: { sort: {
background: black, background: black,
hoverBackground: black, hoverBackground: black,
selectedViewIcon: "rgba(255, 255, 255, 0.88)", selectedViewIcon: lightGraySelected,
viewIcon: grayDark, viewIcon: grayDark,
sortFill: "rgba(255, 255, 255, 0.6)", sortFill: darkGrayDark,
tileSortFill: white, tileSortFill: white,
tileSortColor: white, tileSortColor: white,
@ -1977,7 +1977,7 @@ const Dark: TTheme = {
background: black, background: black,
borderBottom: `1px solid ${grayDarkStrong}`, borderBottom: `1px solid ${grayDarkStrong}`,
borderRight: `1px solid ${grayDarkStrong}`, borderRight: `1px solid ${grayDarkStrong}`,
boxShadow: "0px 40px 60px rgba(0, 0, 0, 0.12)", boxShadow: `0px 40px 60px ${menuShadow}`,
}, },
header: { header: {
@ -2083,7 +2083,7 @@ const Dark: TTheme = {
textColor: grayDark, textColor: grayDark,
}, },
animationColor: "rgba(82, 153, 224, 0.16)", animationColor: lightSecondMain,
}, },
advancedSelector: { advancedSelector: {
@ -2136,7 +2136,7 @@ const Dark: TTheme = {
floatingButton: { floatingButton: {
backgroundColor: white, backgroundColor: white,
color: black, color: black,
boxShadow: "0px 12px 24px rgba(0, 0, 0, 0.12)", boxShadow: `0px 12px 24px ${popupShadow}`,
fill: black, fill: black,
alert: { alert: {
@ -2318,7 +2318,7 @@ const Dark: TTheme = {
filesDragTooltip: { filesDragTooltip: {
background: black, background: black,
boxShadow: "0px 5px 20px rgba(0, 0, 0, 0.13)", boxShadow: `0px 5px 20px ${popupShadow}`,
color: white, color: white,
}, },
@ -2713,7 +2713,7 @@ const Dark: TTheme = {
}, },
home: { home: {
logoColor: "rgba(255, 255, 255, 0.92)", logoColor: white,
textColorError: darkErrorStatus, textColorError: darkErrorStatus,
}, },
@ -2911,7 +2911,7 @@ const Dark: TTheme = {
importIconColor: darkGrayDark, importIconColor: darkGrayDark,
groupMenuBackground: black, groupMenuBackground: black,
groupMenuBorder: `1px solid ${grayDarkStrong}`, groupMenuBorder: `1px solid ${grayDarkStrong}`,
groupMenuBoxShadow: "rgba(0, 0, 0, 0.16) 0px 5px 5px 0px", groupMenuBoxShadow: `${menuShadow} 0px 5px 5px 0px`,
linkColor: lightBlueMain, linkColor: lightBlueMain,
background: darkGrayLight, background: darkGrayLight,
}, },
@ -3034,7 +3034,7 @@ const Dark: TTheme = {
formWrapper: { formWrapper: {
background: black, background: black,
boxShadow: "0px 5px 20px rgba(0, 0, 0, 0.16);", boxShadow: `0px 5px 20px ${badgeShadow}`,
}, },
preparationPortalProgress: { preparationPortalProgress: {