@typescript-calendar-lib/react 0.1.1 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 nazozokc
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,344 @@
1
+ # @typescript-calendar-lib/react
2
+
3
+ A `<Calendar />` React component with CSS-based themes and color schemes, plus a `useCalendarState` hook for full interactivity. The component is fully controlled — you pass `year` and `month` and it renders the grid.
4
+
5
+ > **Warning: Peer dependency** — Requires React 19. The package doesn't bundle React; install it in your app:
6
+ >
7
+ > ```sh
8
+ > npm install react @typescript-calendar-lib/react
9
+ > ```
10
+
11
+ ## Installation
12
+
13
+ ```sh
14
+ pnpm add @typescript-calendar-lib/react
15
+ # or
16
+ npm install @typescript-calendar-lib/react
17
+ # or
18
+ bun add @typescript-calendar-lib/react
19
+ ```
20
+
21
+ ## Quick Start
22
+
23
+ ```tsx
24
+ import { Calendar } from "@typescript-calendar-lib/react";
25
+ import "@typescript-calendar-lib/react/calendar.css"; // required — component styles
26
+
27
+ export function App() {
28
+ return (
29
+ <Calendar
30
+ year={2026}
31
+ month={9}
32
+ colorScheme="ocean"
33
+ theme="modern"
34
+ />
35
+ );
36
+ }
37
+ ```
38
+
39
+ ## Component API
40
+
41
+ ### `Calendar`
42
+
43
+ ```tsx
44
+ <Calendar year={2026} month={9} />
45
+ ```
46
+
47
+ | Prop | Type | Default | Description |
48
+ | :--- | :--- | :--- | :--- |
49
+ | `year` | `number` | — (required) | Calendar year |
50
+ | `month` | `number` | — (required) | Month, 1-indexed (`1`–`12`) |
51
+ | `locale` | `"en" \| "ja" \| "es" \| "de" \| "fr" \| "ko" \| "zh"` | `"en"` | Language |
52
+ | `weekStart` | `"sunday" \| "monday"` | `"sunday"` | First day of the week |
53
+ | `highlight` | `Date` | — | Date to highlight |
54
+ | `range` | `{ from: Date; to: Date }` | — | Dates to emphasize |
55
+ | `today` | `Date` | — | Reference date for "today" styling |
56
+ | `theme` | `ThemeName \| ReactTheme` | `"default"` | CSS class-based theme |
57
+ | `colorScheme` | `ColorSchemeName \| ReactColorScheme` | `"default"` | CSS variable-based colors |
58
+ | `size` | `CalendarSize` | `"md"` | Cell size |
59
+ | `style` | `CSSProperties` | — | Extra styles for the root element |
60
+ | `interactive` | `boolean` | `false` | Enable cell click/hover/keyboard selection |
61
+ | `onDateClick` | `(date: Date) => void` | — | Called when a day cell is clicked (or Enter/Space pressed) |
62
+ | `onDateHover` | `(date: Date) => void` | — | Called when a day cell is hovered |
63
+ | `onKeyDown` | `(e: KeyboardEvent) => void` | — | Keyboard handler on the grid element |
64
+ | `selectedDate` | `Date \| null` | `null` | Marks the cell `aria-selected` |
65
+ | `cursorDate` | `Date \| null` | `null` | The cell that gets `tabIndex=0` (roving tabindex) |
66
+ | `renderCell` | `(day, date, state) => ReactNode` | — | Custom cell content renderer |
67
+
68
+ The component exports as both named `Calendar` and default.
69
+
70
+ ## Interactive Mode
71
+
72
+ Set `interactive` to make day cells clickable. Each cell becomes a `<button class="calendar-day-btn">` — clickable, hoverable, and keyboard-accessible (Enter / Space):
73
+
74
+ ```tsx
75
+ <Calendar
76
+ year={2026}
77
+ month={9}
78
+ interactive
79
+ onDateClick={(date) => console.log("Selected", date)}
80
+ onDateHover={(date) => console.log("Hovered", date)}
81
+ />
82
+ ```
83
+
84
+ ### `useCalendarState` hook
85
+
86
+ For full interactivity (cursor movement, month navigation, selection), use the `useCalendarState` hook. It wraps the `@typescript-calendar-lib/tui` state machine as React state:
87
+
88
+ ```tsx
89
+ import { Calendar, useCalendarState } from "@typescript-calendar-lib/react";
90
+ import "@typescript-calendar-lib/react/calendar.css"; // required — component styles
91
+
92
+ function App() {
93
+ const {
94
+ state, // CalendarState (tui)
95
+ goNext, // () => void — next month
96
+ goPrev, // () => void — previous month
97
+ goToday, // () => void — jump to today
98
+ navigateYear, // (direction) => void — "prev" | "next" year
99
+ goToMonth, // (year, month) => void — jump to a specific month
100
+ goToDate, // (date) => void — jump to a date's month, cursor on that date
101
+ moveCursor, // (direction) => void — "up" | "down" | "left" | "right"
102
+ selectDate, // () => void — select date under cursor
103
+ clearSelection,
104
+ cursorDate, // Date | null
105
+ selectedDate, // Date | null
106
+ } = useCalendarState({
107
+ initialYear: 2026,
108
+ initialMonth: 9,
109
+ });
110
+
111
+ return (
112
+ <>
113
+ <button onClick={goPrev}>‹</button>
114
+ <Calendar year={state.year} month={state.month} interactive />
115
+ <button onClick={goNext}>›</button>
116
+ </>
117
+ );
118
+ }
119
+ ```
120
+
121
+ `options` also accepts `onMonthChange: (year, month) => void`, called whenever the displayed month changes.
122
+
123
+ ## InteractiveCalendar
124
+
125
+ `InteractiveCalendar` bundles `useCalendarState` + `<Calendar>` into a single self-contained component. It manages its own state and supports keyboard navigation out of the box:
126
+
127
+ | Key | Action |
128
+ | :--- | :--- |
129
+ | Arrow keys | Move the cursor (focus follows the cursor cell) |
130
+ | `PageUp` / `PageDown` | Previous / next month |
131
+ | Enter / Space | Same as clicking the focused cell |
132
+
133
+ ```tsx
134
+ import { InteractiveCalendar } from "@typescript-calendar-lib/react";
135
+ import "@typescript-calendar-lib/react/calendar.css"; // required — component styles
136
+
137
+ function App() {
138
+ return (
139
+ <InteractiveCalendar
140
+ initialYear={2026}
141
+ initialMonth={9}
142
+ theme="modern"
143
+ colorScheme="ocean"
144
+ onMonthChange={(year, month) => console.log("Month:", year, month)}
145
+ onDateClick={(date) => console.log("Selected", date)}
146
+ />
147
+ );
148
+ }
149
+ ```
150
+
151
+ It accepts the `useCalendarState` options (`initialYear`, `initialMonth`, `locale`, `weekStart`, `highlight`, `range`, `today`, `onMonthChange`) plus the `Calendar` visual props (`theme`, `colorScheme`, `size`, `style`, `renderCell`) and event callbacks (`onDateClick`, `onDateHover`).
152
+
153
+ ## Custom Cell Rendering
154
+
155
+ Pass `renderCell` to replace the default day-number content of each cell. It receives the day, the full `Date`, and the cell state:
156
+
157
+ ```tsx
158
+ import type { CalendarCellState } from "@typescript-calendar-lib/core";
159
+
160
+ <Calendar
161
+ year={2026}
162
+ month={9}
163
+ renderCell={(day, date, state) => (
164
+ <span>
165
+ {day}
166
+ {state.isToday && "★"}
167
+ {state.isInRange && "•"}
168
+ </span>
169
+ )}
170
+ />
171
+ ```
172
+
173
+ ---
174
+
175
+ See the interactive demo in the repository docs (`docs/guide/interactive-demo.md`) for a complete example.
176
+
177
+ ## Themes
178
+
179
+ ### `ThemeName`
180
+
181
+ ```ts
182
+ type ThemeName = "default" | "modern" | "minimal" | "rounded" | "retro";
183
+ ```
184
+
185
+ Themes are implemented as CSS classes applied to the root element:
186
+
187
+ - `calendar-theme-default`
188
+ - `calendar-theme-modern`
189
+ - `calendar-theme-minimal`
190
+ - `calendar-theme-rounded`
191
+ - `calendar-theme-retro`
192
+
193
+ Pass a custom theme as an object:
194
+
195
+ ```tsx
196
+ const myTheme: ReactTheme = { className: "my-calendar" };
197
+ ```
198
+
199
+ ### `ReactTheme`
200
+
201
+ ```ts
202
+ interface ReactTheme {
203
+ className: string;
204
+ }
205
+ ```
206
+
207
+ ### `THEMES` / `resolveTheme(theme?)`
208
+
209
+ Predefined theme map and resolver.
210
+
211
+ ## Color Schemes
212
+
213
+ ### `ColorSchemeName`
214
+
215
+ ```ts
216
+ type ColorSchemeName =
217
+ | "default" | "ocean" | "forest" | "sunset"
218
+ | "mono" | "midnight" | "blossom";
219
+ ```
220
+
221
+ ### `ReactColorScheme`
222
+
223
+ A color scheme is a map of `--cal-*` CSS custom properties:
224
+
225
+ ```ts
226
+ type ReactColorScheme = Record<`--cal-${string}`, string>;
227
+ ```
228
+
229
+ Available variables:
230
+
231
+ | Variable | Purpose |
232
+ | :--- | :--- |
233
+ | `--cal-bg` | Background |
234
+ | `--cal-fg` | Foreground |
235
+ | `--cal-accent` | Accent (highlight) |
236
+ | `--cal-weekend-fg` | Weekend foreground |
237
+ | `--cal-border` | Borders |
238
+ | `--cal-header-bg` | Header background |
239
+ | `--cal-highlight-bg` | Highlight background |
240
+ | `--cal-highlight-fg` | Highlight foreground |
241
+ | `--cal-range-bg` | Range background |
242
+ | `--cal-today-bg` | Today background |
243
+ | `--cal-today-fg` | Today foreground |
244
+
245
+ Pass a custom scheme directly:
246
+
247
+ ```tsx
248
+ const myScheme: ReactColorScheme = {
249
+ "--cal-bg": "#ffffff",
250
+ "--cal-fg": "#1e293b",
251
+ "--cal-accent": "#6366f1",
252
+ // ...all keys required
253
+ };
254
+ ```
255
+
256
+ ### `COLOR_SCHEMES` / `resolveColorScheme(scheme?)`
257
+
258
+ Predefined schemes and resolver.
259
+
260
+ ## Sizing
261
+
262
+ ### `CalendarSize`
263
+
264
+ ```ts
265
+ type CalendarSizeName = "sm" | "md" | "lg";
266
+ type CalendarCustomSize = {
267
+ width?: number | string;
268
+ height?: number | string;
269
+ };
270
+ type CalendarSize = CalendarSizeName | CalendarCustomSize;
271
+ ```
272
+
273
+ Use preset sizes (`"sm" | "md" | "lg"`):
274
+
275
+ ```tsx
276
+ <Calendar year={2026} month={9} size="lg" />
277
+ ```
278
+
279
+ Or custom pixel sizes:
280
+
281
+ ```tsx
282
+ <Calendar
283
+ year={2026}
284
+ month={9}
285
+ size={{ width: 48, height: 40 }}
286
+ />
287
+ ```
288
+
289
+ Numbers are treated as pixels; strings pass through as CSS lengths (`"3rem"`, `"2.5em"`, etc.).
290
+
291
+ ## Styling with `style`
292
+
293
+ The `style` prop can override any CSS variable or add custom styles:
294
+
295
+ ```tsx
296
+ <Calendar
297
+ year={2026}
298
+ month={9}
299
+ style={{ "--cal-accent": "#8b5cf6", borderRadius: "1rem" } as React.CSSProperties}
300
+ />
301
+ ```
302
+
303
+ ## Cell Classes
304
+
305
+ Each day cell gets semantic classes you can target with CSS. In interactive mode, the grid is exposed as a `role="grid"` table with `role="gridcell"` cells (WAI-ARIA APG calendar pattern): today's cell gets `aria-current="date"`, the selected date gets `aria-selected`, and only the cursor cell is tabbable (`tabIndex=0`, roving tabindex).
306
+
307
+ | Class | When |
308
+ | :--- | :--- |
309
+ | `is-weekend` | Saturday or Sunday |
310
+ | `is-today` | Matches `today` |
311
+ | `is-highlight` | Matches `highlight` |
312
+ | `is-in-range` | Inside `range` |
313
+
314
+ ## Exports
315
+
316
+ ```ts
317
+ import Calendar, {
318
+ Calendar,
319
+ COLOR_SCHEMES,
320
+ resolveColorScheme,
321
+ resolveTheme,
322
+ THEMES,
323
+ useCalendarState,
324
+ InteractiveCalendar,
325
+ } from "@typescript-calendar-lib/react";
326
+
327
+ import type {
328
+ CalendarCustomSize,
329
+ CalendarProps,
330
+ CalendarSize,
331
+ CalendarSizeName,
332
+ ColorSchemeName,
333
+ InteractiveCalendarProps,
334
+ ReactColorScheme,
335
+ ReactTheme,
336
+ ThemeName,
337
+ UseCalendarStateOptions,
338
+ UseCalendarStateReturn,
339
+ } from "@typescript-calendar-lib/react";
340
+ ```
341
+
342
+ ## License
343
+
344
+ MIT
@@ -1,29 +1,24 @@
1
- /* ─── Base ─────────────────────────────────────────────── */
2
-
3
1
  .calendar {
4
- --cal-bg: #ffffff;
2
+ --cal-bg: #fff;
5
3
  --cal-fg: #1e293b;
6
4
  --cal-accent: #dc2626;
7
5
  --cal-weekend-fg: #94a3b8;
8
6
  --cal-border: #e2e8f0;
9
7
  --cal-header-bg: #f8fafc;
10
8
  --cal-highlight-bg: #dc2626;
11
- --cal-highlight-fg: #ffffff;
9
+ --cal-highlight-fg: #fff;
12
10
  --cal-range-bg: #fef3c7;
13
11
  --cal-today-bg: #fff7ed;
14
12
  --cal-today-fg: #c2410c;
15
-
16
- /* セルサイズ(size propや style の CSS 変数で上書きできる) */
17
13
  --cal-cell-w: 2.25rem;
18
14
  --cal-cell-h: 2rem;
19
- --cal-font-size: 0.875rem;
15
+ --cal-font-size: .875rem;
20
16
  --cal-header-font-size: 1.125rem;
21
-
22
- display: inline-block;
23
- padding: 0.75rem 1rem;
24
17
  background: var(--cal-bg);
25
18
  color: var(--cal-fg);
19
+ padding: .75rem 1rem;
26
20
  font-family: ui-sans-serif, system-ui, sans-serif;
21
+ display: inline-block;
27
22
  }
