Skip to content

Commit 4dbb09e

Browse files
committed
[WB-1112] Add theme accent color
1 parent 6ed6765 commit 4dbb09e

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

packages/wonder-blocks-date-picker/src/components/date-picker.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {sizing} from "@khanacademy/wonder-blocks-tokens";
99
import {TemporalLocaleUtils} from "../util/temporal-locale-utils";
1010
import type {CustomModifiers} from "../util/types";
1111
// eslint-disable-next-line import/no-unassigned-import
12-
import "react-day-picker/style.css";
12+
import "./styles/react-day-picker.css";
1313

1414
import DatePickerInput from "./date-picker-input";
1515
import DatePickerOverlay from "./date-picker-overlay";
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
@import "react-day-picker/style.css";
2+
@import "@khanacademy/wonder-blocks-tokens/styles.css";
3+
4+
.rdp-root {
5+
--rdp-accent-color: var(--wb-semanticColor-core-border-instructive-default);
6+
}

0 commit comments

Comments
 (0)