@canopy-iiif/app 0.8.1 → 0.8.3

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,11 +1,34 @@
1
+ html,
2
+ body {
3
+ margin: 0;
4
+ padding: 0;
5
+ font-family: "DM Sans", "-apple-system", "Segoe UI", Roboto, Ubuntu, Helvetica, Arial, sans-serif;
6
+ }
7
+
1
8
  a {
2
9
  text-decoration: none;
3
- color: var(--color-brand-default);
10
+ color: #3358d4;
4
11
  }
5
12
  a:hover {
6
13
  text-decoration: underline;
7
14
  }
8
15
 
16
+ h1 {
17
+ font-family: "DM Serif Display", Georgia, "Times New Roman", serif;
18
+ font-size: 2.618rem;
19
+ line-height: 1.25;
20
+ margin: 0 0 1rem 0;
21
+ font-weight: 400;
22
+ }
23
+
24
+ h2 {
25
+ font-family: "DM Serif Display", Georgia, "Times New Roman", serif;
26
+ font-size: 1.618rem;
27
+ line-height: 1.25;
28
+ margin: 0 0 0.618rem 0;
29
+ font-weight: 400;
30
+ }
31
+
9
32
  /* Canopy Card component styles */
10
33
  .canopy-card {
11
34
  display: block;
@@ -64,7 +87,204 @@ a:hover {
64
87
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.07), 0 1px 2px 0 rgba(0, 0, 0, 0.07);
65
88
  }
66
89
 
