Skip to content

Commit 176910a

Browse files
committed
Adding dropdown theming
1 parent 3ab705f commit 176910a

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

lib/src/table/DropdownTheme.jsx

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -20,34 +20,34 @@ export default {
2020
buttonBackgroundColor: componentTokens.table.actionBackgroundColor,
2121
hoverButtonBackgroundColor: componentTokens.table.hoverActionBackgroundColor,
2222
activeButtonBackgroundColor: componentTokens.table.activeActionBackgroundColor,
23-
buttonFontFamily: "Open Sans, sans-serif",
24-
buttonFontSize: "1rem",
25-
buttonFontStyle: "normal",
26-
buttonFontWeight: "400",
27-
buttonFontColor: "#000000",
28-
buttonIconSpacing: "10px",
23+
buttonFontFamily: componentTokens.dropdown.buttonFontFamily,
24+
buttonFontSize: componentTokens.dropdown.buttonFontSize,
25+
buttonFontStyle: componentTokens.dropdown.buttonFontStyle,
26+
buttonFontWeight: componentTokens.dropdown.buttonFontWeight,
27+
buttonFontColor: componentTokens.dropdown.buttonFontColor,
28+
buttonIconSpacing: componentTokens.dropdown.buttonIconSpacing,
2929
buttonIconColor: componentTokens.table.actionIconColor,
3030
disabledColor: componentTokens.table.disabledActionIconColor,
3131
disabledButtonBackgroundColor: componentTokens.table.disabledActionBackgroundColor,
32-
disabledBorderColor: "transparent",
33-
optionBackgroundColor: "#ffffff",
34-
hoverOptionBackgroundColor: "#f2f2f2",
35-
activeOptionBackgroundColor: "#cccccc",
36-
optionFontFamily: "Open Sans, sans-serif",
37-
optionFontStyle: "normal",
38-
optionFontWeight: "400",
39-
optionFontColor: "#000000",
40-
optionIconSize: "20px",
41-
optionIconSpacing: "10px",
42-
optionIconColor: "#000000",
43-
caretIconSize: "24px",
44-
caretIconColor: "#000000",
45-
caretIconSpacing: "12px",
46-
borderRadius: "4px",
47-
borderStyle: "none",
48-
borderThickness: "0px",
49-
borderColor: "transparent",
50-
scrollBarThumbColor: "#666666",
51-
scrollBarTrackColor: "#cccccc",
32+
disabledBorderColor: componentTokens.dropdown.disabledBorderColor,
33+
optionBackgroundColor: componentTokens.dropdown.optionBackgroundColor,
34+
hoverOptionBackgroundColor: componentTokens.dropdown.hoverOptionBackgroundColor,
35+
activeOptionBackgroundColor: componentTokens.dropdown.activeOptionBackgroundColor,
36+
optionFontFamily: componentTokens.dropdown.optionFontFamily,
37+
optionFontStyle: componentTokens.dropdown.optionFontStyle,
38+
optionFontWeight: componentTokens.dropdown.optionFontWeight,
39+
optionFontColor: componentTokens.dropdown.optionFontColor,
40+
optionIconSize: componentTokens.dropdown.optionIconSize,
41+
optionIconSpacing: componentTokens.dropdown.optionIconSpacing,
42+
optionIconColor: componentTokens.dropdown.optionIconColor,
43+
caretIconSize: componentTokens.dropdown.caretIconSize,
44+
caretIconColor: componentTokens.dropdown.caretIconColor,
45+
caretIconSpacing: componentTokens.dropdown.caretIconSpacing,
46+
borderRadius: componentTokens.dropdown.borderRadius,
47+
borderStyle: componentTokens.dropdown.borderStyle,
48+
borderThickness: componentTokens.dropdown.borderThickness,
49+
borderColor: componentTokens.dropdown.borderColor,
50+
scrollBarThumbColor: componentTokens.dropdown.scrollBarThumbColor,
51+
scrollBarTrackColor: componentTokens.dropdown.scrollBarTrackColor,
5252
},
5353
};

0 commit comments

Comments
 (0)