28
23
 
29
24
  .calendar table {
@@ -32,13 +27,12 @@
32
27
  font-variant-numeric: tabular-nums;
33
28
  }
34
29
 
35
- .calendar th,
36
- .calendar td {
30
+ .calendar th, .calendar td {
37
31
  width: var(--cal-cell-w);
38
32
  height: var(--cal-cell-h);
39
- padding: 0.125rem 0.375rem;
40
33
  text-align: center;
41
34
  font-size: var(--cal-font-size);
35
+ padding: .125rem .375rem;
42
36
  }
43
37
 
44
38
  .calendar th {
@@ -48,15 +42,15 @@
48
42
 
49
43
  .calendar .calendar-header {
50
44
  text-align: center;
51
- margin-bottom: 0.5rem;
45
+ margin-bottom: .5rem;
52
46
  font-size: 1rem;
53
47
  }
54
48
 
55
49
  .calendar .calendar-header h2 {
56
- margin: 0;
57
50
  font-size: var(--cal-header-font-size);
58
- font-weight: 700;
59
51
  color: var(--cal-fg);
52
+ margin: 0;
53
+ font-weight: 700;
60
54
  }
61
55
 
62
56
  .calendar td.is-weekend {
@@ -72,20 +66,18 @@
72
66
  .calendar td.is-highlight {
73
67
  background: var(--cal-highlight-bg);
74
68
  color: var(--cal-highlight-fg);
69
+ border-radius: .375rem;
75
70
  font-weight: 700;
76
- border-radius: 0.375rem;
77
71
  }
78
72
 
79
73
  .calendar td.is-in-range {
80
74
  background: var(--cal-range-bg);
81
75
  }
82
76
 
83
- /* ─── Size ────────────────────────────────────────────── */
84
-
85
77
  .calendar-size-sm {
86
78
  --cal-cell-w: 1.75rem;
87
79
  --cal-cell-h: 1.5rem;
88
- --cal-font-size: 0.75rem;
80
+ --cal-font-size: .75rem;
89
81
  }
90
82
 
91
83
  .calendar-size-lg {
@@ -95,8 +87,6 @@
95
87
  --cal-header-font-size: 1.25rem;
96
88
  }
97
89
 
98
- /* ─── Theme: default ───────────────────────────────────── */
99
-
100
90
  .calendar-theme-default table {
101
91
  border: 1px solid var(--cal-border);
102
92
  }
@@ -113,26 +103,22 @@
113
103
  border-radius: 0;
114
104
  }
115
105
 
116
- /* ─── Theme: modern ────────────────────────────────────── */
117
-
118
106
  .calendar-theme-modern {
119
107
  border-radius: 1rem;
120
- box-shadow:
121
- 0 1px 3px rgb(0 0 0 / 0.1),
122
- 0 8px 24px rgb(0 0 0 / 0.08);
108
+ box-shadow: 0 1px 3px #0000001a, 0 8px 24px #00000014;
123
109
  }
124
110
 
125
111
  .calendar-theme-modern .calendar-header {
126
112
  background: var(--cal-header-bg);
127
- margin: -0.75rem -1rem 0.75rem;
128
- padding: 0.75rem 1rem;
129
- border-radius: 1rem 1rem 0 0;
130
113
  border-bottom: 1px solid var(--cal-border);
114
+ border-radius: 1rem 1rem 0 0;
115
+ margin: -.75rem -1rem .75rem;
116
+ padding: .75rem 1rem;
131
117
  }
132
118
 
133
119
  .calendar-theme-modern table {
134
120
  border: 1px solid var(--cal-border);
135
- border-radius: 0.5rem;
121
+ border-radius: .5rem;
136
122
  overflow: hidden;
137
123
  }
138
124
 
@@ -146,26 +132,24 @@
146
132
  }
147
133
 
148
134
  .calendar-theme-modern td:empty {
149
- border-color: transparent;
150
- background: transparent;
135
+ background: none;
136
+ border-color: #0000;
151
137
  }
152
138
 
153
139
  .calendar-theme-modern td.is-today {
154
- border-radius: 0.375rem;
140
+ border-radius: .375rem;
155
141
  }
156
142
 
157
143
  .calendar-theme-modern td.is-highlight {
158
- box-shadow: 0 1px 2px rgb(0 0 0 / 0.15);
144
+ box-shadow: 0 1px 2px #00000026;
159
145
  }
160
146
 
161
- /* ─── Theme: minimal ───────────────────────────────────── */
162
-
163
147
  .calendar-theme-minimal {
164
- padding: 0.5rem;
148
+ padding: .5rem;
165
149
  }
166
150
 
167
151
  .calendar-theme-minimal .calendar-header {
168
- margin-bottom: 0.25rem;
152
+ margin-bottom: .25rem;
169
153
  }
170
154
 
171
155
  .calendar-theme-minimal table {
@@ -181,42 +165,31 @@
181
165
  }
182
166
 
183
167
  .calendar-theme-minimal td.is-highlight {
184
- border-radius: 0.25rem;
168
+ border-radius: .25rem;
185
169
  }
186
170
 
187
- /* ─── Theme: rounded ───────────────────────────────────── */
188
-
189
171
  .calendar-theme-rounded {
190
172
  border-radius: 1rem;
191
173
  }
192
174
 
193
175
  .calendar-theme-rounded table {
194
176
  border-collapse: separate;
195
- border-spacing: 0.25rem;
196
- }
197
-
198
- .calendar-theme-rounded th {
199
- border: 0;
200
- border-radius: 999px;
177
+ border-spacing: .25rem;
201
178
  }
202
179
 
203
- .calendar-theme-rounded td {
180
+ .calendar-theme-rounded th, .calendar-theme-rounded td {
204
181
  border: 0;
205
182
  border-radius: 999px;
206
183
  }
207
184
 
208
- .calendar-theme-rounded td.is-today,
209
- .calendar-theme-rounded td.is-highlight,
210
- .calendar-theme-rounded td.is-in-range {
185
+ .calendar-theme-rounded td.is-today, .calendar-theme-rounded td.is-highlight, .calendar-theme-rounded td.is-in-range {
211
186
  border-radius: 999px;
212
187
  }
213
188
 
214
189
  .calendar-theme-rounded td:empty {
215
- background: transparent;
190
+ background: none;
216
191
  }
217
192
 
218
- /* ─── Interactive ──────────────────────────────────────── */
219
-
220
193
  .calendar-interactive {
221
194
  outline: none;
222
195
  }
@@ -226,23 +199,20 @@
226
199
  }
227
200
 
228
201
  .calendar-interactive td button.calendar-day-btn {
229
- display: block;
230
202
  width: 100%;
231
203
  height: 100%;
232
- margin: 0;
233
- padding: 0;
234
- border: 0;
235
- background: transparent;
236
204
  color: inherit;
237
205
  font: inherit;
238
206
  line-height: inherit;
239
207
  text-align: center;
240
208
  border-radius: inherit;
241
209
  cursor: pointer;
242
- transition:
243
- background-color 0.15s ease,
244
- color 0.15s ease,
245
- transform 0.1s ease;
210
+ background: none;
211
+ border: 0;
212
+ margin: 0;
213
+ padding: 0;
214
+ transition: background-color .15s, color .15s, transform .1s;
215
+ display: block;
246
216
  }
247
217
 
248
218
  .calendar-interactive td button.calendar-day-btn:hover {
@@ -255,24 +225,22 @@
255
225
  }
256
226
 
257
227
  .calendar-interactive td button.calendar-day-btn:active {
258
- transform: scale(0.95);
228
+ transform: scale(.95);
259
229
  }
260
230
 
261
- /* ─── Theme: retro ─────────────────────────────────────── */
262
-
263
231
  .calendar-theme-retro {
264
- padding: 0.75rem;
265
232
  border: 2px solid var(--cal-fg);
266
233
  border-radius: 0;
234
+ padding: .75rem;
267
235
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
268
236
  }
269
237
 
270
238
  .calendar-theme-retro .calendar-header {
271
239
  background: var(--cal-header-bg);
272
240
  border-bottom: 3px double var(--cal-fg);
273
- margin: -0.75rem -0.75rem 0.75rem;
274
- padding: 0.5rem 0.75rem;
275
- letter-spacing: 0.05em;
241
+ letter-spacing: .05em;
242
+ margin: -.75rem -.75rem .75rem;
243
+ padding: .5rem .75rem;
276
244
  }
277
245
 
278
246
  .calendar-theme-retro table {
@@ -290,7 +258,6 @@
290
258
  border-radius: 0;
291
259
  }
292
260
 
293
- .calendar-theme-retro td.is-highlight,
294
- .calendar-theme-retro td.is-today {
261
+ .calendar-theme-retro td.is-highlight, .calendar-theme-retro td.is-today {
295
262
  border-radius: 0;
296
263
  }