@sandlada/material-design-css 1.0.0

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/color.css ADDED
@@ -0,0 +1,702 @@
1
+ @layer material-design-system.color.variable {
2
+ :root {
3
+ --md-sys-color-primary-palette-key-color: light-dark(#388647, #388647);
4
+ --md-sys-color-secondary-palette-key-color: light-dark(#697c68, #697c68);
5
+ --md-sys-color-tertiary-palette-key-color: light-dark(#527e86, #527e86);
6
+ --md-sys-color-neutral-palette-key-color: light-dark(#777777, #777777);
7
+ --md-sys-color-neutral-variant-palette-key-color: light-dark(#777777, #777777);
8
+ --md-sys-color-background: light-dark(#f9f9f9, #131313);
9
+ --md-sys-color-on-background: light-dark(#1b1b1b, #e2e2e2);
10
+ --md-sys-color-surface: light-dark(#f9f9f9, #131313);
11
+ --md-sys-color-surface-dim: light-dark(#dadada, #131313);
12
+ --md-sys-color-surface-bright: light-dark(#f9f9f9, #393939);
13
+ --md-sys-color-surface-container-lowest: light-dark(#ffffff, #0e0e0e);
14
+ --md-sys-color-surface-container-low: light-dark(#f3f3f3, #1b1b1b);
15
+ --md-sys-color-surface-container: light-dark(#eeeeee, #1f1f1f);
16
+ --md-sys-color-surface-container-high: light-dark(#e8e8e8, #2a2a2a);
17
+ --md-sys-color-surface-container-highest: light-dark(#e2e2e2, #353535);
18
+ --md-sys-color-on-surface: light-dark(#1b1b1b, #e2e2e2);
19
+ --md-sys-color-surface-variant: light-dark(#e2e2e2, #474747);
20
+ --md-sys-color-on-surface-variant: light-dark(#474747, #c6c6c6);
21
+ --md-sys-color-inverse-surface: light-dark(#303030, #e2e2e2);
22
+ --md-sys-color-inverse-on-surface: light-dark(#f1f1f1, #303030);
23
+ --md-sys-color-outline: light-dark(#777777, #919191);
24
+ --md-sys-color-outline-variant: light-dark(#c6c6c6, #474747);
25
+ --md-sys-color-shadow: light-dark(#000000, #000000);
26
+ --md-sys-color-scrim: light-dark(#000000, #000000);
27
+ --md-sys-color-surface-tint: light-dark(#1a6c31, #88d990);
28
+ --md-sys-color-primary: light-dark(#1a6c31, #88d990);
29
+ --md-sys-color-on-primary: light-dark(#ffffff, #003913);
30
+ --md-sys-color-primary-container: light-dark(#a3f5aa, #00531f);
31
+ --md-sys-color-on-primary-container: light-dark(#00531f, #a3f5aa);
32
+ --md-sys-color-inverse-primary: light-dark(#88d990, #1a6c31);
33
+ --md-sys-color-secondary: light-dark(#516351, #b8ccb5);
34
+ --md-sys-color-on-secondary: light-dark(#ffffff, #243425);
35
+ --md-sys-color-secondary-container: light-dark(#d4e8d1, #3a4b3a);
36
+ --md-sys-color-on-secondary-container: light-dark(#3a4b3a, #d4e8d1);
37
+ --md-sys-color-tertiary: light-dark(#39656c, #a1ced6);
38
+ --md-sys-color-on-tertiary: light-dark(#ffffff, #00363d);
39
+ --md-sys-color-tertiary-container: light-dark(#bdeaf3, #1f4d54);
40
+ --md-sys-color-on-tertiary-container: light-dark(#1f4d54, #bdeaf3);
41
+ --md-sys-color-error: light-dark(#ba1a1a, #ffb4ab);
42
+ --md-sys-color-on-error: light-dark(#ffffff, #690005);
43
+ --md-sys-color-error-container: light-dark(#ffdad6, #93000a);
44
+ --md-sys-color-on-error-container: light-dark(#93000a, #ffdad6);
45
+ --md-sys-color-primary-fixed: light-dark(#a3f5aa, #a3f5aa);
46
+ --md-sys-color-primary-fixed-dim: light-dark(#88d990, #88d990);
47
+ --md-sys-color-on-primary-fixed: light-dark(#002108, #002108);
48
+ --md-sys-color-on-primary-fixed-variant: light-dark(#00531f, #00531f);
49
+ --md-sys-color-secondary-fixed: light-dark(#d4e8d1, #d4e8d1);
50
+ --md-sys-color-secondary-fixed-dim: light-dark(#b8ccb5, #b8ccb5);
51
+ --md-sys-color-on-secondary-fixed: light-dark(#0f1f11, #0f1f11);
52
+ --md-sys-color-on-secondary-fixed-variant: light-dark(#3a4b3a, #3a4b3a);
53
+ --md-sys-color-tertiary-fixed: light-dark(#bdeaf3, #bdeaf3);
54
+ --md-sys-color-tertiary-fixed-dim: light-dark(#a1ced6, #a1ced6);
55
+ --md-sys-color-on-tertiary-fixed: light-dark(#001f24, #001f24);
56
+ --md-sys-color-on-tertiary-fixed-variant: light-dark(#1f4d54, #1f4d54);
57
+ }
58
+
59
+ :root:not([dark]) {
60
+ color-scheme: light;
61
+ }
62
+
63
+ :root[dark] {
64
+ color-scheme: dark;
65
+ }
66
+ }
67
+
68
+ @layer material-design-system.color.text {
69
+ .text-primary-palette-key-color {
70
+ color: var(--md-sys-color-primary-palette-key-color);
71
+ }
72
+
73
+ .text-secondary-palette-key-color {
74
+ color: var(--md-sys-color-secondary-palette-key-color);
75
+ }
76
+
77
+ .text-tertiary-palette-key-color {
78
+ color: var(--md-sys-color-tertiary-palette-key-color);
79
+ }
80
+
81
+ .text-neutral-palette-key-color {
82
+ color: var(--md-sys-color-neutral-palette-key-color);
83
+ }
84
+
85
+ .text-neutral-variant-palette-key-color {
86
+ color: var(--md-sys-color-neutral-variant-palette-key-color);
87
+ }
88
+
89
+ .text-background {
90
+ color: var(--md-sys-color-background);
91
+ }
92
+
93
+ .text-on-background {
94
+ color: var(--md-sys-color-on-background);
95
+ }
96
+
97
+ .text-surface {
98
+ color: var(--md-sys-color-surface);
99
+ }
100
+
101
+ .text-surface-dim {
102
+ color: var(--md-sys-color-surface-dim);
103
+ }
104
+
105
+ .text-surface-bright {
106
+ color: var(--md-sys-color-surface-bright);
107
+ }
108
+
109
+ .text-surface-container-lowest {
110
+ color: var(--md-sys-color-surface-container-lowest);
111
+ }
112
+
113
+ .text-surface-container-low {
114
+ color: var(--md-sys-color-surface-container-low);
115
+ }
116
+
117
+ .text-surface-container {
118
+ color: var(--md-sys-color-surface-container);
119
+ }
120
+
121
+ .text-surface-container-high {
122
+ color: var(--md-sys-color-surface-container-high);
123
+ }
124
+
125
+ .text-surface-container-highest {
126
+ color: var(--md-sys-color-surface-container-highest);
127
+ }
128
+
129
+ .text-on-surface {
130
+ color: var(--md-sys-color-on-surface);
131
+ }
132
+
133
+ .text-surface-variant {
134
+ color: var(--md-sys-color-surface-variant);
135
+ }
136
+
137
+ .text-on-surface-variant {
138
+ color: var(--md-sys-color-on-surface-variant);
139
+ }
140
+
141
+ .text-inverse-surface {
142
+ color: var(--md-sys-color-inverse-surface);
143
+ }
144
+
145
+ .text-inverse-on-surface {
146
+ color: var(--md-sys-color-inverse-on-surface);
147
+ }
148
+
149
+ .text-outline {
150
+ color: var(--md-sys-color-outline);
151
+ }
152
+
153
+ .text-outline-variant {
154
+ color: var(--md-sys-color-outline-variant);
155
+ }
156
+
157
+ .text-shadow {
158
+ color: var(--md-sys-color-shadow);
159
+ }
160
+
161
+ .text-scrim {
162
+ color: var(--md-sys-color-scrim);
163
+ }
164
+
165
+ .text-surface-tint {
166
+ color: var(--md-sys-color-surface-tint);
167
+ }
168
+
169
+ .text-primary {
170
+ color: var(--md-sys-color-primary);
171
+ }
172
+
173
+ .text-on-primary {
174
+ color: var(--md-sys-color-on-primary);
175
+ }
176
+
177
+ .text-primary-container {
178
+ color: var(--md-sys-color-primary-container);
179
+ }
180
+
181
+ .text-on-primary-container {
182
+ color: var(--md-sys-color-on-primary-container);
183
+ }
184
+
185
+ .text-inverse-primary {
186
+ color: var(--md-sys-color-inverse-primary);
187
+ }
188
+
189
+ .text-secondary {
190
+ color: var(--md-sys-color-secondary);
191
+ }
192
+
193
+ .text-on-secondary {
194
+ color: var(--md-sys-color-on-secondary);
195
+ }
196
+
197
+ .text-secondary-container {
198
+ color: var(--md-sys-color-secondary-container);
199
+ }
200
+
201
+ .text-on-secondary-container {
202
+ color: var(--md-sys-color-on-secondary-container);
203
+ }
204
+
205
+ .text-tertiary {
206
+ color: var(--md-sys-color-tertiary);
207
+ }
208
+
209
+ .text-on-tertiary {
210
+ color: var(--md-sys-color-on-tertiary);
211
+ }
212
+
213
+ .text-tertiary-container {
214
+ color: var(--md-sys-color-tertiary-container);
215
+ }
216
+
217
+ .text-on-tertiary-container {
218
+ color: var(--md-sys-color-on-tertiary-container);
219
+ }
220
+
221
+ .text-error {
222
+ color: var(--md-sys-color-error);
223
+ }
224
+
225
+ .text-on-error {
226
+ color: var(--md-sys-color-on-error);
227
+ }
228
+
229
+ .text-error-container {
230
+ color: var(--md-sys-color-error-container);
231
+ }
232
+
233
+ .text-on-error-container {
234
+ color: var(--md-sys-color-on-error-container);
235
+ }
236
+
237
+ .text-primary-fixed {
238
+ color: var(--md-sys-color-primary-fixed);
239
+ }
240
+
241
+ .text-primary-fixed-dim {
242
+ color: var(--md-sys-color-primary-fixed-dim);
243
+ }
244
+
245
+ .text-on-primary-fixed {
246
+ color: var(--md-sys-color-on-primary-fixed);
247
+ }
248
+
249
+ .text-on-primary-fixed-variant {
250
+ color: var(--md-sys-color-on-primary-fixed-variant);
251
+ }
252
+
253
+ .text-secondary-fixed {
254
+ color: var(--md-sys-color-secondary-fixed);
255
+ }
256
+
257
+ .text-secondary-fixed-dim {
258
+ color: var(--md-sys-color-secondary-fixed-dim);
259
+ }
260
+
261
+ .text-on-secondary-fixed {
262
+ color: var(--md-sys-color-on-secondary-fixed);
263
+ }
264
+
265
+ .text-on-secondary-fixed-variant {
266
+ color: var(--md-sys-color-on-secondary-fixed-variant);
267
+ }
268
+
269
+ .text-tertiary-fixed {
270
+ color: var(--md-sys-color-tertiary-fixed);
271
+ }
272
+
273
+ .text-tertiary-fixed-dim {
274
+ color: var(--md-sys-color-tertiary-fixed-dim);
275
+ }
276
+
277
+ .text-on-tertiary-fixed {
278
+ color: var(--md-sys-color-on-tertiary-fixed);
279
+ }
280
+
281
+ .text-on-tertiary-fixed-variant {
282
+ color: var(--md-sys-color-on-tertiary-fixed-variant);
283
+ }
284
+ }
285
+
286
+ @layer material-design-system.color.background {
287
+ .bg-primary-palette-key-color {
288
+ background: var(--md-sys-color-primary-palette-key-color);
289
+ }
290
+
291
+ .bg-secondary-palette-key-color {
292
+ background: var(--md-sys-color-secondary-palette-key-color);
293
+ }
294
+
295
+ .bg-tertiary-palette-key-color {
296
+ background: var(--md-sys-color-tertiary-palette-key-color);
297
+ }
298
+
299
+ .bg-neutral-palette-key-color {
300
+ background: var(--md-sys-color-neutral-palette-key-color);
301
+ }
302
+
303
+ .bg-neutral-variant-palette-key-color {
304
+ background: var(--md-sys-color-neutral-variant-palette-key-color);
305
+ }
306
+
307
+ .bg-background {
308
+ background: var(--md-sys-color-background);
309
+ }
310
+
311
+ .bg-on-background {
312
+ background: var(--md-sys-color-on-background);
313
+ }
314
+
315
+ .bg-surface {
316
+ background: var(--md-sys-color-surface);
317
+ }
318
+
319
+ .bg-surface-dim {
320
+ background: var(--md-sys-color-surface-dim);
321
+ }
322
+
323
+ .bg-surface-bright {
324
+ background: var(--md-sys-color-surface-bright);
325
+ }
326
+
327
+ .bg-surface-container-lowest {
328
+ background: var(--md-sys-color-surface-container-lowest);
329
+ }
330
+
331
+ .bg-surface-container-low {
332
+ background: var(--md-sys-color-surface-container-low);
333
+ }
334
+
335
+ .bg-surface-container {
336
+ background: var(--md-sys-color-surface-container);
337
+ }
338
+
339
+ .bg-surface-container-high {
340
+ background: var(--md-sys-color-surface-container-high);
341
+ }
342
+
343
+ .bg-surface-container-highest {
344
+ background: var(--md-sys-color-surface-container-highest);
345
+ }
346
+
347
+ .bg-on-surface {
348
+ background: var(--md-sys-color-on-surface);
349
+ }
350
+
351
+ .bg-surface-variant {
352
+ background: var(--md-sys-color-surface-variant);
353
+ }
354
+
355
+ .bg-on-surface-variant {
356
+ background: var(--md-sys-color-on-surface-variant);
357
+ }
358
+
359
+ .bg-inverse-surface {
360
+ background: var(--md-sys-color-inverse-surface);
361
+ }
362
+
363
+ .bg-inverse-on-surface {
364
+ background: var(--md-sys-color-inverse-on-surface);
365
+ }
366
+
367
+ .bg-outline {
368
+ background: var(--md-sys-color-outline);
369
+ }
370
+
371
+ .bg-outline-variant {
372
+ background: var(--md-sys-color-outline-variant);
373
+ }
374
+
375
+ .bg-shadow {
376
+ background: var(--md-sys-color-shadow);
377
+ }
378
+
379
+ .bg-scrim {
380
+ background: var(--md-sys-color-scrim);
381
+ }
382
+
383
+ .bg-surface-tint {
384
+ background: var(--md-sys-color-surface-tint);
385
+ }
386
+
387
+ .bg-primary {
388
+ background: var(--md-sys-color-primary);
389
+ }
390
+
391
+ .bg-on-primary {
392
+ background: var(--md-sys-color-on-primary);
393
+ }
394
+
395
+ .bg-primary-container {
396
+ background: var(--md-sys-color-primary-container);
397
+ }
398
+
399
+ .bg-on-primary-container {
400
+ background: var(--md-sys-color-on-primary-container);
401
+ }
402
+
403
+ .bg-inverse-primary {
404
+ background: var(--md-sys-color-inverse-primary);
405
+ }
406
+
407
+ .bg-secondary {
408
+ background: var(--md-sys-color-secondary);
409
+ }
410
+
411
+ .bg-on-secondary {
412
+ background: var(--md-sys-color-on-secondary);
413
+ }
414
+
415
+ .bg-secondary-container {
416
+ background: var(--md-sys-color-secondary-container);
417
+ }
418
+
419
+ .bg-on-secondary-container {
420
+ background: var(--md-sys-color-on-secondary-container);
421
+ }
422
+
423
+ .bg-tertiary {
424
+ background: var(--md-sys-color-tertiary);
425
+ }
426
+
427
+ .bg-on-tertiary {
428
+ background: var(--md-sys-color-on-tertiary);
429
+ }
430
+
431
+ .bg-tertiary-container {
432
+ background: var(--md-sys-color-tertiary-container);
433
+ }
434
+
435
+ .bg-on-tertiary-container {
436
+ background: var(--md-sys-color-on-tertiary-container);
437
+ }
438
+
439
+ .bg-error {
440
+ background: var(--md-sys-color-error);
441
+ }
442
+
443
+ .bg-on-error {
444
+ background: var(--md-sys-color-on-error);
445
+ }
446
+
447
+ .bg-error-container {
448
+ background: var(--md-sys-color-error-container);
449
+ }
450
+
451
+ .bg-on-error-container {
452
+ background: var(--md-sys-color-on-error-container);
453
+ }
454
+
455
+ .bg-primary-fixed {
456
+ background: var(--md-sys-color-primary-fixed);
457
+ }
458
+
459
+ .bg-primary-fixed-dim {
460
+ background: var(--md-sys-color-primary-fixed-dim);
461
+ }
462
+
463
+ .bg-on-primary-fixed {
464
+ background: var(--md-sys-color-on-primary-fixed);
465
+ }
466
+
467
+ .bg-on-primary-fixed-variant {
468
+ background: var(--md-sys-color-on-primary-fixed-variant);
469
+ }
470
+
471
+ .bg-secondary-fixed {
472
+ background: var(--md-sys-color-secondary-fixed);
473
+ }
474
+
475
+ .bg-secondary-fixed-dim {
476
+ background: var(--md-sys-color-secondary-fixed-dim);
477
+ }
478
+
479
+ .bg-on-secondary-fixed {
480
+ background: var(--md-sys-color-on-secondary-fixed);
481
+ }
482
+
483
+ .bg-on-secondary-fixed-variant {
484
+ background: var(--md-sys-color-on-secondary-fixed-variant);
485
+ }
486
+
487
+ .bg-tertiary-fixed {
488
+ background: var(--md-sys-color-tertiary-fixed);
489
+ }
490
+
491
+ .bg-tertiary-fixed-dim {
492
+ background: var(--md-sys-color-tertiary-fixed-dim);
493
+ }
494
+
495
+ .bg-on-tertiary-fixed {
496
+ background: var(--md-sys-color-on-tertiary-fixed);
497
+ }
498
+
499
+ .bg-on-tertiary-fixed-variant {
500
+ background: var(--md-sys-color-on-tertiary-fixed-variant);
501
+ }
502
+ }
503
+
504
+ @layer material-design-system.color {
505
+ .background {
506
+ background: var(--md-sys-color-background);
507
+ }
508
+
509
+ .on-background {
510
+ color: var(--md-sys-color-on-background);
511
+ }
512
+
513
+ .surface {
514
+ background: var(--md-sys-color-surface);
515
+ }
516
+
517
+ .surface-dim {
518
+ background: var(--md-sys-color-surface-dim);
519
+ }
520
+
521
+ .surface-bright {
522
+ background: var(--md-sys-color-surface-bright);
523
+ }
524
+
525
+ .surface-container-lowest {
526
+ background: var(--md-sys-color-surface-container-lowest);
527
+ }
528
+
529
+ .surface-container-low {
530
+ background: var(--md-sys-color-surface-container-low);
531
+ }
532
+
533
+ .surface-container {
534
+ background: var(--md-sys-color-surface-container);
535
+ }
536
+
537
+ .surface-container-high {
538
+ background: var(--md-sys-color-surface-container-high);
539
+ }
540
+
541
+ .surface-container-highest {
542
+ background: var(--md-sys-color-surface-container-highest);
543
+ }
544
+
545
+ .on-surface {
546
+ color: var(--md-sys-color-on-surface);
547
+ }
548
+
549
+ .surface-variant {
550
+ background: var(--md-sys-color-surface-variant);
551
+ }
552
+
553
+ .on-surface-variant {
554
+ color: var(--md-sys-color-on-surface-variant);
555
+ }
556
+
557
+ .inverse-surface {
558
+ background: var(--md-sys-color-inverse-surface);
559
+ }
560
+
561
+ .inverse-on-surface {
562
+ color: var(--md-sys-color-inverse-on-surface);
563
+ }
564
+
565
+ .outline {
566
+ outline-color: var(--md-sys-color-outline);
567
+ border-color: var(--md-sys-color-outline);
568
+ }
569
+
570
+ .outline-variant {
571
+ outline-color: var(--md-sys-color-outline-variant);
572
+ border-color: var(--md-sys-color-outline-variant);
573
+ }
574
+
575
+ .shadow {
576
+ background: var(--md-sys-color-shadow);
577
+ }
578
+
579
+ .scrim {
580
+ background: var(--md-sys-color-scrim);
581
+ }
582
+
583
+ .surface-tint {
584
+ background: var(--md-sys-color-surface-tint);
585
+ }
586
+
587
+ .primary {
588
+ background: var(--md-sys-color-primary);
589
+ }
590
+
591
+ .on-primary {
592
+ color: var(--md-sys-color-on-primary);
593
+ }
594
+
595
+ .primary-container {
596
+ background: var(--md-sys-color-primary-container);
597
+ }
598
+
599
+ .on-primary-container {
600
+ color: var(--md-sys-color-on-primary-container);
601
+ }
602
+
603
+ .inverse-primary {
604
+ background: var(--md-sys-color-inverse-primary);
605
+ }
606
+
607
+ .secondary {
608
+ background: var(--md-sys-color-secondary);
609
+ }
610
+
611
+ .on-secondary {
612
+ color: var(--md-sys-color-on-secondary);
613
+ }
614
+
615
+ .secondary-container {
616
+ background: var(--md-sys-color-secondary-container);
617
+ }
618
+
619
+ .on-secondary-container {
620
+ color: var(--md-sys-color-on-secondary-container);
621
+ }
622
+
623
+ .tertiary {
624
+ background: var(--md-sys-color-tertiary);
625
+ }
626
+
627
+ .on-tertiary {
628
+ color: var(--md-sys-color-on-tertiary);
629
+ }
630
+
631
+ .tertiary-container {
632
+ background: var(--md-sys-color-tertiary-container);
633
+ }
634
+
635
+ .on-tertiary-container {
636
+ color: var(--md-sys-color-on-tertiary-container);
637
+ }
638
+
639
+ .error {
640
+ background: var(--md-sys-color-error);
641
+ }
642
+
643
+ .on-error {
644
+ color: var(--md-sys-color-on-error);
645
+ }
646
+
647
+ .error-container {
648
+ background: var(--md-sys-color-error-container);
649
+ }
650
+
651
+ .on-error-container {
652
+ color: var(--md-sys-color-on-error-container);
653
+ }
654
+
655
+ .primary-fixed {
656
+ background: var(--md-sys-color-primary-fixed);
657
+ }
658
+
659
+ .primary-fixed-dim {
660
+ background: var(--md-sys-color-primary-fixed-dim);
661
+ }
662
+
663
+ .on-primary-fixed {
664
+ color: var(--md-sys-color-on-primary-fixed);
665
+ }
666
+
667
+ .on-primary-fixed-variant {
668
+ color: var(--md-sys-color-on-primary-fixed-variant);
669
+ }
670
+
671
+ .secondary-fixed {
672
+ background: var(--md-sys-color-secondary-fixed);
673
+ }
674
+
675
+ .secondary-fixed-dim {
676
+ background: var(--md-sys-color-secondary-fixed-dim);
677
+ }
678
+
679
+ .on-secondary-fixed {
680
+ color: var(--md-sys-color-on-secondary-fixed);
681
+ }
682
+
683
+ .on-secondary-fixed-variant {
684
+ color: var(--md-sys-color-on-secondary-fixed-variant);
685
+ }
686
+
687
+ .tertiary-fixed {
688
+ background: var(--md-sys-color-tertiary-fixed);
689
+ }
690
+
691
+ .tertiary-fixed-dim {
692
+ background: var(--md-sys-color-tertiary-fixed-dim);
693
+ }
694
+
695
+ .on-tertiary-fixed {
696
+ color: var(--md-sys-color-on-tertiary-fixed);
697
+ }
698
+
699
+ .on-tertiary-fixed-variant {
700
+ color: var(--md-sys-color-on-tertiary-fixed-variant);
701
+ }
702
+ }
package/index.css ADDED
@@ -0,0 +1,4 @@
1
+ @import "./color.css";
2
+ @import "./motion.css";
3
+ @import "./shape.css";
4
+ @import "./typography.css";