From 35a2824c225fad865a9b63c1960c1f9951c73fa0 Mon Sep 17 00:00:00 2001 From: Giampaolo Bellavite Date: Sat, 30 Nov 2024 18:46:40 -0500 Subject: [PATCH] chore(style): remove unused CSS variable (#2610) --- src/style.css | 1 - src/style.module.css | 1 - website/docs/docs/styling.mdx | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/style.css b/src/style.css index a035b4ec4..ca8b80d87 100644 --- a/src/style.css +++ b/src/style.css @@ -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. */ diff --git a/src/style.module.css b/src/style.module.css index 767e9657e..8d9096830 100644 --- a/src/style.module.css +++ b/src/style.module.css @@ -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. */ diff --git a/website/docs/docs/styling.mdx b/website/docs/docs/styling.mdx index 0941f8a3d..57e8a1d9a 100644 --- a/website/docs/docs/styling.mdx +++ b/website/docs/docs/styling.mdx @@ -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. |