@guillaumemmm/marquedefabrique 2.0.2 → 2.0.4

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 +1 @@
1
- <svg width="1rem" height="1rem" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 100 100" aria-hidden="true"><path fill-rule="evenodd" clip-rule="evenodd" d="M48.854 0C21.839 0 0 22 0 49.217c0 21.756 13.993 40.172 33.405 46.69 2.427.49 3.316-1.059 3.316-2.362 0-1.141-.08-5.052-.08-9.127-13.59 2.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015 4.934.326 7.523 5.052 7.523 5.052 4.367 7.496 11.404 5.378 14.235 4.074.404-3.178 1.699-5.378 3.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283 0-5.378 1.94-9.778 5.014-13.2-.485-1.222-2.184-6.275.486-13.038 0 0 4.125-1.304 13.426 5.052a46.97 46.97 0 0 1 12.214-1.63c4.125 0 8.33.571 12.213 1.63 9.302-6.356 13.427-5.052 13.427-5.052 2.67 6.763.97 11.816.485 13.038 3.155 3.422 5.015 7.822 5.015 13.2 0 18.905-11.404 23.06-22.324 24.283 1.78 1.548 3.316 4.481 3.316 9.126 0 6.6-.08 11.897-.08 13.526 0 1.304.89 2.853 3.316 2.364 19.412-6.52 33.405-24.935 33.405-46.691C97.707 22 75.788 0 48.854 0z" fill="#24292f" /></svg>
1
+ <svg width="1rem" height="1rem" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 100 100" aria-hidden="true"><path fill-rule="evenodd" clip-rule="evenodd" d="M48.854 0C21.839 0 0 22 0 49.217c0 21.756 13.993 40.172 33.405 46.69 2.427.49 3.316-1.059 3.316-2.362 0-1.141-.08-5.052-.08-9.127-13.59 2.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015 4.934.326 7.523 5.052 7.523 5.052 4.367 7.496 11.404 5.378 14.235 4.074.404-3.178 1.699-5.378 3.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283 0-5.378 1.94-9.778 5.014-13.2-.485-1.222-2.184-6.275.486-13.038 0 0 4.125-1.304 13.426 5.052a46.97 46.97 0 0 1 12.214-1.63c4.125 0 8.33.571 12.213 1.63 9.302-6.356 13.427-5.052 13.427-5.052 2.67 6.763.97 11.816.485 13.038 3.155 3.422 5.015 7.822 5.015 13.2 0 18.905-11.404 23.06-22.324 24.283 1.78 1.548 3.316 4.481 3.316 9.126 0 6.6-.08 11.897-.08 13.526 0 1.304.89 2.853 3.316 2.364 19.412-6.52 33.405-24.935 33.405-46.691C97.707 22 75.788 0 48.854 0z" fill="currentColor" /></svg>
package/dist/css/kit.css CHANGED
@@ -1,3 +1,7 @@
1
+ body {
2
+ color: var(--mdf-color-text-default);
3
+ }
4
+
1
5
  /* TITLES */
2
6
  .mdf-title1,
3
7
  .mdf-title2,
@@ -497,6 +501,20 @@
497
501
  }
498
502
  }
499
503
 
504
+ /* LIST */
505
+ .mdf-list {
506
+ display: flex;
507
+ flex-direction: column;
508
+ gap: 5px;
509
+ list-style: inside;
510
+
511
+ .mdf-list-item {
512
+ &::marker {
513
+ color: var(--mdf-color-text-muted);
514
+ }
515
+ }
516
+ }
517
+
500
518
  /* UTILITIES */
501
519
  .visually-hidden {
502
520
  position: absolute !important;
@@ -9,17 +9,19 @@
9
9
  --mdf-color-grey-600: rgb(170, 170, 170);
10
10
  --mdf-color-grey-700: rgb(201, 201, 201);
11
11
  --mdf-color-grey-800: rgb(225, 225, 225);
12
- --mdf-color-grey-900: rgb(242, 242, 242);
12
+ --mdf-color-grey-900: rgb(230, 230, 230);
13
13
  --mdf-color-grey-1000: rgb(250, 250, 250);
14
14
 
15
+ --mdf-color-blue-0: hsl(from var(--mdf-color-blue-100) h s calc(l - 20));
15
16
  --mdf-color-blue-100: rgb(0, 99, 192);
16
17
  --mdf-color-blue-500: hsl(from var(--mdf-color-blue-100) h s calc(l + 20));
17
18
  --mdf-color-blue-900: hsl(from var(--mdf-color-blue-100) h s calc(l + 60));
18
19
 
19
- --mdf-color-purple-100: rgb(83, 47, 128);
20
+ --mdf-color-purple-100: rgb(70, 36, 112);
20
21
  --mdf-color-purple-500: hsl(from var(--mdf-color-purple-100) h s calc(l + 20));
21
22
  --mdf-color-purple-900: hsl(from var(--mdf-color-purple-100) h s calc(l + 60));
22
23
 
24
+ --mdf-color-green-0: hsl(from var(--mdf-color-green-100) h s calc(l - 20));
23
25
  --mdf-color-green-100: rgb(49, 148, 59);
24
26
  --mdf-color-green-500: hsl(from var(--mdf-color-green-100) h s calc(l + 20));
25
27
  --mdf-color-green-900: hsl(from var(--mdf-color-green-100) h s calc(l + 55));
@@ -28,6 +30,7 @@
28
30
  --mdf-color-red-500: hsl(from var(--mdf-color-red-100) h s calc(l + 20));
29
31
  --mdf-color-red-900: hsl(from var(--mdf-color-red-100) h s calc(l + 62));
30
32
 
33
+ --mdf-color-yellow-0: hsl(from var(--mdf-color-yellow-100) h s calc(l - 30));
31
34
  --mdf-color-yellow-100: rgb(255, 207, 33);
32
35
  --mdf-color-yellow-500: hsl(from var(--mdf-color-yellow-100) h s calc(l + 16));
33
36
  --mdf-color-yellow-900: hsl(from var(--mdf-color-yellow-100) h s calc(l + 38));
@@ -64,5 +67,35 @@
64
67
 
65
68
  --mdf-color-outline-default: var(--mdf-color-grey-200);
66
69
 
67
- --mdf-color-box-shadow-default:
70
+ &[data-theme="dark"] {
71
+ --mdf-color-text-default: var(--mdf-color-grey-900);
72
+ --mdf-color-text-muted: var(--mdf-color-grey-800);
73
+ --mdf-color-text-brand-primary-default: var(--mdf-color-blue-900);
74
+ --mdf-color-text-brand-primary-muted: var(--mdf-color-blue-500);
75
+ --mdf-color-text-brand-secondary-default: var(--mdf-color-purple-900);
76
+ --mdf-color-text-brand-secondary-muted: var(--mdf-color-purple-500);
77
+
78
+ --mdf-color-background-default: var(--mdf-color-grey-100);
79
+ --mdf-color-background-muted: var(--mdf-color-grey-200);
80
+ --mdf-color-background-brand-primary: var(--mdf-color-blue-0);
81
+ --mdf-color-background-brand-secondary: var(--mdf-color-purple-100);
82
+ --mdf-color-background-error: var(--mdf-color-red-100);
83
+ --mdf-color-background-warning: var(--mdf-color-yellow-0);
84
+ --mdf-color-background-success: var(--mdf-color-green-0);
85
+
86
+ --mdf-color-border-default: var(--mdf-color-grey-300);
87
+ --mdf-color-border-muted: var(--mdf-color-grey-400);
88
+ --mdf-color-border-brand-primary: var(--mdf-color-blue-500);
89
+ --mdf-color-border-brand-secondary: var(--mdf-color-purple-500);
90
+ --mdf-color-border-error: var(--mdf-color-red-500);
91
+ --mdf-color-border-warning: var(--mdf-color-yellow-500);
92
+ --mdf-color-border-success: var(--mdf-color-green-500);
93
+
94
+ --mdf-color-outline-default: var(--mdf-color-grey-800);
95
+
96
+ --mdf-color-transparent-100: rgba(0, 0, 0, 0.6);
97
+ --mdf-color-transparent-200: rgba(0, 0, 0, 0.7);
98
+ --mdf-color-transparent-300: rgba(0, 0, 0, 0.8);
99
+ --mdf-color-transparent-500: rgba(0, 0, 0, 0.9);
100
+ }
68
101
  }
