Skip to content

Commit 3ab705f

Browse files
committed
Applying table theme to action dropdown
1 parent 1c9e3f9 commit 3ab705f

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

lib/src/table/DropdownTheme.jsx

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { componentTokens } from "../common/variables";
12
export default {
23
dropdown: {
34
// Breadcrumbs tokens
@@ -16,18 +17,18 @@ export default {
1617
optionPaddingRight: "16px",
1718

1819
// Dropdown tokens
19-
buttonBackgroundColor: "#ffffff",
20-
hoverButtonBackgroundColor: "#f2f2f2",
21-
activeButtonBackgroundColor: "#cccccc",
20+
buttonBackgroundColor: componentTokens.table.actionBackgroundColor,
21+
hoverButtonBackgroundColor: componentTokens.table.hoverActionBackgroundColor,
22+
activeButtonBackgroundColor: componentTokens.table.activeActionBackgroundColor,
2223
buttonFontFamily: "Open Sans, sans-serif",
2324
buttonFontSize: "1rem",
2425
buttonFontStyle: "normal",
2526
buttonFontWeight: "400",
2627
buttonFontColor: "#000000",
2728
buttonIconSpacing: "10px",
28-
buttonIconColor: "#5f249f",
29-
disabledColor: "#999999",
30-
disabledButtonBackgroundColor: "transparent",
29+
buttonIconColor: componentTokens.table.actionIconColor,
30+
disabledColor: componentTokens.table.disabledActionIconColor,
31+
disabledButtonBackgroundColor: componentTokens.table.disabledActionBackgroundColor,
3132
disabledBorderColor: "transparent",
3233
optionBackgroundColor: "#ffffff",
3334
hoverOptionBackgroundColor: "#f2f2f2",

0 commit comments

Comments
 (0)