Skip to content

Commit

Permalink
feat: add CSS variable for caption font size (#1703)
Browse files Browse the repository at this point in the history
  • Loading branch information
7PH authored Feb 25, 2023
1 parent b384463 commit 07659d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/react-day-picker/src/style.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.rdp {
--rdp-cell-size: 40px;
--rdp-caption-font-size: 18px;
--rdp-accent-color: #0000ff;
--rdp-background-color: #e7edff;
--rdp-accent-color-dark: #3003e1;
Expand Down Expand Up @@ -130,7 +131,7 @@
border: 0;
border: 2px solid transparent;
font-family: inherit;
font-size: 140%;
font-size: var(--rdp-caption-font-size);
font-weight: bold;
}

Expand Down

0 comments on commit 07659d5

Please sign in to comment.