Skip to content

Commit

Permalink
chore(style): remove unused CSS variable (#2610)
Browse files Browse the repository at this point in the history
  • Loading branch information
gpbl authored Nov 30, 2024
1 parent 3d994aa commit 35a2824
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
--rdp-nav-height: 2.75rem; /* The height of the navigation bar. */

--rdp-range_middle-background-color: var(--rdp-accent-background-color); /* The color of the background for days in the middle of a range. */
--rdp-range_middle-foreground-color: white; /* The foregraound color for days in the middle of a range. */
--rdp-range_middle-color: inherit;/* The color of the range text. */

--rdp-range_start-color: white; /* The color of the range text. */
Expand Down
1 change: 0 additions & 1 deletion src/style.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
--rdp-nav-height: 2.75rem; /* The height of the navigation bar. */

--rdp-range_middle-background-color: var(--rdp-accent-background-color); /* The color of the background for days in the middle of a range. */
--rdp-range_middle-foreground-color: white; /* The foregraound color for days in the middle of a range. */
--rdp-range_middle-color: inherit;/* The color of the range text. */

--rdp-range_start-color: white; /* The color of the range text. */
Expand Down
2 changes: 1 addition & 1 deletion website/docs/docs/styling.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ The following table lists the CSS variables used by DayPicker within the `.rdp-r
| `--rdp-nav_button-width` | The width of the navigation buttons. |
| `--rdp-nav-height` | The height of the navigation bar. |
| `--rdp-range_middle-background-color` | The color of the background for days in the middle of a range. |
| `--rdp-range_middle-foreground-color` | The color of the text for days in the middle of a range. |
| `--rdp-range_middle-color` | The color of the text for days in the middle of a range. |
| `--rdp-range_start-color` | The color of the range text at the start of the range. |
| `--rdp-range_start-background` | Used for the background of the start of the selected range. |
| `--rdp-range_start-date-background-color` | The background color of the date at the start of the selected range. |
Expand Down

0 comments on commit 35a2824

Please sign in to comment.