package/dist/js/kit.js CHANGED
@@ -1,4 +1,4 @@
1
- const r = `.mdf-title1,.mdf-title2,.mdf-title3,.mdf-title4{font-weight:700}.mdf-title1{font-size:3rem}.mdf-title2{font-size:2.4rem}.mdf-title3{font-size:1.7rem}.mdf-title4{font-size:1.2rem}.mdf-emphasis{font-weight:700}.mdf-italic{font-style:italic}.mdf-highlighted{font-weight:700;color:var(--mdf-color-text-brand-primary-default)}.mdf-highlighted.mdf-highlighted-secondary{color:var(--mdf-color-text-brand-secondary-default)}.mdf-muted{color:var(--mdf-color-text-muted)}.mdf-block{padding:1rem;background-color:var(--mdf-color-background-muted);border-radius:8px;border:1px solid var(--mdf-color-border-default);box-shadow:0 1px 1px var(--mdf-color-transparent-300)}.mdf-block.mdf-block-brand-primary{background-color:var(--mdf-color-background-brand-primary);border-color:var(--mdf-color-border-brand-primary)}.mdf-block.mdf-block-brand-secondary{background-color:var(--mdf-color-background-brand-secondary);border-color:var(--mdf-color-border-brand-secondary)}.mdf-block.mdf-block-error{background-color:var(--mdf-color-background-error);border-color:var(--mdf-color-border-error)}.mdf-block.mdf-block-success{background-color:var(--mdf-color-background-success);border-color:var(--mdf-color-border-success)}.mdf-block.mdf-block-warning{background-color:var(--mdf-color-background-warning);border-color:var(--mdf-color-border-warning)}.mdf-badge{display:inline-block;--background: var(--mdf-color-background-default);--background-dark: hsl(from var(--background) h s calc(l - 5) );background:var(--background);background:linear-gradient(var(--background),var(--background-dark));padding:5px 7px;border-radius:8px;white-space:nowrap;box-shadow:var(--mdf-color-transparent-100) -1px -2px .5px inset}.mdf-link{display:inline;line-height:1rem;padding:1px 3px;border-radius:5px;--color-visited: var(--mdf-color-brand-primary-muted);--hover-luminosity-reduction: 5;--text-luminosity-reduction: 85;color:var(--mdf-color-text-default);background-color:var(--mdf-color-background-muted);text-decoration:underline;text-underline-offset:1.5px;text-decoration-thickness:1.5px}.mdf-link:visited{background-color:var(--mdf-color-background-brand-secondary);color:var(--mdf-color-text-brand-secondary)}.mdf-link:hover{background-color:hsl(from var(--mdf-color-background-muted) h s calc(l - 5))}.mdf-link:hover:visited{background-color:hsl(from var(--mdf-color-background-brand-secondary) h s calc(l - 5))}.mdf-link:focus-visible{outline:2px solid var(--mdf-color-outline-default);outline-offset:1px}.mdf-button-container{border:3px solid transparent;border-radius:11px;background-clip:padding-box;position:relative;display:inline-block;--color: var(--mdf-color-background-muted);--color-dark: hsl(from var(--color) h s calc(l - 2) );--color-border-light: hsl(from var(--color) h s calc(l + 3) );--color-border-dark: hsl(from var(--color) h s calc(l - 5) );--color-border-light-2: hsl(from var(--color) h calc(s - 10) l);--color-border-dark-2: hsl(from var(--color) h s calc(l - 20) )}.mdf-button-container:hover:before{content:"";position:absolute;inset:0;z-index:-1;margin:-3px;border-radius:inherit;background:linear-gradient(var(--color-border-light-2),var(--color-border-dark-2))}.mdf-button-container .mdf-button{color:inherit;background:linear-gradient(var(--color-border-light) 10%,var(--color-border-dark) 50%);cursor:pointer;line-height:1.5rem;text-decoration:none;border-radius:8px;box-shadow:0 0 2px var(--mdf-color-transparent-300);font-size:1rem;padding:0;border:none;transition:box-shadow .2s}.mdf-button-container .mdf-button .mdf-button-content{display:flex;align-items:center;margin:5px;border-radius:5px;padding:5px 1rem;background-color:var(--color);transition:background-color .2s}.mdf-button-container .mdf-button:active{box-shadow:0 0 1px var(--mdf-color-transparent-200)}.mdf-button-container .mdf-button:active .mdf-button-content{background-color:var(--color-dark)}.mdf-button-container .mdf-button:focus-visible{outline:2px solid var(--mdf-color-outline-default);outline-offset:3px}.mdf-select-field{cursor:pointer;background-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/></svg>");background-repeat:no-repeat;background-position:right .75rem center;background-size:16px 12px;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid var(--mdf-color-border-muted);border-radius:8px;font-size:inherit;padding:9px 12px;line-height:1.5rem;background-color:var(--mdf-color-background-muted);width:250px;box-shadow:0 1px 1px var(--mdf-color-transparent-300);font-family:inherit;color:inherit}.mdf-select-field:hover,.mdf-select-field:focus{background-color:var(--mdf-color-background-default)}.mdf-select-field:focus{outline:2px solid var(--mdf-color-outline-default);outline-offset:3px}.mdf-input-label,.mdf-select-label,.mdf-textarea-label{margin-bottom:2px}.mdf-input-field[type=text],.mdf-input-field[type=search],.mdf-input-field[type=password],.mdf-textarea-field{border:1px solid var(--mdf-color-border-muted);border-radius:8px;font-size:inherit;padding:9px 12px;line-height:1.5rem;background-color:var(--mdf-color-background-muted);width:250px;box-shadow:0 1px 1px var(--mdf-color-transparent-300);font-family:inherit}:is(.mdf-input-field[type=text],.mdf-input-field[type=search],.mdf-input-field[type=password],.mdf-textarea-field):hover,:is(.mdf-input-field[type=text],.mdf-input-field[type=search],.mdf-input-field[type=password],.mdf-textarea-field):focus{background-color:var(--mdf-color-background-default)}:is(.mdf-input-field[type=text],.mdf-input-field[type=search],.mdf-input-field[type=password],.mdf-textarea-field):focus{outline:2px solid var(--mdf-color-outline-default);outline-offset:3px}.mdf-textarea-field{width:320px;height:150px}.mdf-checkbox{font-size:1rem;display:flex;align-items:center;gap:.5em;cursor:pointer}.mdf-checkbox-field{-webkit-appearance:none;appearance:none;margin:0;width:1.4em;height:1.4em;border:.15em solid var(--mdf-color-border-brand-primary);background-color:var(--mdf-color-background-brand-primary);border-radius:.25rem;padding:0;cursor:pointer;display:grid;place-content:center}.mdf-checkbox-field:hover,.mdf-checkbox-field:focus{background-color:var(--mdf-color-background-default)}.mdf-checkbox-field:before{content:"";width:20px;height:20px;clip-path:path("M 6.9101 9.3579 C 6.4728 8.9207 5.7636 8.9207 5.3259 9.3579 S 4.8887 10.5044 5.3259 10.9421 L 7.4069 13.023 C 8.056 13.6722 9.108 13.6722 9.7571 13.023 L 10.1661 12.614 L 6.9101 9.3579 Z M 14.5261 6.6699 C 14.0888 6.2327 13.3796 6.2327 12.9419 6.6699 L 8.582 11.0299 L 10.1661 12.614 L 14.5261 8.2541 C 14.9633 7.8164 14.9633 7.1072 14.5261 6.6699 Z");transform:scale(0);transform-origin:bottom left;box-shadow:inset 1em 1em var(--mdf-color-text-brand-primary-default);background-color:CanvasText}.mdf-checkbox-field:checked:before{transform:scale(1)}.mdf-checkbox-field:focus-visible{outline:2px solid var(--mdf-color-outline-default);outline-offset:3px}.mdf-color{--border-radius: 8px;--background: var(--mdf-color-background-muted);--border: 1px solid var(--mdf-color-border-muted);display:flex;flex-direction:column;width:auto}.mdf-color .mdf-color-label{padding:.5rem;background-color:var(--background);border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);border:var(--border);box-shadow:0 1px 0 var(--mdf-color-transparent-300);border-top:none}.mdf-color .mdf-color-field{appearance:none;-moz-appearance:none;-webkit-appearance:none;background:none;border:0;cursor:pointer;padding:0;width:100%;height:4rem;position:relative;z-index:0;border-bottom-left-radius:0;border-bottom-right-radius:0}.mdf-color .mdf-color-field:focus{border-radius:var(--border-radius)}.mdf-color .mdf-color-field::-webkit-color-swatch{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0;border:var(--border)}.mdf-color .mdf-color-field::-webkit-color-swatch-wrapper{padding:0}.mdf-table{border-radius:8px;border-style:hidden;box-shadow:0 1px 2px var(--mdf-color-transparent-200)}.mdf-table .mdf-th:first-child{border-top-left-radius:8px}.mdf-table .mdf-th:last-child{border-top-right-radius:8px}.mdf-table tbody>tr:last-child>td:first-child{border-bottom-left-radius:8px}.mdf-table tbody>tr:last-child>td:last-child{border-bottom-right-radius:8px}.mdf-table .mdf-td,.mdf-table .mdf-th{padding:.5rem;border:1px solid var(--mdf-color-border-muted)}.mdf-table .mdf-th{font-weight:600}.mdf-table .mdf-th,.mdf-table :nth-child(2n)>.mdf-td{background-color:var(--mdf-color-background-muted);text-align:start}.mdf-code-inline{line-height:1rem;padding:1px 3px;border-radius:5px;background-color:var(--mdf-color-background-muted);font-weight:600;font-family:monospace}.mdf-code-block{line-height:1rem;padding:10px 1rem;border-radius:8px;background-color:var(--mdf-color-background-brand-primary);font-family:monospace;margin:0;box-shadow:0 1px 1px var(--mdf-color-transparent-300)}.mdf-quote{padding:1rem 2rem;border-top-right-radius:8px;border-bottom-right-radius:8px;background-color:var(--mdf-color-background-brand-secondary);box-shadow:0 1px 1px var(--mdf-color-transparent-300);border-left:5px solid var(--mdf-color-border-brand-secondary)}.mdf-quote .mdf-quote-source{margin-top:1rem;font-style:italic;color:var(--mdf-color-text-muted)}.mdf-menu{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.mdf-menu .mdf-menu-item{color:inherit;text-decoration:none;padding:8px 20px;border:none;text-align:center;display:flex;align-items:center;cursor:pointer;background:transparent;border-radius:12px;transition:border .2s,background .2s,box-shadow .2s}.mdf-menu .mdf-menu-item .mdf-menu-item-dot{width:0;height:0;display:block;background-color:var(--mdf-color-text-brand-primary-default);border-radius:2px;margin-right:0;transition:width .1s,margin-right .2s ease-out,background-color .5s}.mdf-menu .mdf-menu-item:hover,.mdf-menu .mdf-menu-item.mdf-menu-item-current{background:linear-gradient(var(--mdf-color-background-default),var(--mdf-color-background-muted));box-shadow:0 1px 2px var(--mdf-color-transparent-300)}:is(.mdf-menu .mdf-menu-item:hover,.mdf-menu .mdf-menu-item.mdf-menu-item-current) .mdf-menu-item-dot{margin-right:10px;width:8px;height:8px;background-color:var(--mdf-color-text-brand-primary-muted)}.mdf-menu .mdf-menu-item:hover .mdf-menu-item-dot{background-color:var(--mdf-color-text-brand-primary-default)}.mdf-menu .mdf-menu-item:active{box-shadow:0 0 1px var(--mdf-color-transparent-300)}.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}`, o = ":root{--mdf-color-grey-100: rgb(36, 36, 36);--mdf-color-grey-200: rgb(51, 51, 51);--mdf-color-grey-300: rgb(71, 71, 71);--mdf-color-grey-400: rgb(101, 101, 101);--mdf-color-grey-500: rgb(135, 135, 135);--mdf-color-grey-600: rgb(170, 170, 170);--mdf-color-grey-700: rgb(201, 201, 201);--mdf-color-grey-800: rgb(225, 225, 225);--mdf-color-grey-900: rgb(242, 242, 242);--mdf-color-grey-1000: rgb(250, 250, 250);--mdf-color-blue-100: rgb(0, 99, 192);--mdf-color-blue-500: hsl(from var(--mdf-color-blue-100) h s calc(l + 20) );--mdf-color-blue-900: hsl(from var(--mdf-color-blue-100) h s calc(l + 60) );--mdf-color-purple-100: rgb(83, 47, 128);--mdf-color-purple-500: hsl(from var(--mdf-color-purple-100) h s calc(l + 20) );--mdf-color-purple-900: hsl(from var(--mdf-color-purple-100) h s calc(l + 60) );--mdf-color-green-100: rgb(49, 148, 59);--mdf-color-green-500: hsl(from var(--mdf-color-green-100) h s calc(l + 20) );--mdf-color-green-900: hsl(from var(--mdf-color-green-100) h s calc(l + 55) );--mdf-color-red-100: rgb(175, 0, 35);--mdf-color-red-500: hsl(from var(--mdf-color-red-100) h s calc(l + 20) );--mdf-color-red-900: hsl(from var(--mdf-color-red-100) h s calc(l + 62) );--mdf-color-yellow-100: rgb(255, 207, 33);--mdf-color-yellow-500: hsl(from var(--mdf-color-yellow-100) h s calc(l + 16) );--mdf-color-yellow-900: hsl(from var(--mdf-color-yellow-100) h s calc(l + 38) );--mdf-color-transparent-100: rgba(0, 0, 0, .1);--mdf-color-transparent-200: rgba(0, 0, 0, .2);--mdf-color-transparent-300: rgba(0, 0, 0, .3);--mdf-color-transparent-500: rgba(0, 0, 0, .5);--mdf-color-text-default: var(--mdf-color-grey-100);--mdf-color-text-muted: var(--mdf-color-grey-200);--mdf-color-text-brand-primary-default: var(--mdf-color-blue-100);--mdf-color-text-brand-primary-muted: var(--mdf-color-blue-500);--mdf-color-text-brand-secondary-default: var(--mdf-color-purple-100);--mdf-color-text-brand-secondary-muted: var(--mdf-color-purple-500);--mdf-color-background-default: var(--mdf-color-grey-1000);--mdf-color-background-muted: var(--mdf-color-grey-900);--mdf-color-background-brand-primary: var(--mdf-color-blue-900);--mdf-color-background-brand-secondary: var(--mdf-color-purple-900);--mdf-color-background-error: var(--mdf-color-red-900);--mdf-color-background-warning: var(--mdf-color-yellow-900);--mdf-color-background-success: var(--mdf-color-green-900);--mdf-color-border-default: var(--mdf-color-grey-700);--mdf-color-border-muted: var(--mdf-color-grey-800);--mdf-color-border-brand-primary: var(--mdf-color-blue-500);--mdf-color-border-brand-secondary: var(--mdf-color-purple-500);--mdf-color-border-error: var(--mdf-color-red-500);--mdf-color-border-warning: var(--mdf-color-yellow-500);--mdf-color-border-success: var(--mdf-color-green-500);--mdf-color-outline-default: var(--mdf-color-grey-200);--mdf-color-box-shadow-default: }", d = '@layer reset{*{box-sizing:border-box}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:"";content:none}table{border-collapse:collapse;border-spacing:0}}';
1
+ const r = `body{color:var(--mdf-color-text-default)}.mdf-title1,.mdf-title2,.mdf-title3,.mdf-title4{font-weight:700}.mdf-title1{font-size:3rem}.mdf-title2{font-size:2.4rem}.mdf-title3{font-size:1.7rem}.mdf-title4{font-size:1.2rem}.mdf-emphasis{font-weight:700}.mdf-italic{font-style:italic}.mdf-highlighted{font-weight:700;color:var(--mdf-color-text-brand-primary-default)}.mdf-highlighted.mdf-highlighted-secondary{color:var(--mdf-color-text-brand-secondary-default)}.mdf-muted{color:var(--mdf-color-text-muted)}.mdf-block{padding:1rem;background-color:var(--mdf-color-background-muted);border-radius:8px;border:1px solid var(--mdf-color-border-default);box-shadow:0 1px 1px var(--mdf-color-transparent-300)}.mdf-block.mdf-block-brand-primary{background-color:var(--mdf-color-background-brand-primary);border-color:var(--mdf-color-border-brand-primary)}.mdf-block.mdf-block-brand-secondary{background-color:var(--mdf-color-background-brand-secondary);border-color:var(--mdf-color-border-brand-secondary)}.mdf-block.mdf-block-error{background-color:var(--mdf-color-background-error);border-color:var(--mdf-color-border-error)}.mdf-block.mdf-block-success{background-color:var(--mdf-color-background-success);border-color:var(--mdf-color-border-success)}.mdf-block.mdf-block-warning{background-color:var(--mdf-color-background-warning);border-color:var(--mdf-color-border-warning)}.mdf-badge{display:inline-block;--background: var(--mdf-color-background-default);--background-dark: hsl(from var(--background) h s calc(l - 5) );background:var(--background);background:linear-gradient(var(--background),var(--background-dark));padding:5px 7px;border-radius:8px;white-space:nowrap;box-shadow:var(--mdf-color-transparent-100) -1px -2px .5px inset}.mdf-link{display:inline;line-height:1rem;padding:1px 3px;border-radius:5px;--color-visited: var(--mdf-color-brand-primary-muted);--hover-luminosity-reduction: 5;--text-luminosity-reduction: 85;color:var(--mdf-color-text-default);background-color:var(--mdf-color-background-muted);text-decoration:underline;text-underline-offset:1.5px;text-decoration-thickness:1.5px}.mdf-link:visited{background-color:var(--mdf-color-background-brand-secondary);color:var(--mdf-color-text-brand-secondary)}.mdf-link:hover{background-color:hsl(from var(--mdf-color-background-muted) h s calc(l - 5))}.mdf-link:hover:visited{background-color:hsl(from var(--mdf-color-background-brand-secondary) h s calc(l - 5))}.mdf-link:focus-visible{outline:2px solid var(--mdf-color-outline-default);outline-offset:1px}.mdf-button-container{border:3px solid transparent;border-radius:11px;background-clip:padding-box;position:relative;display:inline-block;--color: var(--mdf-color-background-muted);--color-dark: hsl(from var(--color) h s calc(l - 2) );--color-border-light: hsl(from var(--color) h s calc(l + 3) );--color-border-dark: hsl(from var(--color) h s calc(l - 5) );--color-border-light-2: hsl(from var(--color) h calc(s - 10) l);--color-border-dark-2: hsl(from var(--color) h s calc(l - 20) )}.mdf-button-container:hover:before{content:"";position:absolute;inset:0;z-index:-1;margin:-3px;border-radius:inherit;background:linear-gradient(var(--color-border-light-2),var(--color-border-dark-2))}.mdf-button-container .mdf-button{color:inherit;background:linear-gradient(var(--color-border-light) 10%,var(--color-border-dark) 50%);cursor:pointer;line-height:1.5rem;text-decoration:none;border-radius:8px;box-shadow:0 0 2px var(--mdf-color-transparent-300);font-size:1rem;padding:0;border:none;transition:box-shadow .2s}.mdf-button-container .mdf-button .mdf-button-content{display:flex;align-items:center;margin:5px;border-radius:5px;padding:5px 1rem;background-color:var(--color);transition:background-color .2s}.mdf-button-container .mdf-button:active{box-shadow:0 0 1px var(--mdf-color-transparent-200)}.mdf-button-container .mdf-button:active .mdf-button-content{background-color:var(--color-dark)}.mdf-button-container .mdf-button:focus-visible{outline:2px solid var(--mdf-color-outline-default);outline-offset:3px}.mdf-select-field{cursor:pointer;background-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/></svg>");background-repeat:no-repeat;background-position:right .75rem center;background-size:16px 12px;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid var(--mdf-color-border-muted);border-radius:8px;font-size:inherit;padding:9px 12px;line-height:1.5rem;background-color:var(--mdf-color-background-muted);width:250px;box-shadow:0 1px 1px var(--mdf-color-transparent-300);font-family:inherit;color:inherit}.mdf-select-field:hover,.mdf-select-field:focus{background-color:var(--mdf-color-background-default)}.mdf-select-field:focus{outline:2px solid var(--mdf-color-outline-default);outline-offset:3px}.mdf-input-label,.mdf-select-label,.mdf-textarea-label{margin-bottom:2px}.mdf-input-field[type=text],.mdf-input-field[type=search],.mdf-input-field[type=password],.mdf-textarea-field{border:1px solid var(--mdf-color-border-muted);border-radius:8px;font-size:inherit;padding:9px 12px;line-height:1.5rem;background-color:var(--mdf-color-background-muted);width:250px;box-shadow:0 1px 1px var(--mdf-color-transparent-300);font-family:inherit}:is(.mdf-input-field[type=text],.mdf-input-field[type=search],.mdf-input-field[type=password],.mdf-textarea-field):hover,:is(.mdf-input-field[type=text],.mdf-input-field[type=search],.mdf-input-field[type=password],.mdf-textarea-field):focus{background-color:var(--mdf-color-background-default)}:is(.mdf-input-field[type=text],.mdf-input-field[type=search],.mdf-input-field[type=password],.mdf-textarea-field):focus{outline:2px solid var(--mdf-color-outline-default);outline-offset:3px}.mdf-textarea-field{width:320px;height:150px}.mdf-checkbox{font-size:1rem;display:flex;align-items:center;gap:.5em;cursor:pointer}.mdf-checkbox-field{-webkit-appearance:none;appearance:none;margin:0;width:1.4em;height:1.4em;border:.15em solid var(--mdf-color-border-brand-primary);background-color:var(--mdf-color-background-brand-primary);border-radius:.25rem;padding:0;cursor:pointer;display:grid;place-content:center}.mdf-checkbox-field:hover,.mdf-checkbox-field:focus{background-color:var(--mdf-color-background-default)}.mdf-checkbox-field:before{content:"";width:20px;height:20px;clip-path:path("M 6.9101 9.3579 C 6.4728 8.9207 5.7636 8.9207 5.3259 9.3579 S 4.8887 10.5044 5.3259 10.9421 L 7.4069 13.023 C 8.056 13.6722 9.108 13.6722 9.7571 13.023 L 10.1661 12.614 L 6.9101 9.3579 Z M 14.5261 6.6699 C 14.0888 6.2327 13.3796 6.2327 12.9419 6.6699 L 8.582 11.0299 L 10.1661 12.614 L 14.5261 8.2541 C 14.9633 7.8164 14.9633 7.1072 14.5261 6.6699 Z");transform:scale(0);transform-origin:bottom left;box-shadow:inset 1em 1em var(--mdf-color-text-brand-primary-default);background-color:CanvasText}.mdf-checkbox-field:checked:before{transform:scale(1)}.mdf-checkbox-field:focus-visible{outline:2px solid var(--mdf-color-outline-default);outline-offset:3px}.mdf-color{--border-radius: 8px;--background: var(--mdf-color-background-muted);--border: 1px solid var(--mdf-color-border-muted);display:flex;flex-direction:column;width:auto}.mdf-color .mdf-color-label{padding:.5rem;background-color:var(--background);border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);border:var(--border);box-shadow:0 1px 0 var(--mdf-color-transparent-300);border-top:none}.mdf-color .mdf-color-field{appearance:none;-moz-appearance:none;-webkit-appearance:none;background:none;border:0;cursor:pointer;padding:0;width:100%;height:4rem;position:relative;z-index:0;border-bottom-left-radius:0;border-bottom-right-radius:0}.mdf-color .mdf-color-field:focus{border-radius:var(--border-radius)}.mdf-color .mdf-color-field::-webkit-color-swatch{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0;border:var(--border)}.mdf-color .mdf-color-field::-webkit-color-swatch-wrapper{padding:0}.mdf-table{border-radius:8px;border-style:hidden;box-shadow:0 1px 2px var(--mdf-color-transparent-200)}.mdf-table .mdf-th:first-child{border-top-left-radius:8px}.mdf-table .mdf-th:last-child{border-top-right-radius:8px}.mdf-table tbody>tr:last-child>td:first-child{border-bottom-left-radius:8px}.mdf-table tbody>tr:last-child>td:last-child{border-bottom-right-radius:8px}.mdf-table .mdf-td,.mdf-table .mdf-th{padding:.5rem;border:1px solid var(--mdf-color-border-muted)}.mdf-table .mdf-th{font-weight:600}.mdf-table .mdf-th,.mdf-table :nth-child(2n)>.mdf-td{background-color:var(--mdf-color-background-muted);text-align:start}.mdf-code-inline{line-height:1rem;padding:1px 3px;border-radius:5px;background-color:var(--mdf-color-background-muted);font-weight:600;font-family:monospace}.mdf-code-block{line-height:1rem;padding:10px 1rem;border-radius:8px;background-color:var(--mdf-color-background-brand-primary);font-family:monospace;margin:0;box-shadow:0 1px 1px var(--mdf-color-transparent-300)}.mdf-quote{padding:1rem 2rem;border-top-right-radius:8px;border-bottom-right-radius:8px;background-color:var(--mdf-color-background-brand-secondary);box-shadow:0 1px 1px var(--mdf-color-transparent-300);border-left:5px solid var(--mdf-color-border-brand-secondary)}.mdf-quote .mdf-quote-source{margin-top:1rem;font-style:italic;color:var(--mdf-color-text-muted)}.mdf-menu{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.mdf-menu .mdf-menu-item{color:inherit;text-decoration:none;padding:8px 20px;border:none;text-align:center;display:flex;align-items:center;cursor:pointer;background:transparent;border-radius:12px;transition:border .2s,background .2s,box-shadow .2s}.mdf-menu .mdf-menu-item .mdf-menu-item-dot{width:0;height:0;display:block;background-color:var(--mdf-color-text-brand-primary-default);border-radius:2px;margin-right:0;transition:width .1s,margin-right .2s ease-out,background-color .5s}.mdf-menu .mdf-menu-item:hover,.mdf-menu .mdf-menu-item.mdf-menu-item-current{background:linear-gradient(var(--mdf-color-background-default),var(--mdf-color-background-muted));box-shadow:0 1px 2px var(--mdf-color-transparent-300)}:is(.mdf-menu .mdf-menu-item:hover,.mdf-menu .mdf-menu-item.mdf-menu-item-current) .mdf-menu-item-dot{margin-right:10px;width:8px;height:8px;background-color:var(--mdf-color-text-brand-primary-muted)}.mdf-menu .mdf-menu-item:hover .mdf-menu-item-dot{background-color:var(--mdf-color-text-brand-primary-default)}.mdf-menu .mdf-menu-item:active{box-shadow:0 0 1px var(--mdf-color-transparent-300)}.mdf-list{display:flex;flex-direction:column;gap:5px;list-style:inside}.mdf-list .mdf-list-item::marker{color:var(--mdf-color-text-muted)}.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}`, o = ":root{--mdf-color-grey-100: rgb(36, 36, 36);--mdf-color-grey-200: rgb(51, 51, 51);--mdf-color-grey-300: rgb(71, 71, 71);--mdf-color-grey-400: rgb(101, 101, 101);--mdf-color-grey-500: rgb(135, 135, 135);--mdf-color-grey-600: rgb(170, 170, 170);--mdf-color-grey-700: rgb(201, 201, 201);--mdf-color-grey-800: rgb(225, 225, 225);--mdf-color-grey-900: rgb(230, 230, 230);--mdf-color-grey-1000: rgb(250, 250, 250);--mdf-color-blue-0: hsl(from var(--mdf-color-blue-100) h s calc(l - 20) );--mdf-color-blue-100: rgb(0, 99, 192);--mdf-color-blue-500: hsl(from var(--mdf-color-blue-100) h s calc(l + 20) );--mdf-color-blue-900: hsl(from var(--mdf-color-blue-100) h s calc(l + 60) );--mdf-color-purple-100: rgb(70, 36, 112);--mdf-color-purple-500: hsl(from var(--mdf-color-purple-100) h s calc(l + 20) );--mdf-color-purple-900: hsl(from var(--mdf-color-purple-100) h s calc(l + 60) );--mdf-color-green-0: hsl(from var(--mdf-color-green-100) h s calc(l - 20) );--mdf-color-green-100: rgb(49, 148, 59);--mdf-color-green-500: hsl(from var(--mdf-color-green-100) h s calc(l + 20) );--mdf-color-green-900: hsl(from var(--mdf-color-green-100) h s calc(l + 55) );--mdf-color-red-100: rgb(175, 0, 35);--mdf-color-red-500: hsl(from var(--mdf-color-red-100) h s calc(l + 20) );--mdf-color-red-900: hsl(from var(--mdf-color-red-100) h s calc(l + 62) );--mdf-color-yellow-0: hsl(from var(--mdf-color-yellow-100) h s calc(l - 30) );--mdf-color-yellow-100: rgb(255, 207, 33);--mdf-color-yellow-500: hsl(from var(--mdf-color-yellow-100) h s calc(l + 16) );--mdf-color-yellow-900: hsl(from var(--mdf-color-yellow-100) h s calc(l + 38) );--mdf-color-transparent-100: rgba(0, 0, 0, .1);--mdf-color-transparent-200: rgba(0, 0, 0, .2);--mdf-color-transparent-300: rgba(0, 0, 0, .3);--mdf-color-transparent-500: rgba(0, 0, 0, .5);--mdf-color-text-default: var(--mdf-color-grey-100);--mdf-color-text-muted: var(--mdf-color-grey-200);--mdf-color-text-brand-primary-default: var(--mdf-color-blue-100);--mdf-color-text-brand-primary-muted: var(--mdf-color-blue-500);--mdf-color-text-brand-secondary-default: var(--mdf-color-purple-100);--mdf-color-text-brand-secondary-muted: var(--mdf-color-purple-500);--mdf-color-background-default: var(--mdf-color-grey-1000);--mdf-color-background-muted: var(--mdf-color-grey-900);--mdf-color-background-brand-primary: var(--mdf-color-blue-900);--mdf-color-background-brand-secondary: var(--mdf-color-purple-900);--mdf-color-background-error: var(--mdf-color-red-900);--mdf-color-background-warning: var(--mdf-color-yellow-900);--mdf-color-background-success: var(--mdf-color-green-900);--mdf-color-border-default: var(--mdf-color-grey-700);--mdf-color-border-muted: var(--mdf-color-grey-800);--mdf-color-border-brand-primary: var(--mdf-color-blue-500);--mdf-color-border-brand-secondary: var(--mdf-color-purple-500);--mdf-color-border-error: var(--mdf-color-red-500);--mdf-color-border-warning: var(--mdf-color-yellow-500);--mdf-color-border-success: var(--mdf-color-green-500);--mdf-color-outline-default: var(--mdf-color-grey-200)}:root[data-theme=dark]{--mdf-color-text-default: var(--mdf-color-grey-900);--mdf-color-text-muted: var(--mdf-color-grey-800);--mdf-color-text-brand-primary-default: var(--mdf-color-blue-900);--mdf-color-text-brand-primary-muted: var(--mdf-color-blue-500);--mdf-color-text-brand-secondary-default: var(--mdf-color-purple-900);--mdf-color-text-brand-secondary-muted: var(--mdf-color-purple-500);--mdf-color-background-default: var(--mdf-color-grey-100);--mdf-color-background-muted: var(--mdf-color-grey-200);--mdf-color-background-brand-primary: var(--mdf-color-blue-0);--mdf-color-background-brand-secondary: var(--mdf-color-purple-100);--mdf-color-background-error: var(--mdf-color-red-100);--mdf-color-background-warning: var(--mdf-color-yellow-0);--mdf-color-background-success: var(--mdf-color-green-0);--mdf-color-border-default: var(--mdf-color-grey-300);--mdf-color-border-muted: var(--mdf-color-grey-400);--mdf-color-border-brand-primary: var(--mdf-color-blue-500);--mdf-color-border-brand-secondary: var(--mdf-color-purple-500);--mdf-color-border-error: var(--mdf-color-red-500);--mdf-color-border-warning: var(--mdf-color-yellow-500);--mdf-color-border-success: var(--mdf-color-green-500);--mdf-color-outline-default: var(--mdf-color-grey-800);--mdf-color-transparent-100: rgba(0, 0, 0, .6);--mdf-color-transparent-200: rgba(0, 0, 0, .7);--mdf-color-transparent-300: rgba(0, 0, 0, .8);--mdf-color-transparent-500: rgba(0, 0, 0, .9)}", d = '@layer reset{*{box-sizing:border-box}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:"";content:none}table{border-collapse:collapse;border-spacing:0}}';
2
2
  export {
3
3
  r as kitCss,
4
4
  d as resetCss,
@@ -1,5 +1,5 @@
1
1
  <!DOCTYPE html>
2
- <html lang="fr">
2
+ <html lang="fr" data-theme="light">
3
3
  <head>
4
4
  <meta charset="UTF-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
@@ -114,7 +114,7 @@
114
114
  <div>
115
115
  <a
116
116
  class="mdf-link"
117
- href="https://github.com/GuillaumeMMM/marquedefabrique"
117
+ href="https://github.com/GuillaumeMMM/marquedefabrique?"
118
118
  >Marque de fabrique <span lang="en">on github</span>
119
119
  <svg
120
120
  width="1rem"
@@ -127,7 +127,7 @@
127
127
  fill-rule="evenodd"
128
128
  clip-rule="evenodd"
129
129
  d="M48.854 0C21.839 0 0 22 0 49.217c0 21.756 13.993 40.172 33.405 46.69 2.427.49 3.316-1.059 3.316-2.362 0-1.141-.08-5.052-.08-9.127-13.59 2.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015 4.934.326 7.523 5.052 7.523 5.052 4.367 7.496 11.404 5.378 14.235 4.074.404-3.178 1.699-5.378 3.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283 0-5.378 1.94-9.778 5.014-13.2-.485-1.222-2.184-6.275.486-13.038 0 0 4.125-1.304 13.426 5.052a46.97 46.97 0 0 1 12.214-1.63c4.125 0 8.33.571 12.213 1.63 9.302-6.356 13.427-5.052 13.427-5.052 2.67 6.763.97 11.816.485 13.038 3.155 3.422 5.015 7.822 5.015 13.2 0 18.905-11.404 23.06-22.324 24.283 1.78 1.548 3.316 4.481 3.316 9.126 0 6.6-.08 11.897-.08 13.526 0 1.304.89 2.853 3.316 2.364 19.412-6.52 33.405-24.935 33.405-46.691C97.707 22 75.788 0 48.854 0z"
130
- fill="#24292f"
130
+ fill="currentColor"
131
131
  />
132
132
  </svg>
133
133
  </a>
@@ -311,6 +311,18 @@
311
311
  </nav>
312
312
  </div>
313
313
 
314
+ <!-- LIST -->
315
+ <div class="block">
316
+ <h2 class="mdf-title2">List</h2>
317
+ <ul class="mdf-list">
318
+ <li class="mdf-list-item">Oranges</li>
319
+ <li class="mdf-list-item">Mango</li>
320
+ <li class="mdf-list-item">Watermelon</li>
321
+ <li class="mdf-list-item">Pear</li>
322
+ <li class="mdf-list-item">Banana</li>
323
+ </ul>
324
+ </div>
325
+
314
326
  <!-- COLORS -->
315
327
  <div class="block">
316
328
  <h2 class="mdf-title2">Color</h2>
@@ -420,7 +432,7 @@
420
432
  </div>
421
433
  </main>
422
434
  <footer class="footer">
423
- <p>v2.0.2</p>
435
+ <p>v2.0.4</p>
424
436
  </footer>
425
437
  </body>
426
438
  </html>
@@ -37,7 +37,7 @@ body {
37
37
  .color {
38
38
  width: 10rem;
39
39
  height: 10rem;
40
- border-radius: 0.25rem;
40
+ border-radius: 8px;
41
41
  }
42
42
  }
43
43
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@guillaumemmm/marquedefabrique",
3
- "version": "2.0.2",
3
+ "version": "2.0.4",
4
4
  "description": "Marque de Fabrique is a minimalistic UI kit. It includes a set of core styles and CSS variables centralizing design elements to maintain consistency across personal projects.",
5
5
  "main": "index.css",
6
6
  "type": "module",
package/src/kit.css CHANGED
@@ -1,3 +1,7 @@
1
+ body {
2
+ color: var(--mdf-color-text-default);
3
+ }
4
+
1
5
  /* TITLES */
2
6
  .mdf-title1,
3
7
  .mdf-title2,
@@ -497,6 +501,20 @@
497
501
  }
