@dayflow/core 3.3.5 → 3.3.6

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.
@@ -1,22 +1,5 @@
1
1
  /*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
2
2
  @layer theme, base, df-theme, components, utilities;
3
- @layer theme {
4
- :root, :host {
5
- --color-gray-100: oklch(96.7% 0.003 264.542);
6
- --color-gray-200: oklch(92.8% 0.006 264.531);
7
- --color-gray-300: oklch(87.2% 0.01 258.338);
8
- --color-gray-600: oklch(44.6% 0.03 256.802);
9
- --color-gray-700: oklch(37.3% 0.034 259.733);
10
- --color-gray-800: oklch(27.8% 0.033 256.848);
11
- --spacing: 0.25rem;
12
- --text-sm: 0.875rem;
13
- --text-sm--line-height: calc(1.25 / 0.875);
14
- --radius-sm: 0.25rem;
15
- --radius-lg: 0.5rem;
16
- --default-transition-duration: 150ms;
17
- --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
18
- }
19
- }
20
3
  .bcp-root {
21
4
  position: relative;
22
5
  display: inline-flex;
@@ -96,27 +79,6 @@
96
79
  .bcp-petal-ring {
97
80
  pointer-events: none;
98
81
  }
99
- .df-calendar-container {
100
- color-scheme: light dark;
101
- }
102
- .df-calendar-container,
103
- .df-portal {
104
- --color-background: var(--df-color-background);
105
- --color-foreground: var(--df-color-foreground);
106
- --color-hover: var(--df-color-hover);
107
- --color-border: var(--df-color-border);
108
- --color-card: var(--df-color-card);
109
- --color-card-foreground: var(--df-color-card-foreground);
110
- --color-muted: var(--df-color-muted);
111
- --color-muted-foreground: var(--df-color-muted-foreground);
112
- --color-primary: var(--df-color-primary);
113
- --color-primary-foreground: var(--df-color-primary-foreground);
114
- --color-secondary: var(--df-color-secondary);
115
- --color-secondary-foreground: var(--df-color-secondary-foreground);
116
- --color-destructive: var(--df-color-destructive);
117
- --color-destructive-foreground: var(--df-color-destructive-foreground);
118
- --hover: var(--df-color-hover);
119
- }
120
82
  @layer df-theme {
121
83
  :where(:root) {
122
84
  --df-color-background: rgb(255 255 255);
@@ -171,125 +133,114 @@
171
133
  }
172
134
  @layer components {
173
135
  .df-calendar-container {
136
+ color-scheme: light dark;
174
137
  position: relative;
175
138
  display: flex;
176
139
  flex-direction: row;
177
140
  overflow: hidden;
178
- border-radius: var(--radius-lg);
141
+ border-radius: 0.5rem;
179
142
  background-color: var(--df-color-background);
180
143
  border: 1px solid var(--df-color-border);
181
- box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1),
182
- 0 4px 6px -4px rgb(0 0 0 / 0.1);
144
+ box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
183
145
  --df-calendar-height: 800px;
184
146
  height: var(--df-calendar-height, 800px);
185
147
  font-family: Arial;
186
- .df-header,
187
- .df-calendar,
188
- .df-month-view {
189
- background-color: var(--df-color-background);
190
- }
191
- .df-sidebar {
192
- background-color: var(--df-color-background);
193
- border-color: var(--df-color-border);
194
- }
195
- .df-week-header-row,
196
- .df-week-header {
197
- background-color: var(--df-color-background);
198
- border-color: var(--df-color-border);
199
- }
200
- .df-month-day-cell,
201
- .df-time-grid-cell,
202
- .df-all-day-cell,
203
- .df-time-column,
204
- .df-time-grid-row,
205
- .df-time-grid-boundary,
206
- .df-all-day-row,
207
- .df-mini-calendar {
208
- border-color: var(--df-color-border);
209
- }
210
- .df-year-grid-month {
211
- --heat-1: #ebf5ff;
212
- --heat-2: #cfe8ff;
213
- --heat-3: #91d5ff;
214
- --heat-4: #60a5fa;
215
- --heat-5: #3b82f6;
216
- }
217
- .dark & .df-year-grid-month {
218
- --heat-1: #1e3a5f;
219
- --heat-2: #2563eb;
220
- --heat-3: #1e40af;
221
- --heat-4: #3b82f6;
222
- --heat-5: #93c5fd;
223
- }
224
148
  }
225
- @media (max-width: 768px) {
226
- .df-calendar-container {
227
- --df-calendar-height: 550px;
228
- }
149
+ .df-calendar-container, .df-portal, .df-event-detail-panel, .df-dialog-container, .df-range-picker {
150
+ --color-background: var(--df-color-background);
151
+ --color-foreground: var(--df-color-foreground);
152
+ --color-hover: var(--df-color-hover);
153
+ --color-border: var(--df-color-border);
154
+ --color-card: var(--df-color-card);
155
+ --color-card-foreground: var(--df-color-card-foreground);
156
+ --color-muted: var(--df-color-muted);
157
+ --color-muted-foreground: var(--df-color-muted-foreground);
158
+ --color-primary: var(--df-color-primary);
159
+ --color-primary-foreground: var(--df-color-primary-foreground);
160
+ --color-secondary: var(--df-color-secondary);
161
+ --color-secondary-foreground: var(--df-color-secondary-foreground);
162
+ --color-destructive: var(--df-color-destructive);
163
+ --color-destructive-foreground: var(--df-color-destructive-foreground);
164
+ --hover: var(--df-color-hover);
165
+ }
166
+ .df-calendar-container .df-header, .df-calendar-container .df-calendar, .df-calendar-container .df-month-view {
167
+ background-color: var(--df-color-background);
168
+ }
169
+ .df-calendar-container .df-sidebar {
170
+ background-color: var(--df-color-background);
171
+ border-color: var(--df-color-border);
172
+ }
173
+ .df-calendar-container .df-week-header-row, .df-calendar-container .df-week-header {
174
+ background-color: var(--df-color-background);
175
+ border-color: var(--df-color-border);
176
+ }
177
+ .df-calendar-container .df-month-day-cell, .df-calendar-container .df-time-grid-cell, .df-calendar-container .df-all-day-cell, .df-calendar-container .df-time-column, .df-calendar-container .df-time-grid-row, .df-calendar-container .df-time-grid-boundary, .df-calendar-container .df-all-day-row, .df-calendar-container .df-mini-calendar {
178
+ border-color: var(--df-color-border);
179
+ }
180
+ .df-calendar-container .df-year-grid-month {
181
+ --heat-1: #ebf5ff;
182
+ --heat-2: #cfe8ff;
183
+ --heat-3: #91d5ff;
184
+ --heat-4: #60a5fa;
185
+ --heat-5: #3b82f6;
186
+ }
187
+ .dark .df-calendar-container .df-year-grid-month {
188
+ --heat-1: #1e3a5f;
189
+ --heat-2: #2563eb;
190
+ --heat-3: #1e40af;
191
+ --heat-4: #3b82f6;
192
+ --heat-5: #93c5fd;
229
193
  }
230
194
  .df-calendar-time-column {
231
- width: calc(var(--spacing) * 20);
195
+ width: 5rem;
232
196
  flex-shrink: 0;
233
197
  border-color: var(--df-color-border);
234
198
  }
235
199
  .df-calendar-nav-button {
200
+ padding: 0.25rem;
201
+ color: rgb(75 85 99);
236
202
  border-radius: 0.25rem;
237
- padding: calc(var(--spacing) * 1);
238
- color: var(--color-gray-600);
239
- transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
240
- transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
241
- transition-duration: var(--tw-duration, var(--default-transition-duration));
242
- &:hover {
243
- @media (hover: hover) {
244
- background-color: var(--color-gray-100);
245
- }
246
- }
247
- .dark & {
248
- color: var(--color-gray-300);
249
- }
250
- .dark & {
251
- &:hover {
252
- @media (hover: hover) {
253
- background-color: var(--color-gray-800);
254
- }
255
- }
256
- }
203
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
204
+ transition-duration: 150ms;
205
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
206
+ }
207
+ .dark .df-calendar-nav-button {
208
+ color: rgb(209 213 219);
209
+ }
210
+ .df-calendar-nav-button:hover {
211
+ background-color: rgb(243 244 246);
212
+ }
213
+ .dark .df-calendar-nav-button:hover {
214
+ background-color: rgb(31 41 55);
257
215
  }
258
216
  .df-calendar-today-button {
217
+ padding: 0.25rem 1rem;
218
+ font-size: 0.875rem;
219
+ line-height: 1.25rem;
220
+ color: rgb(55 65 81);
259
221
  border-radius: 0.25rem;
260
- padding-inline: calc(var(--spacing) * 4);
261
- padding-block: calc(var(--spacing) * 1);
262
- font-size: var(--text-sm);
263
- line-height: var(--tw-leading, var(--text-sm--line-height));
264
- color: var(--color-gray-700);
265
- transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
266
- transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
267
- transition-duration: var(--tw-duration, var(--default-transition-duration));
268
- &:hover {
269
- @media (hover: hover) {
270
- background-color: var(--color-gray-100);
271
- }
272
- }
273
- .dark & {
274
- color: var(--color-gray-200);
275
- }
276
- .dark & {
277
- &:hover {
278
- @media (hover: hover) {
279
- background-color: var(--color-gray-800);
280
- }
281
- }
282
- }
222
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
223
+ transition-duration: 150ms;
224
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
225
+ }
226
+ .dark .df-calendar-today-button {
227
+ color: rgb(229 231 235);
228
+ }
229
+ .df-calendar-today-button:hover {
230
+ background-color: rgb(243 244 246);
231
+ }
232
+ .dark .df-calendar-today-button:hover {
233
+ background-color: rgb(31 41 55);
283
234
  }
284
235
  .df-calendar-checkbox {
285
- margin-right: calc(var(--spacing) * 2);
236
+ margin-right: 0.5rem;
286
237
  display: inline-flex;
287
- height: calc(var(--spacing) * 4);
288
- width: calc(var(--spacing) * 4);
238
+ height: 1rem;
239
+ width: 1rem;
289
240
  cursor: pointer;
290
241
  align-items: center;
291
242
  justify-content: center;
292
- border-radius: var(--radius-sm);
243
+ border-radius: 0.25rem;
293
244
  border: 1px solid var(--df-color-border);
294
245
  -webkit-appearance: none;
295
246
  -moz-appearance: none;
@@ -314,11 +265,205 @@
314
265
  border-width: 0 2px 2px 0;
315
266
  transform: rotate(45deg);
316
267
  }
317
- .df-event-detail-panel,
318
- .df-dialog-container {
268
+ .df-event-detail-panel, .df-dialog-container {
319
269
  background-color: var(--df-color-card);
320
270
  border-color: var(--df-color-border);
321
271
  }
272
+ .df-calendar-container .df-header-left, .df-calendar-container .df-header-mid, .df-calendar-container .df-header-right {
273
+ flex: 1;
274
+ }
275
+ .df-current-time-bar {
276
+ background-color: var(--df-color-primary);
277
+ }
278
+ .df-current-time-label {
279
+ background-color: var(--df-color-primary);
280
+ color: var(--df-color-primary-foreground);
281
+ }
282
+ .df-today-button {
283
+ color: var(--df-color-primary);
284
+ }
285
+ .df-today-button:hover, .df-nav-button:hover {
286
+ background-color: var(--df-color-primary);
287
+ @supports (color: color-mix(in lab, red, red)) {
288
+ background-color: color-mix( in srgb, var(--df-color-primary) 10%, transparent );
289
+ }
290
+ }
291
+ .df-nav-button:hover {
292
+ color: var(--df-color-primary);
293
+ }
294
+ .df-search-group:focus-within .df-search-focus-within-primary {
295
+ color: var(--df-color-primary);
296
+ }
297
+ .df-fill-primary {
298
+ background-color: var(--df-color-primary);
299
+ color: var(--df-color-primary-foreground);
300
+ }
301
+ .df-fill-secondary {
302
+ background-color: var(--df-color-secondary);
303
+ color: var(--df-color-secondary-foreground);
304
+ }
305
+ .df-fill-destructive {
306
+ background-color: var(--df-color-destructive);
307
+ color: var(--df-color-destructive-foreground);
308
+ }
309
+ .df-tint-primary {
310
+ background-color: var(--df-color-primary);
311
+ @supports (color: color-mix(in lab, red, red)) {
312
+ background-color: color-mix( in srgb, var(--df-color-primary) 10%, transparent );
313
+ }
314
+ color: var(--df-color-primary);
315
+ }
316
+ .df-tint-primary-md {
317
+ background-color: var(--df-color-primary);
318
+ @supports (color: color-mix(in lab, red, red)) {
319
+ background-color: color-mix( in srgb, var(--df-color-primary) 20%, transparent );
320
+ }
321
+ color: var(--df-color-primary);
322
+ }
323
+ .df-tint-primary-lg {
324
+ background-color: var(--df-color-primary);
325
+ @supports (color: color-mix(in lab, red, red)) {
326
+ background-color: color-mix( in srgb, var(--df-color-primary) 30%, transparent );
327
+ }
328
+ color: var(--df-color-primary);
329
+ }
330
+ .dark .df-dark-tint-primary-md {
331
+ background-color: var(--df-color-primary);
332
+ @supports (color: color-mix(in lab, red, red)) {
333
+ background-color: color-mix( in srgb, var(--df-color-primary) 20%, transparent );
334
+ }
335
+ }
336
+ .df-hover-primary:hover {
337
+ background-color: var(--df-color-primary);
338
+ @supports (color: color-mix(in lab, red, red)) {
339
+ background-color: color-mix( in srgb, var(--df-color-primary) 10%, transparent );
340
+ }
341
+ color: var(--df-color-primary);
342
+ }
343
+ .df-hover-primary-md:hover {
344
+ background-color: var(--df-color-primary);
345
+ @supports (color: color-mix(in lab, red, red)) {
346
+ background-color: color-mix( in srgb, var(--df-color-primary) 20%, transparent );
347
+ }
348
+ color: var(--df-color-primary);
349
+ }
350
+ .dark .df-hover-primary-dark-md:hover {
351
+ background-color: var(--df-color-primary);
352
+ @supports (color: color-mix(in lab, red, red)) {
353
+ background-color: color-mix( in srgb, var(--df-color-primary) 20%, transparent );
354
+ }
355
+ }
356
+ .df-hover-primary-solid:hover {
357
+ background-color: var(--df-color-primary);
358
+ @supports (color: color-mix(in lab, red, red)) {
359
+ background-color: color-mix( in srgb, var(--df-color-primary) 90%, transparent );
360
+ }
361
+ }
362
+ .df-hover-destructive:hover {
363
+ background-color: var(--df-color-destructive);
364
+ @supports (color: color-mix(in lab, red, red)) {
365
+ background-color: color-mix( in srgb, var(--df-color-destructive) 90%, transparent );
366
+ }
367
+ }
368
+ .df-hover-fill-destructive:hover {
369
+ background-color: var(--df-color-destructive);
370
+ color: var(--df-color-destructive-foreground);
371
+ }
372
+ .df-focus-fill-destructive:focus {
373
+ background-color: var(--df-color-destructive);
374
+ color: var(--df-color-destructive-foreground);
375
+ }
376
+ .df-text-primary {
377
+ color: var(--df-color-primary);
378
+ }
379
+ .df-text-primary-fg {
380
+ color: var(--df-color-primary-foreground);
381
+ }
382
+ .df-text-secondary-fg {
383
+ color: var(--df-color-secondary-foreground);
384
+ }
385
+ .df-text-destructive {
386
+ color: var(--df-color-destructive);
387
+ }
388
+ .df-text-destructive-fg {
389
+ color: var(--df-color-destructive-foreground);
390
+ }
391
+ .df-border-primary {
392
+ border-color: var(--df-color-primary);
393
+ }
394
+ .df-border-primary-soft {
395
+ border-color: var(--df-color-primary);
396
+ @supports (color: color-mix(in lab, red, red)) {
397
+ border-color: color-mix(in srgb, var(--df-color-primary) 50%, transparent);
398
+ }
399
+ }
400
+ .df-ring-primary {
401
+ --tw-ring-color: var(--df-color-primary);
402
+ @supports (color: color-mix(in lab, red, red)) {
403
+ --tw-ring-color: color-mix(
404
+ in srgb,
405
+ var(--df-color-primary) 20%,
406
+ transparent
407
+ );
408
+ }
409
+ }
410
+ .df-ring-primary-solid {
411
+ --tw-ring-color: var(--df-color-primary);
412
+ }
413
+ .df-shadow-primary {
414
+ --tw-shadow-color: var(--df-color-primary);
415
+ @supports (color: color-mix(in lab, red, red)) {
416
+ --tw-shadow-color: color-mix(
417
+ in srgb,
418
+ var(--df-color-primary) 20%,
419
+ transparent
420
+ );
421
+ }
422
+ }
423
+ .df-focus-ring:focus {
424
+ border-color: var(--df-color-primary);
425
+ --tw-ring-color: var(--df-color-primary);
426
+ }
427
+ .df-focus-ring-only:focus {
428
+ --tw-ring-color: var(--df-color-primary);
429
+ }
430
+ .df-focus-border-primary:focus {
431
+ border-color: var(--df-color-primary);
432
+ }
433
+ .df-all-day-event-animate {
434
+ animation: df-event-pop-in 0.3s ease-out forwards;
435
+ }
436
+ .df-animate-in {
437
+ animation-duration: 200ms;
438
+ animation-fill-mode: forwards;
439
+ animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
440
+ }
441
+ .df-fade-in {
442
+ animation-name: df-fade-in;
443
+ }
444
+ .df-zoom-in-95 {
445
+ animation-name: df-zoom-in;
446
+ }
447
+ .df-fade-in.df-zoom-in-95 {
448
+ animation-name: df-fade-in, df-zoom-in;
449
+ }
450
+ .df-animate-slide-up {
451
+ animation: df-slide-up 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
452
+ }
453
+ .df-animate-slide-down {
454
+ animation: df-slide-down 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
455
+ }
456
+ @media (max-width: 768px) {
457
+ .df-calendar-container {
458
+ --df-calendar-height: 550px;
459
+ }
460
+ }
461
+ @media (max-width: 767px) {
462
+ .df-mobile-mask-fade {
463
+ mask-image: linear-gradient(to right, black 70%, transparent 100%);
464
+ -webkit-mask-image: linear-gradient( to right, black 70%, transparent 100% );
465
+ }
466
+ }
322
467
  }
323
468
  .df-calendar-container *::-webkit-scrollbar {
324
469
  width: 2px;
@@ -344,43 +489,27 @@
344
489
  .dark .df-calendar-container * {
345
490
  scrollbar-color: #4b5563 transparent;
346
491
  }
347
- .df-calendar-container .df-header-left {
348
- flex: 1;
349
- }
350
- .df-calendar-container .df-header-mid {
351
- flex: 1;
352
- }
353
- .df-calendar-container .df-header-right {
354
- flex: 1;
355
- }
356
- .df-calendar-container.df-drag-active,
357
- .df-calendar-container .df-drag-active {
492
+ .df-calendar-container.df-drag-active, .df-calendar-container .df-drag-active {
358
493
  -moz-user-select: none;
359
494
  user-select: none;
360
495
  -webkit-user-select: none;
361
496
  }
362
- .df-calendar-container.df-drag-active .calendar-event,
363
- .df-calendar-container.df-drag-active .df-month-more-events,
364
- .df-calendar-container.df-drag-active .df-month-title,
365
- .df-calendar-container.df-drag-active .df-year-event-content {
497
+ .df-calendar-container.df-drag-active .calendar-event, .df-calendar-container.df-drag-active .df-month-more-events, .df-calendar-container.df-drag-active .df-month-title, .df-calendar-container.df-drag-active .df-year-event-content {
366
498
  pointer-events: none;
367
499
  }
368
- .df-calendar-container .df-cursor-ns-resize,
369
- .df-calendar-container .df-cursor-ns-resize * {
500
+ .df-calendar-container .df-cursor-ns-resize, .df-calendar-container .df-cursor-ns-resize * {
370
501
  cursor: ns-resize;
371
502
  }
372
- .df-calendar-container .df-cursor-ew-resize,
373
- .df-calendar-container .df-cursor-ew-resize * {
503
+ .df-calendar-container .df-cursor-ew-resize, .df-calendar-container .df-cursor-ew-resize * {
374
504
  cursor: ew-resize;
375
505
  }
376
- .df-calendar-container .df-cursor-grabbing,
377
- .df-calendar-container .df-cursor-grabbing * {
506
+ .df-calendar-container .df-cursor-grabbing, .df-calendar-container .df-cursor-grabbing * {
378
507
  cursor: grabbing;
379
508
  }
380
- .df-calendar-container .scrollbar-hide::-webkit-scrollbar {
509
+ .df-scrollbar-hide::-webkit-scrollbar {
381
510
  display: none;
382
511
  }
383
- .df-calendar-container .scrollbar-hide {
512
+ .df-scrollbar-hide {
384
513
  -ms-overflow-style: none;
385
514
  scrollbar-width: none;
386
515
  }
@@ -410,9 +539,6 @@
410
539
  transform: scale(1) translateY(0);
411
540
  }
412
541
  }
413
- .df-all-day-event-animate {
414
- animation: df-event-pop-in 0.3s ease-out forwards;
415
- }
416
542
  @keyframes df-zoom-in {
417
543
  from {
418
544
  transform: scale(0.95);
@@ -421,20 +547,6 @@
421
547
  transform: scale(1);
422
548
  }
423
549
  }
424
- .df-animate-in {
425
- animation-duration: 200ms;
426
- animation-fill-mode: forwards;
427
- animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
428
- }
429
- .df-fade-in {
430
- animation-name: df-fade-in;
431
- }
432
- .df-zoom-in-95 {
433
- animation-name: df-zoom-in;
434
- }
435
- .df-fade-in.df-zoom-in-95 {
436
- animation-name: df-fade-in, df-zoom-in;
437
- }
438
550
  @keyframes df-slide-up {
439
551
  from {
440
552
  transform: translateY(100%);
@@ -451,200 +563,3 @@
451
563
  transform: translateY(100%);
452
564
  }
453
565
  }
454
- .df-animate-slide-up {
455
- animation: df-slide-up 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
456
- }
457
- .df-animate-slide-down {
458
- animation: df-slide-down 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
459
- }
460
- @media (max-width: 767px) {
461
- .df-mobile-mask-fade {
462
- mask-image: linear-gradient(to right, black 70%, transparent 100%);
463
- -webkit-mask-image: linear-gradient(to right, black 70%, transparent 100%);
464
- }
465
- }
466
- .df-current-time-bar {
467
- background-color: var(--df-color-primary);
468
- }
469
- .df-current-time-label {
470
- background-color: var(--df-color-primary);
471
- color: var(--df-color-primary-foreground);
472
- }
473
- .df-current-time-line .bg-primary {
474
- background-color: var(--df-color-primary);
475
- }
476
- .df-current-time-line .bg-primary\/30 {
477
- background-color: var(--df-color-primary);
478
- @supports (color: color-mix(in lab, red, red)) {
479
- background-color: color-mix(
480
- in srgb,
481
- var(--df-color-primary) 30%,
482
- transparent
483
- );
484
- }
485
- }
486
- .df-mini-calendar-day.bg-primary {
487
- background-color: var(--df-color-primary);
488
- color: var(--df-color-primary-foreground);
489
- }
490
- .df-mini-calendar-day.bg-secondary {
491
- background-color: var(--df-color-secondary);
492
- color: var(--df-color-secondary-foreground);
493
- }
494
- .df-today-button {
495
- color: var(--df-color-primary);
496
- }
497
- .df-today-button:hover,
498
- .df-nav-button:hover {
499
- background-color: var(--df-color-primary);
500
- @supports (color: color-mix(in lab, red, red)) {
501
- background-color: color-mix(
502
- in srgb,
503
- var(--df-color-primary) 10%,
504
- transparent
505
- );
506
- }
507
- }
508
- .df-nav-button:hover {
509
- color: var(--df-color-primary);
510
- }
511
- .df-calendar-container .text-primary,
512
- .df-event-detail-panel .text-primary,
513
- .df-dialog-container .text-primary {
514
- color: var(--df-color-primary);
515
- }
516
- .df-calendar-container .bg-primary\/10,
517
- .df-event-detail-panel .bg-primary\/10,
518
- .df-dialog-container .bg-primary\/10 {
519
- background-color: var(--df-color-primary);
520
- @supports (color: color-mix(in lab, red, red)) {
521
- background-color: color-mix(
522
- in srgb,
523
- var(--df-color-primary) 10%,
524
- transparent
525
- );
526
- }
527
- }
528
- .df-calendar-container .hover\:bg-primary\/10:hover,
529
- .df-event-detail-panel .hover\:bg-primary\/10:hover,
530
- .df-dialog-container .hover\:bg-primary\/10:hover {
531
- background-color: var(--df-color-primary);
532
- @supports (color: color-mix(in lab, red, red)) {
533
- background-color: color-mix(
534
- in srgb,
535
- var(--df-color-primary) 10%,
536
- transparent
537
- );
538
- }
539
- }
540
- .df-calendar-container .bg-primary\/20,
541
- .df-event-detail-panel .bg-primary\/20,
542
- .df-dialog-container .bg-primary\/20 {
543
- background-color: var(--df-color-primary);
544
- @supports (color: color-mix(in lab, red, red)) {
545
- background-color: color-mix(
546
- in srgb,
547
- var(--df-color-primary) 20%,
548
- transparent
549
- );
550
- }
551
- }
552
- .df-calendar-container .hover\:bg-primary\/20:hover,
553
- .df-event-detail-panel .hover\:bg-primary\/20:hover,
554
- .df-dialog-container .hover\:bg-primary\/20:hover {
555
- background-color: var(--df-color-primary);
556
- @supports (color: color-mix(in lab, red, red)) {
557
- background-color: color-mix(
558
- in srgb,
559
- var(--df-color-primary) 20%,
560
- transparent
561
- );
562
- }
563
- }
564
- .df-calendar-container .hover\:text-primary:hover {
565
- color: var(--df-color-primary);
566
- }
567
- .df-calendar-container .focus\:ring-primary:focus {
568
- --tw-ring-color: var(--df-color-primary);
569
- }
570
- .df-calendar-container .focus\:border-primary:focus {
571
- border-color: var(--df-color-primary);
572
- }
573
- .df-portal .bg-primary {
574
- background-color: var(--df-color-primary);
575
- color: var(--df-color-primary-foreground);
576
- }
577
- .df-portal .hover\:bg-primary\/90:hover {
578
- background-color: var(--df-color-primary);
579
- @supports (color: color-mix(in lab, red, red)) {
580
- background-color: color-mix(
581
- in srgb,
582
- var(--df-color-primary) 90%,
583
- transparent
584
- );
585
- }
586
- }
587
- .df-portal .text-primary-foreground {
588
- color: var(--df-color-primary-foreground);
589
- }
590
- .df-portal .focus\:border-primary:focus {
591
- border-color: var(--df-color-primary);
592
- }
593
- .df-portal .focus\:ring-primary:focus {
594
- --tw-ring-color: var(--df-color-primary);
595
- }
596
- .df-portal .bg-destructive {
597
- background-color: var(--df-color-destructive);
598
- color: var(--df-color-destructive-foreground);
599
- }
600
- .df-portal .hover\:bg-destructive\/90:hover {
601
- background-color: var(--df-color-destructive);
602
- @supports (color: color-mix(in lab, red, red)) {
603
- background-color: color-mix(
604
- in srgb,
605
- var(--df-color-destructive) 90%,
606
- transparent
607
- );
608
- }
609
- }
610
- .df-portal .text-destructive-foreground {
611
- color: var(--df-color-destructive-foreground);
612
- }
613
- .df-event-detail-panel .bg-primary,
614
- .df-dialog-container .bg-primary {
615
- background-color: var(--df-color-primary);
616
- color: var(--df-color-primary-foreground);
617
- }
618
- .df-event-detail-panel .bg-primary:hover,
619
- .df-dialog-container .bg-primary:hover,
620
- .df-event-detail-panel .hover\:bg-primary:hover,
621
- .df-dialog-container .hover\:bg-primary:hover {
622
- background-color: var(--df-color-primary);
623
- @supports (color: color-mix(in lab, red, red)) {
624
- background-color: color-mix(in srgb, var(--df-color-primary) 85%, black);
625
- }
626
- }
627
- .df-event-detail-panel .bg-destructive,
628
- .df-dialog-container .bg-destructive {
629
- background-color: var(--df-color-destructive);
630
- color: var(--df-color-destructive-foreground);
631
- }
632
- .df-event-detail-panel .hover\:bg-destructive\/90:hover,
633
- .df-dialog-container .hover\:bg-destructive\/90:hover {
634
- background-color: var(--df-color-destructive);
635
- @supports (color: color-mix(in lab, red, red)) {
636
- background-color: color-mix(
637
- in srgb,
638
- var(--df-color-destructive) 90%,
639
- transparent
640
- );
641
- }
642
- }
643
- .df-event-detail-panel .focus\:border-primary:focus,
644
- .df-dialog-container .focus\:border-primary:focus {
645
- border-color: var(--df-color-primary);
646
- }
647
- .df-event-detail-panel .focus\:ring-primary:focus,
648
- .df-dialog-container .focus\:ring-primary:focus {
649
- --tw-ring-color: var(--df-color-primary);
650
- }