67
- .canopy-cmdk .canopy-cmdk__trigger {
90
+ @layer components {
91
+ .canopy-header {
92
+ display: flex;
93
+ justify-content: space-between;
94
+ align-items: center;
95
+ gap: 1.618rem;
96
+ padding: 0.618rem 1rem;
97
+ box-shadow: 5px 5px 19px rgba(0, 0, 0, 0.2);
98
+ background: #fff;
99
+ }
100
+ }
101
+ .canopy-logo {
102
+ display: flex;
103
+ align-items: center;
104
+ gap: 0.618rem;
105
+ font-weight: 400;
106
+ font-size: 1.618rem;
107
+ font-family: "DM Serif Display", Georgia, "Times New Roman", serif;
108
+ color: #121418;
109
+ }
110
+ .canopy-logo img {
111
+ height: 1.618rem;
112
+ margin-bottom: -1px;
113
+ }
114
+ .canopy-logo:hover {
115
+ text-decoration: none;
116
+ }
117
+
118
+ .canopy-navbar {
119
+ display: flex;
120
+ align-items: center;
121
+ gap: 1rem;
122
+ font-size: 1rem;
123
+ }
124
+ .canopy-navbar a {
125
+ color: var(--color-primary);
126
+ text-decoration: none;
127
+ }
128
+ .canopy-navbar a:hover {
129
+ text-decoration: underline;
130
+ }
131
+
132
+ .canopy-hero {
133
+ padding: 0;
134
+ margin: 0;
135
+ }
136
+ .canopy-hero figcaption {
137
+ margin: 0;
138
+ padding: 1rem 0 0;
139
+ font-size: 1rem;
140
+ text-align: right;
141
+ }
142
+
143
+ .canopy-hero-link {
144
+ display: block;
145
+ color: inherit;
146
+ text-decoration: none;
147
+ }
148
+
149
+ .canopy-hero__media {
150
+ position: relative;
151
+ }
152
+
153
+ .canopy-search-form-shell {
154
+ --search-form-label-padding-x: 0.75rem;
155
+ --search-form-label-padding-y: 0.625rem;
156
+ position: relative;
157
+ backdrop-filter: blur(12px);
158
+ background-color: color-mix(in srgb, #fff 95%, transparent);
159
+ transition: box-shadow var(--duration-fast, 150ms) ease, background-color var(--duration-fast, 150ms) ease;
160
+ cursor: text;
161
+ padding-right: 0.4rem;
162
+ }
163
+ .canopy-search-form-shell::after {
164
+ content: attr(data-placeholder);
165
+ position: absolute;
166
+ left: calc(var(--search-form-label-padding-x) + 1.25rem + 0.5rem);
167
+ right: 5.5rem;
168
+ top: 50%;
169
+ transform: translateY(-50%);
170
+ color: rgba(148, 163, 184, 0.75);
171
+ opacity: 0.75;
172
+ pointer-events: none;
173
+ white-space: nowrap;
174
+ overflow: hidden;
175
+ text-overflow: ellipsis;
176
+ transition: opacity var(--duration-fast, 150ms) ease;
177
+ }
178
+ .canopy-search-form-shell:hover {
179
+ box-shadow: var(--shadow-md, 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06));
180
+ }
181
+ .canopy-search-form-shell:focus-within::after, .canopy-search-form-shell[data-has-value="1"]::after {
182
+ opacity: 0;
183
+ }
184
+ .canopy-search-form-shell input[data-canopy-search-form-input] {
185
+ width: 100%;
186
+ border: 0;
187
+ outline: none;
188
+ background: transparent;
189
+ box-shadow: none;
190
+ opacity: 0;
191
+ caret-color: transparent;
192
+ transition: opacity var(--duration-fast, 150ms) ease;
193
+ }
194
+ .canopy-search-form-shell:focus-within input[data-canopy-search-form-input], .canopy-search-form-shell[data-has-value="1"] input[data-canopy-search-form-input] {
195
+ opacity: 1;
196
+ caret-color: var(--color-gray-900, #121418);
197
+ }
198
+
199
+ .canopy-search-form {
200
+ display: flex;
201
+ align-items: center;
202
+ gap: 0.5rem;
203
+ border: 1px solid var(--color-gray-300, #cdced6);
204
+ border-radius: 0.75rem;
205
+ color: var(--color-gray-700, #60646c);
206
+ box-shadow: var(--shadow-sm, 0 1px 2px rgba(0, 0, 0, 0.05));
207
+ transition: border-color var(--duration-fast, 150ms) var(--easing-standard, ease), box-shadow var(--duration-fast, 150ms) var(--easing-standard, ease), background-color var(--duration-fast, 150ms) var(--easing-standard, ease);
208
+ }
209
+ .canopy-search-form:focus-within {
210
+ border-color: var(--color-brand-500, #3e63dd);
211
+ box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-brand-500, #3e63dd) 45%, transparent), var(--shadow-sm, 0 1px 2px rgba(0, 0, 0, 0.05));
212
+ }
213
+ .canopy-search-form:focus-within .canopy-search-form__icon {
214
+ color: var(--color-brand-500, #3e63dd);
215
+ }
216
+ .canopy-search-form[data-has-value="1"] .canopy-search-form__icon {
217
+ color: var(--color-brand-500, #3e63dd);
218
+ }
219
+
220
+ .canopy-search-form__label {
221
+ flex: 1;
222
+ min-width: 0;
223
+ display: flex;
224
+ align-items: center;
225
+ gap: 0.5rem;
226
+ cursor: text;
227
+ padding: var(--search-form-label-padding-y) var(--search-form-label-padding-x);
228
+ }
229
+
230
+ .canopy-search-form__icon {
231
+ width: 1.25rem;
232
+ height: 1.25rem;
233
+ flex-shrink: 0;
234
+ color: var(--color-gray-400, #b9bbc6);
235
+ pointer-events: none;
236
+ transition: color var(--duration-fast, 150ms) var(--easing-standard, ease);
237
+ }
238
+
239
+ .canopy-search-form__input {
240
+ flex: 1;
241
+ min-width: 0;
242
+ padding: 0.125rem 0;
243
+ font-size: var(--font-size-base, 1rem);
244
+ line-height: var(--line-height-base, 1.5rem);
245
+ background: transparent;
246
+ border: 0;
247
+ color: inherit;
248
+ outline: none;
249
+ transition: opacity var(--duration-fast, 150ms) var(--easing-standard, ease), caret-color var(--duration-fast, 150ms) var(--easing-standard, ease);
250
+ }
251
+ .canopy-search-form__input::placeholder {
252
+ color: rgba(148, 163, 184, 0.75);
253
+ }
254
+
255
+ .canopy-search-form__submit {
256
+ display: inline-flex;
257
+ align-items: center;
258
+ gap: 0.382rem;
259
+ border-radius: 0.382rem;
260
+ border: 0;
261
+ background: #3358d4;
262
+ color: #fff;
263
+ font-weight: 400;
264
+ font-size: 1rem;
265
+ padding: 0.382rem 0.618rem;
266
+ transition: background-color var(--duration-fast, 150ms) var(--easing-standard, ease), transform var(--duration-fast, 150ms) var(--easing-standard, ease);
267
+ cursor: pointer;
268
+ }
269
+ .canopy-search-form__submit:hover, .canopy-search-form__submit:focus-visible {
270
+ background: #243c94;
271
+ box-shadow: var(--shadow-md, 0 4px 6px rgba(0, 0, 0, 0.1));
272
+ }
273
+ .canopy-search-form__submit:focus-visible {
274
+ outline: none;
275
+ box-shadow: 0 0 0 2px #fff, 0 0 0 4px color-mix(in srgb, var(--color-brand-500, #3e63dd) 65%, transparent);
276
+ }
277
+ .canopy-search-form__submit:active {
278
+ transform: translateY(1px);
279
+ }
280
+
281
+ .canopy-search-form__shortcut {
282
+ align-items: center;
283
+ color: inherit;
284
+ opacity: 0.7;
285
+ }
286
+
287
+ .canopy-search-form-modal .canopy-search-form-modal__trigger {
68
288
  display: inline-flex;
69
289
  align-items: center;
70
290
  gap: 0.25rem;
@@ -75,7 +295,7 @@ a:hover {
75
295
  border-radius: 6px;
76
296
  cursor: pointer;
77
297
  }
78
- .canopy-cmdk .canopy-cmdk__overlay {
298
+ .canopy-search-form-modal .canopy-search-form-modal__overlay {
79
299
  position: fixed;
80
300
  inset: 0;
81
301
  display: none;
@@ -85,7 +305,7 @@ a:hover {
85
305
  z-index: 9999;
86
306
  padding-top: 10vh;
87
307
  }
88
- .canopy-cmdk .canopy-cmdk__panel {
308
+ .canopy-search-form-modal .canopy-search-form-modal__panel {
89
309
  position: relative;
90
310
  background: #fff;
91
311
  min-width: 320px;
@@ -96,7 +316,7 @@ a:hover {
96
316
  overflow: hidden;
97
317
  font-family: var(--canopy-font-sans, system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif);
98
318
  }
99
- .canopy-cmdk .canopy-cmdk__close {
319
+ .canopy-search-form-modal .canopy-search-form-modal__close {
100
320
  position: absolute;
101
321
  top: 8px;
102
322
  right: 8px;
@@ -106,126 +326,309 @@ a:hover {
106
326
  padding: 2px 6px;
107
327
  cursor: pointer;
108
328
  }
109
- .canopy-cmdk .canopy-cmdk__inputWrap {
329
+ .canopy-search-form-modal .canopy-search-form-modal__inputWrap {
110
330
  padding: 10px 12px;
111
331
  border-bottom: 1px solid #e5e7eb;
112
332
  }
113
- .canopy-cmdk .canopy-cmdk__input {
333
+ .canopy-search-form-modal .canopy-search-form-modal__input {
114
334
  width: 100%;
115
335
  padding: 8px 10px;
116
336
  border: 1px solid #e5e7eb;
117
337
  border-radius: 6px;
118
338
  outline: none;
119
339
  }
120
- .canopy-cmdk .canopy-cmdk__list {
340
+ .canopy-search-form-modal .canopy-search-form-modal__list {
121
341
  max-height: 50vh;
122
342
  overflow: auto;
123
343
  padding: 6px 0;
124
344
  }
125
- .canopy-cmdk .canopy-cmdk__item {
345
+ .canopy-search-form-modal .canopy-search-form-modal__item {
126
346
  display: flex;
127
347
  align-items: center;
128
348
  gap: 8px;
129
349
  }
130
- .canopy-cmdk .canopy-cmdk__thumb {
350
+ .canopy-search-form-modal .canopy-search-form-modal__thumb {
131
351
  width: 40px;
132
352
  height: 40px;
133
353
  object-fit: cover;
134
354
  border-radius: 4px;
135
355
  }
356
+ .canopy-search-form-modal .canopy-search-form-modal__title {
357
+ font-size: var(--font-size-sm, 0.875rem);
358
+ line-height: var(--line-height-sm, 1.25rem);
359
+ color: var(--color-gray-900, #121418);
360
+ font-weight: 500;
361
+ }
136
362
 
137
- .canopy-cmdk-form {
138
- --cmdk-label-padding-x: 0.75rem;
139
- --cmdk-label-padding-y: 0.625rem;
140
- position: relative;
141
- backdrop-filter: blur(12px);
142
- background-color: color-mix(in srgb, #fff 95%, transparent);
143
- transition: box-shadow var(--duration-fast, 150ms) ease, background-color var(--duration-fast, 150ms) ease;
144
- cursor: text;
145
- padding-right: 0.4rem;
363
+ [data-canopy-search-form-panel] {
364
+ display: none;
146
365
  }
147
- .canopy-cmdk-form::after {
148
- content: attr(data-placeholder);
366
+
367
+ .canopy-search-teaser {
149
368
  position: absolute;
150
- left: calc(var(--cmdk-label-padding-x) + 1.25rem + 0.5rem);
151
- right: 5.5rem;
152
- top: 50%;
153
- transform: translateY(-50%);
154
- color: rgba(148, 163, 184, 0.75);
155
- opacity: 0.75;
156
- pointer-events: none;
157
- white-space: nowrap;
369
+ left: 0;
370
+ right: 0;
371
+ top: calc(100% + 4px);
372
+ background: #fff;
373
+ border: 1px solid #e5e7eb;
374
+ border-radius: 8px;
375
+ box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
376
+ z-index: 1000;
377
+ overflow: auto;
378
+ max-height: 60vh;
379
+ padding: 0.5rem 0;
380
+ display: none;
381
+ }
382
+
383
+ .relative[data-canopy-search-form-auto="1"]:focus-within [data-canopy-search-form-panel] {
384
+ display: block;
385
+ }
386
+
387
+ .canopy-search-filters-overlay {
388
+ position: fixed;
389
+ inset: 0;
390
+ z-index: 1050;
391
+ display: flex;
392
+ align-items: flex-start;
393
+ justify-content: center;
394
+ background: rgba(15, 23, 42, 0.5);
395
+ padding: 2rem 1rem;
396
+ overflow-y: auto;
397
+ }
398
+
399
+ .canopy-search-filters {
400
+ width: 100%;
401
+ max-width: 48rem;
158
402
  overflow: hidden;
159
- text-overflow: ellipsis;
160
- transition: opacity var(--duration-fast, 150ms) ease;
403
+ border-radius: 0.75rem;
404
+ background: #fff;
405
+ box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.4), 0 10px 20px rgba(15, 23, 42, 0.12);
406
+ display: flex;
407
+ flex-direction: column;
408
+ gap: 0;
161
409
  }
162
- .canopy-cmdk-form input[data-canopy-command-input] {
163
- opacity: 0;
164
- caret-color: transparent;
165
- transition: opacity var(--duration-fast, 150ms) ease;
166
- border: 0;
167
- outline: none;
410
+
411
+ .canopy-search-filters__header {
412
+ display: flex;
413
+ align-items: flex-start;
414
+ justify-content: space-between;
415
+ gap: 1rem;
416
+ border-bottom: 1px solid var(--color-gray-200, #e0e1e6);
417
+ padding: 1rem 1.5rem;
418
+ }
419
+
420
+ .canopy-search-filters__title {
421
+ margin: 0;
422
+ font-size: var(--font-size-lg, 1.125rem);
423
+ line-height: var(--line-height-lg, 1.75rem);
424
+ font-weight: 600;
425
+ color: var(--color-gray-900, #121418);
426
+ }
427
+
428
+ .canopy-search-filters__subtitle {
429
+ margin: 0.25rem 0 0;
430
+ font-size: var(--font-size-sm, 0.875rem);
431
+ line-height: var(--line-height-sm, 1.25rem);
432
+ color: var(--color-gray-500, #8b8d98);
433
+ }
434
+
435
+ .canopy-search-filters__close {
436
+ border-radius: 0.375rem;
437
+ border: 1px solid transparent;
168
438
  background: transparent;
169
- box-shadow: none;
439
+ padding: 0.25rem 0.5rem;
440
+ font-size: var(--font-size-sm, 0.875rem);
441
+ color: var(--color-gray-600, #80838d);
442
+ transition: background-color var(--duration-fast, 150ms) var(--easing-standard, ease), color var(--duration-fast, 150ms) var(--easing-standard, ease);
170
443
  }
171
- .canopy-cmdk-form input[data-canopy-command-input]:focus {
172
- outline: none;
173
- border: 0;
174
- box-shadow: none;
444
+ .canopy-search-filters__close:hover {
445
+ background: var(--color-gray-100, #f0f0f3);
446
+ color: var(--color-gray-900, #121418);
175
447
  }
176
- .canopy-cmdk-form:focus-within::after {
177
- opacity: 0;
448
+
449
+ .canopy-search-filters__body {
450
+ padding: 1.5rem;
451
+ display: grid;
452
+ gap: 1rem;
178
453
  }
179
- .canopy-cmdk-form:focus-within input[data-canopy-command-input] {
180
- opacity: 1;
181
- caret-color: inherit;
182
- outline: none;
183
- border: 0;
184
- box-shadow: none;
454
+
455
+ .canopy-search-filters__facets {
456
+ display: flex;
457
+ flex-direction: column;
458
+ gap: 0.75rem;
185
459
  }
186
- .canopy-cmdk-form:hover {
187
- box-shadow: var(--shadow-md, 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06));
460
+
461
+ .canopy-search-filters__empty {
462
+ font-size: var(--font-size-sm, 0.875rem);
463
+ line-height: var(--line-height-sm, 1.25rem);
464
+ color: var(--color-gray-500, #8b8d98);
188
465
  }
189
- .canopy-cmdk-form button[data-canopy-command-trigger] {
466
+
467
+ .canopy-search-filters__facet {
468
+ border: 1px solid var(--color-gray-200, #e0e1e6);
469
+ border-radius: 0.75rem;
470
+ background: var(--color-gray-50, #fcfcfd);
471
+ overflow: hidden;
472
+ }
473
+ .canopy-search-filters__facet[open] {
474
+ background: #fff;
475
+ }
476
+
477
+ .canopy-search-filters__facet-summary {
478
+ display: flex;
479
+ align-items: center;
480
+ justify-content: space-between;
481
+ gap: 0.75rem;
482
+ padding: 0.75rem 1rem;
483
+ font-size: var(--font-size-sm, 0.875rem);
484
+ font-weight: 600;
485
+ color: var(--color-gray-900, #121418);
190
486
  cursor: pointer;
487
+ list-style: none;
191
488
  }
192
489
 
193
- .canopy-cmdk-shortcut {
194
- display: inline-flex;
490
+ .canopy-search-filters__facet-summary::-webkit-details-marker {
491
+ display: none;
492
+ }
493
+
494
+ .canopy-search-filters__facet-count {
495
+ font-size: var(--font-size-xs, 0.75rem);
496
+ font-weight: 400;
497
+ color: var(--color-gray-500, #8b8d98);
498
+ }
499
+
500
+ .canopy-search-filters__facet-content {
501
+ border-top: 1px solid var(--color-gray-200, #e0e1e6);
502
+ background: #fff;
503
+ padding: 1rem;
504
+ max-height: 15rem;
505
+ overflow-y: auto;
506
+ }
507
+
508
+ .canopy-search-filters__quick {
509
+ display: flex;
195
510
  align-items: center;
196
- gap: 0.25rem;
197
- border: 1px solid color-mix(in srgb, #fff 40%, transparent);
198
- background-color: color-mix(in srgb, #fff 20%, transparent);
199
- border-radius: 0.375rem;
200
- padding: 0.125rem 0.5rem;
511
+ gap: 0.5rem;
512
+ margin-bottom: 0.75rem;
201
513
  }
202
514
 
203
- .canopy-cmdk-label {
515
+ .canopy-search-filters__quick-input {
204
516
  flex: 1;
205
517
  min-width: 0;
518
+ border-radius: 0.5rem;
519
+ border: 1px solid var(--color-gray-300, #cdced6);
520
+ padding: 0.375rem 0.75rem;
521
+ font-size: var(--font-size-sm, 0.875rem);
522
+ color: var(--color-gray-700, #60646c);
523
+ transition: border-color var(--duration-fast, 150ms) var(--easing-standard, ease), box-shadow var(--duration-fast, 150ms) var(--easing-standard, ease);
524
+ }
525
+ .canopy-search-filters__quick-input:focus {
526
+ outline: none;
527
+ border-color: var(--color-brand-500, #3e63dd);
528
+ box-shadow: 0 0 0 1px var(--color-brand-500, #3e63dd);
529
+ }
530
+
531
+ .canopy-search-filters__quick-clear {
532
+ border-radius: 0.375rem;
533
+ border: 1px solid var(--color-gray-200, #e0e1e6);
534
+ padding: 0.25rem 0.5rem;
535
+ font-size: var(--font-size-xs, 0.75rem);
536
+ color: var(--color-gray-600, #80838d);
537
+ background: #fff;
538
+ transition: background-color var(--duration-fast, 150ms) var(--easing-standard, ease), color var(--duration-fast, 150ms) var(--easing-standard, ease);
539
+ }
540
+ .canopy-search-filters__quick-clear:hover {
541
+ background: var(--color-gray-100, #f0f0f3);
542
+ color: var(--color-gray-900, #121418);
543
+ }
544
+
545
+ .canopy-search-filters__facet-list {
546
+ list-style: none;
547
+ margin: 0;
548
+ padding: 0;
206
549
  display: flex;
207
- align-items: center;
550
+ flex-direction: column;
208
551
  gap: 0.5rem;
209
- padding: var(--cmdk-label-padding-y) var(--cmdk-label-padding-x);
552
+ font-size: var(--font-size-sm, 0.875rem);
553
+ color: var(--color-gray-700, #60646c);
210
554
  }
211
555
 
212
- .canopy-hero {
213
- padding: 0;
214
- margin: 0;
556
+ .canopy-search-filters__facet-item {
557
+ display: flex;
558
+ align-items: flex-start;
559
+ gap: 0.5rem;
215
560
  }
216
- .canopy-hero figcaption {
217
- margin: 0;
218
- padding: 1rem 0 0;
219
- font-size: 1rem;
220
- text-align: right;
561
+
562
+ .canopy-search-filters__facet-checkbox {
563
+ margin-top: 0.25rem;
564
+ width: 1rem;
565
+ height: 1rem;
566
+ border-radius: 0.375rem;
567
+ border: 1px solid var(--color-gray-300, #cdced6);
568
+ color: var(--color-brand-500, #3e63dd);
569
+ accent-color: var(--color-brand-500, #3e63dd);
221
570
  }
222
571
 
223
- .canopy-hero-link {
224
- display: block;
225
- color: inherit;
226
- text-decoration: none;
572
+ .canopy-search-filters__facet-label {
573
+ display: flex;
574
+ flex: 1;
575
+ flex-direction: column;
576
+ gap: 0.25rem;
227
577
  }
228
578
 
229
- .canopy-hero__media {
230
- position: relative;
579
+ .canopy-search-filters__facet-empty,
580
+ .canopy-search-filters__facet-notice {
581
+ font-size: var(--font-size-xs, 0.75rem);
582
+ color: rgba(148, 163, 184, 0.9);
583
+ }
584
+
585
+ .canopy-search-filters__footer {
586
+ display: flex;
587
+ align-items: center;
588
+ justify-content: space-between;
589
+ gap: 1rem;
590
+ border-top: 1px solid var(--color-gray-200, #e0e1e6);
591
+ padding: 1rem 1.5rem;
592
+ font-size: var(--font-size-sm, 0.875rem);
593
+ color: var(--color-gray-500, #8b8d98);
594
+ }
595
+
596
+ .canopy-search-filters__footer-actions {
597
+ display: flex;
598
+ align-items: center;
599
+ gap: 0.5rem;
600
+ }
601
+
602
+ .canopy-search-filters__button {
603
+ border-radius: 0.5rem;
604
+ padding: 0.375rem 0.75rem;
605
+ font-size: var(--font-size-sm, 0.875rem);
606
+ font-weight: 500;
607
+ line-height: var(--line-height-sm, 1.25rem);
608
+ transition: background-color var(--duration-fast, 150ms) var(--easing-standard, ease), color var(--duration-fast, 150ms) var(--easing-standard, ease), box-shadow var(--duration-fast, 150ms) var(--easing-standard, ease);
609
+ }
610
+
611
+ .canopy-search-filters__button--secondary {
612
+ border: 1px solid var(--color-gray-200, #e0e1e6);
613
+ background: #fff;
614
+ color: var(--color-gray-600, #80838d);
615
+ }
616
+ .canopy-search-filters__button--secondary:hover:not([disabled]) {
617
+ background: var(--color-gray-100, #f0f0f3);
618
+ color: var(--color-gray-900, #121418);
619
+ }
620
+ .canopy-search-filters__button--secondary:disabled {
621
+ cursor: not-allowed;
622
+ color: rgba(148, 163, 184, 0.8);
623
+ }
624
+
625
+ .canopy-search-filters__button--primary {
626
+ border: 1px solid transparent;
627
+ background: var(--color-brand-500, #3e63dd);
628
+ color: #fff;
629
+ box-shadow: var(--shadow-sm, 0 1px 2px rgba(0, 0, 0, 0.05));
630
+ }
631
+ .canopy-search-filters__button--primary:hover {
632
+ background: var(--color-brand-700, #2c4bbd);
633
+ box-shadow: var(--shadow-md, 0 4px 6px rgba(0, 0, 0, 0.1));
231
634
  }
@@ -27,8 +27,12 @@ $color-gray-default: $color-gray-900 !default;
27
27
  $color-gray-muted: $color-gray-600 !default;
28
28
 
29
29
  // Fonts
30
- $font-sans: "system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Helvetica, Arial, sans-serif" !default;
31
- $font-mono: "ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace" !default;
30
+ $font-sans:
31
+ "DM Sans", "-apple-system", "Segoe UI", Roboto, Ubuntu, Helvetica, Arial,
32
+ sans-serif !default;
33
+ $font-serif: "DM Serif Display", Georgia, "Times New Roman", serif !default;
34
+ $font-mono:
35
+ "ui-monospace", "SFMono-Regular", Menlo, Monaco, Consolas, monospace !default;
32
36
 
33
37
  // Font sizes / line heights
34
38
  $font-size-xs: 0.75rem !default;
@@ -57,9 +61,15 @@ $max-w-wide: 1440px !default;
57
61
 
58
62
  // Shadows
59
63
  $shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05) !default;
60
- $shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06) !default;
61
- $shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06) !default;
62
- $shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05) !default;
64
+ $shadow:
65
+ 0 1px 3px rgba(0, 0, 0, 0.1),
66
+ 0 1px 2px rgba(0, 0, 0, 0.06) !default;
67
+ $shadow-md:
68
+ 0 4px 6px rgba(0, 0, 0, 0.1),
69
+ 0 2px 4px rgba(0, 0, 0, 0.06) !default;
70
+ $shadow-lg:
71
+ 0 10px 15px rgba(0, 0, 0, 0.1),
72
+ 0 4px 6px rgba(0, 0, 0, 0.05) !default;
63
73
 
64
74
  // Transitions
65
75
  $duration-fast: 150ms !default;