498
502
  }
499
503
 
504
+ /* LIST */
505
+ .mdf-list {
506
+ display: flex;
507
+ flex-direction: column;
508
+ gap: 5px;
509
+ list-style: inside;
510
+
511
+ .mdf-list-item {
512
+ &::marker {
513
+ color: var(--mdf-color-text-muted);
514
+ }
515
+ }
516
+ }
517
+
500
518
  /* UTILITIES */
501
519
  .visually-hidden {
502
520
  position: absolute !important;
package/src/variables.css CHANGED
@@ -9,17 +9,19 @@
9
9
  --mdf-color-grey-600: rgb(170, 170, 170);
10
10
  --mdf-color-grey-700: rgb(201, 201, 201);
11
11
  --mdf-color-grey-800: rgb(225, 225, 225);
12
- --mdf-color-grey-900: rgb(242, 242, 242);
12
+ --mdf-color-grey-900: rgb(230, 230, 230);
13
13
  --mdf-color-grey-1000: rgb(250, 250, 250);
14
14
 
15
+ --mdf-color-blue-0: hsl(from var(--mdf-color-blue-100) h s calc(l - 20));
15
16
  --mdf-color-blue-100: rgb(0, 99, 192);
16
17
  --mdf-color-blue-500: hsl(from var(--mdf-color-blue-100) h s calc(l + 20));
17
18
  --mdf-color-blue-900: hsl(from var(--mdf-color-blue-100) h s calc(l + 60));
18
19
 
19
- --mdf-color-purple-100: rgb(83, 47, 128);
20
+ --mdf-color-purple-100: rgb(70, 36, 112);
20
21
  --mdf-color-purple-500: hsl(from var(--mdf-color-purple-100) h s calc(l + 20));
21
22
  --mdf-color-purple-900: hsl(from var(--mdf-color-purple-100) h s calc(l + 60));
22
23
 
24
+ --mdf-color-green-0: hsl(from var(--mdf-color-green-100) h s calc(l - 20));
23
25
  --mdf-color-green-100: rgb(49, 148, 59);
24
26
  --mdf-color-green-500: hsl(from var(--mdf-color-green-100) h s calc(l + 20));
25
27
  --mdf-color-green-900: hsl(from var(--mdf-color-green-100) h s calc(l + 55));
@@ -28,6 +30,7 @@
28
30
  --mdf-color-red-500: hsl(from var(--mdf-color-red-100) h s calc(l + 20));
29
31
  --mdf-color-red-900: hsl(from var(--mdf-color-red-100) h s calc(l + 62));
30
32
 
33
+ --mdf-color-yellow-0: hsl(from var(--mdf-color-yellow-100) h s calc(l - 30));
31
34
  --mdf-color-yellow-100: rgb(255, 207, 33);
32
35
  --mdf-color-yellow-500: hsl(from var(--mdf-color-yellow-100) h s calc(l + 16));
33
36
  --mdf-color-yellow-900: hsl(from var(--mdf-color-yellow-100) h s calc(l + 38));
@@ -64,5 +67,35 @@
64
67
 
65
68
  --mdf-color-outline-default: var(--mdf-color-grey-200);
66
69
 
67
- --mdf-color-box-shadow-default:
70
+ &[data-theme="dark"] {
71
+ --mdf-color-text-default: var(--mdf-color-grey-900);
72
+ --mdf-color-text-muted: var(--mdf-color-grey-800);
73
+ --mdf-color-text-brand-primary-default: var(--mdf-color-blue-900);
74
+ --mdf-color-text-brand-primary-muted: var(--mdf-color-blue-500);
75
+ --mdf-color-text-brand-secondary-default: var(--mdf-color-purple-900);
76
+ --mdf-color-text-brand-secondary-muted: var(--mdf-color-purple-500);
77
+
78
+ --mdf-color-background-default: var(--mdf-color-grey-100);
79
+ --mdf-color-background-muted: var(--mdf-color-grey-200);
80
+ --mdf-color-background-brand-primary: var(--mdf-color-blue-0);
81
+ --mdf-color-background-brand-secondary: var(--mdf-color-purple-100);
82
+ --mdf-color-background-error: var(--mdf-color-red-100);
83
+ --mdf-color-background-warning: var(--mdf-color-yellow-0);
84
+ --mdf-color-background-success: var(--mdf-color-green-0);
85
+
86
+ --mdf-color-border-default: var(--mdf-color-grey-300);
87
+ --mdf-color-border-muted: var(--mdf-color-grey-400);
88
+ --mdf-color-border-brand-primary: var(--mdf-color-blue-500);
89
+ --mdf-color-border-brand-secondary: var(--mdf-color-purple-500);
90
+ --mdf-color-border-error: var(--mdf-color-red-500);
91
+ --mdf-color-border-warning: var(--mdf-color-yellow-500);
92
+ --mdf-color-border-success: var(--mdf-color-green-500);
93
+
94
+ --mdf-color-outline-default: var(--mdf-color-grey-800);
95
+
96
+ --mdf-color-transparent-100: rgba(0, 0, 0, 0.6);
97
+ --mdf-color-transparent-200: rgba(0, 0, 0, 0.7);
98
+ --mdf-color-transparent-300: rgba(0, 0, 0, 0.8);
99
+ --mdf-color-transparent-500: rgba(0, 0, 0, 0.9);
100
+ }
68
101
  }