Skip to content

Commit 4bdc5bd

Browse files
committed
fix dark theme
1 parent 86462c2 commit 4bdc5bd

File tree

1 file changed

+9
-66
lines changed

1 file changed

+9
-66
lines changed

db-viewer-ui/stories/Themes/reactUiDark.ts

Lines changed: 9 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -2,73 +2,16 @@ import { darkTheme } from "@skbkontur/react-ui/internal/ThemePlayground/darkThem
22

33
export const reactUiDark = {
44
...darkTheme,
5-
chbCheckedColor: "#000",
6-
chbBg: "linear-gradient(#fdfdfd, #ededed) !important",
7-
chbHoverBg: "linear-gradient(-180deg, #f2f2f2 0, #dfdfdf 100%) !important",
8-
radioBgImage: "linear-gradient(#fdfdfd, #ededed) !important",
9-
radioHoverBg: "linear-gradient(-180deg, #f2f2f2 0, #dfdfdf 100%) !important",
10-
radioDisabledShadow: "0 0 0 1px rgba(0, 0, 0, 0.15) !important",
11-
chbIndeterminateBg: "#000",
12-
chbShadowDisabled: "rgba(255, 255, 255, .5)",
13-
textColorDefault: "#fff",
14-
textColorInvert: "#fff",
15-
textColorDisabled: "#a0a0a0",
5+
hintBgColor: "rgba(80, 80, 80, 0.8)",
166
linkColor: "#00A8FF",
177
linkActiveColor: "#0488E0",
188
linkHoverColor: "#00A8FF",
19-
linkDisabledColor: "#a0a0a0",
20-
linkHoverTextDecoration: "underline",
21-
menuItemHoverBg: "#0488E0",
22-
menuItemSelectedBg: "rgba(255, 255, 255, 0.05)",
23-
loaderBg: "rgba(51, 51, 51, 0.8)",
24-
loaderOpacity: "0.9",
25-
btnDisabledBg: "rgba(255, 255, 255, 0.05)",
26-
btnDisabledShadowColor: "rgba(0, 0, 0, 0.15)",
27-
btnCheckedBg: "#737373",
28-
btnCheckedTextColor: "#fff",
29-
btnCheckedShadowColorArrow: "rgba(0, 0, 0, 0.3)",
30-
btnDefaultBgStart: "none",
31-
btnDefaultBgArrowStart: "#333",
32-
btnDefaultBgEnd: "none",
33-
btnDefaultBgArrowEnd: "#333",
34-
btnDefaultBorder: "1px solid #4D4D4D",
35-
btnDefaultShadow: "1px",
36-
btnDefaultShadowArrow: "1.2px -1px 0 0 rgba(255, 255, 255, 1), 1px 0 0 0 rgba(255, 255, 255, 1)",
37-
btnDefaultShadowArrowLeft: "1px -1px 0 0 rgba(255, 255, 255, 1), 0 0 0 0 rgba(255, 255, 255, 1)",
38-
btnDefaultHoverBgStart: "#333",
39-
btnDefaultHoverBgEnd: "#333",
40-
btnDefaultHoverBorderColor: "rgba(255, 255, 255, 0.07)",
41-
btnDefaultHoverShadow: "0 1px 0 0 rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.2)",
42-
btnDefaultHoverShadowArrow: "1px -1px 0 0 rgba(0, 0, 0, 0.15), 1px 0 0 0 rgba(0, 0, 0, 0.2)",
43-
btnDefaultHoverShadowArrowLeft: "1px -1px 0 0 rgba(0, 0, 0, 0.15), 0 -1px 0 0 rgba(0, 0, 0, 0.2)",
44-
btnDefaultActiveBg: "#2E2D2C",
45-
btnDefaultActiveShadow:
46-
"0 -1px 0 0 rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.2), inset 0 1px 2px 0 rgba(0, 0, 0, 0.1)",
47-
btnDefaultActiveShadowArrow:
48-
"0 -2px 0 -1px rgba(0, 0, 0, 0.1), 1px -1px 0 0 rgba(0, 0, 0, 0.2), inset 0 4px 5px -4px rgba(0, 0, 0, 0.1)",
49-
btnDefaultActiveShadowArrowLeft:
50-
"0 -1px 0 0 rgba(0, 0, 0, 0.1), 1px -0.3px 0 0 rgba(0, 0, 0, 0.2), inset -4px 0 5px -4px rgba(0, 0, 0, 0.2)",
51-
modalBackBg: "#333",
52-
modalBackOpacity: "0.6",
53-
modalCloseButtonColor: "rgba(255, 255, 255, 0.5)",
54-
modalCloseButtonDisabledColor: "#8b8b8b",
55-
modalCloseButtonHoverColor: "rgba(255, 255, 255, 0.7)",
56-
modalFixedHeaderBg: "#333333",
57-
modalFixedHeaderShadow: "0 1px 7px #000000",
58-
modalFixedFooterShadow: "0 -1px 10px #000000",
59-
modalFooterBg: "#272727",
60-
modalAdaptiveThreshold: "425px",
61-
dropdownMenuSelectedBg: "#403F3F",
62-
dropdownMenuHoverBg: "#4D4D4D",
63-
menuSeparatorBorderColor: "#404040",
64-
tbBg: "#262626",
65-
tbShadow: "0 1px 1px 0 rgba(0, 0, 0, 0.1), 0 1px 8px 0 rgba(0, 0, 0, 0.1)",
66-
tdDividerBg: "#808080",
67-
menuItemPaddingForIcon: "36px",
68-
menuBorder: "rgba(0, 0, 0, 0)",
69-
menuShadow: "0 0 0 1px #404040, 0 5px 20px 0 rgba(0, 0, 0, 0.4)",
70-
btnMenuArrowColor: "#666",
71-
inputColor: "#fff",
72-
inputTextColor: "#fff",
73-
inputBg: "#333",
9+
btnDefaultActiveBg: "#444444",
10+
btnDefaultActiveBorderColor: "rgba(66,66,66,0.5)",
11+
btnDefaultActiveBorderTopColor: "rgba(66,66,66,0.3)",
12+
btnDefaultBorderBottomColor: "rgba(66,66,66, 1)",
13+
btnDefaultBorderColor: "rgba(66,66,66, 1)",
14+
btnDefaultHoverBg: "#363636",
15+
btnDefaultHoverBorderBottomColor: "rgba(66,66,66,0.7)",
16+
btnDefaultHoverBorderColor: "rgba(66,66,66,0.9)",
7417
};

0 commit comments

Comments
 (0)