@expressivecss/expressive 0.1.0-alpha.3 → 0.2.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.
Files changed (154) hide show
  1. package/LICENSE +82 -2
  2. package/README.md +153 -43
  3. package/dist/css/expressive.css +7121 -9658
  4. package/dist/css/expressive.css.map +1 -0
  5. package/dist/css/expressive.min.css +1 -1
  6. package/dist/css/expressive.min.css.map +1 -0
  7. package/dist/js/expressive.cjs +7521 -0
  8. package/dist/js/expressive.cjs.map +7 -0
  9. package/dist/js/expressive.js +7383 -8099
  10. package/dist/js/expressive.js.map +7 -1
  11. package/dist/js/expressive.min.js +75 -1
  12. package/dist/js/expressive.min.js.map +7 -1
  13. package/dist/js/expressive.mjs +7292 -7998
  14. package/dist/js/expressive.mjs.map +7 -1
  15. package/dist/types/behaviors/dialogs.d.ts +25 -0
  16. package/dist/{js → types}/components/autocomplete.d.ts +10 -1
  17. package/dist/{js → types}/components/buttons.d.ts +11 -1
  18. package/dist/{js → types}/components/cards.d.ts +10 -1
  19. package/dist/{js → types}/components/carousel.d.ts +4 -5
  20. package/dist/{js/forms/character-counter.d.ts → types/components/characterCounter.d.ts} +1 -1
  21. package/dist/{js → types}/components/chips.d.ts +1 -1
  22. package/dist/{js → types}/components/collapsible.d.ts +1 -1
  23. package/dist/{js → types}/components/datepicker.d.ts +63 -2
  24. package/dist/{js → types}/components/dropdown.d.ts +3 -3
  25. package/dist/types/components/index.d.ts +23 -0
  26. package/dist/{js/components/materialbox.d.ts → types/components/lightbox.d.ts} +21 -21
  27. package/dist/{js → types}/components/modal.d.ts +1 -1
  28. package/dist/{js → types}/components/parallax.d.ts +11 -5
  29. package/dist/{js → types}/components/pushpin.d.ts +1 -1
  30. package/dist/{js/forms → types/components}/range.d.ts +3 -3
  31. package/dist/types/components/registry.d.ts +107 -0
  32. package/dist/{js → types}/components/scrollspy.d.ts +6 -9
  33. package/dist/{js/forms → types/components}/select.d.ts +11 -2
  34. package/dist/{js → types}/components/sidenav.d.ts +1 -1
  35. package/dist/{js → types}/components/slider.d.ts +3 -2
  36. package/dist/{js → types}/components/tabs.d.ts +3 -2
  37. package/dist/{js/components/tap-target.d.ts → types/components/tapTarget.d.ts} +2 -2
  38. package/dist/{js → types}/components/timepicker.d.ts +13 -5
  39. package/dist/{js/components/toast.d.ts → types/components/toasts.d.ts} +28 -4
  40. package/dist/{js → types}/components/tooltip.d.ts +2 -2
  41. package/dist/types/core/bounding.d.ts +6 -0
  42. package/dist/{js/foundation → types/core}/component.d.ts +1 -1
  43. package/dist/types/core/edges.d.ts +6 -0
  44. package/dist/{js/foundation → types/core}/utils.d.ts +21 -14
  45. package/dist/types/index.d.ts +7 -0
  46. package/dist/{js/plugins/docked-display.d.ts → types/plugins/dockedDisplayPlugin.d.ts} +7 -0
  47. package/package.json +60 -36
  48. package/src/sass/README.md +200 -0
  49. package/src/sass/abstracts/_breakpoints.scss +69 -0
  50. package/src/sass/abstracts/_elevation.scss +34 -0
  51. package/src/sass/abstracts/_index.scss +7 -0
  52. package/src/sass/abstracts/_mixins.scss +171 -0
  53. package/src/sass/abstracts/_variables.scss +57 -0
  54. package/src/{scss/layout/_table.scss → sass/base/_global.scss} +64 -2
  55. package/src/{scss/layout → sass/base}/_grid.scss +6 -6
  56. package/src/sass/base/_index.scss +6 -0
  57. package/src/{scss/foundation → sass/base}/_normalize.scss +51 -139
  58. package/src/sass/base/_typography.scss +90 -0
  59. package/src/sass/components/_badges.scss +77 -0
  60. package/src/{scss → sass}/components/_breadcrumb.scss +2 -0
  61. package/src/sass/components/_buttons.scss +407 -0
  62. package/src/sass/components/_cards.scss +328 -0
  63. package/src/{scss → sass}/components/_carousel.scss +5 -3
  64. package/src/sass/components/_chips.scss +140 -0
  65. package/src/sass/components/_collapsible.scss +81 -0
  66. package/src/{scss → sass}/components/_collection.scss +2 -2
  67. package/src/{scss/components/_date-picker.scss → sass/components/_datepicker.scss} +51 -44
  68. package/src/sass/components/_docked-display.scss +11 -0
  69. package/src/sass/components/_dropdown.scss +129 -0
  70. package/src/{scss/components/_material-icons.scss → sass/components/_icons-material-design.scss} +2 -0
  71. package/src/sass/components/_index.scss +35 -0
  72. package/src/{scss/components/_material-box.scss → sass/components/_lightbox.scss} +6 -4
  73. package/src/sass/components/_modal.scss +208 -0
  74. package/src/sass/components/_navbar.scss +345 -0
  75. package/src/{scss/layout/_footer.scss → sass/components/_page-footer.scss} +7 -6
  76. package/src/{scss → sass}/components/_pagination.scss +4 -3
  77. package/src/{scss → sass}/components/_parallax.scss +4 -1
  78. package/src/{scss → sass}/components/_preloader.scss +19 -97
  79. package/src/{scss → sass}/components/_pulse.scss +2 -0
  80. package/src/sass/components/_pushpin.scss +11 -0
  81. package/src/{scss → sass}/components/_sidenav.scss +99 -82
  82. package/src/{scss → sass}/components/_slider.scss +3 -1
  83. package/src/{scss/components/_table-of-contents.scss → sass/components/_table_of_contents.scss} +2 -0
  84. package/src/sass/components/_tabs.scss +232 -0
  85. package/src/{scss/components/_tap-target.scss → sass/components/_tapTarget.scss} +24 -22
  86. package/src/{scss/components/_time-picker.scss → sass/components/_timepicker.scss} +56 -56
  87. package/src/sass/components/_toast.scss +260 -0
  88. package/src/sass/components/_toolbar.scss +192 -0
  89. package/src/sass/components/_tooltip.scss +166 -0
  90. package/src/{scss → sass}/components/_transitions.scss +4 -4
  91. package/src/sass/components/forms/_checkboxes.scss +288 -0
  92. package/src/sass/components/forms/_fieldset.scss +128 -0
  93. package/src/{scss → sass/components}/forms/_file-input.scss +11 -9
  94. package/src/{scss → sass/components}/forms/_index.scss +2 -0
  95. package/src/sass/components/forms/_input-fields.scss +326 -0
  96. package/src/sass/components/forms/_radio-buttons.scss +190 -0
  97. package/src/sass/components/forms/_range.scss +310 -0
  98. package/src/sass/components/forms/_select.scss +103 -0
  99. package/src/sass/components/forms/_switches.scss +239 -0
  100. package/src/sass/expressive.scss +60 -0
  101. package/src/sass/tokens/_index.scss +4 -0
  102. package/src/sass/tokens/_reference.scss +265 -0
  103. package/src/sass/tokens/_theme.scss +49 -0
  104. package/src/sass/utilities/_helpers.scss +63 -0
  105. package/src/sass/utilities/_index.scss +8 -0
  106. package/src/{scss → sass}/utilities/_spacing.scss +4 -3
  107. package/src/sass/utilities/_typescale.scss +45 -0
  108. package/src/sass/utilities/_visibility.scss +63 -0
  109. package/src/sass/utilities/_z-depth.scss +18 -0
  110. package/dist/js/components/index.d.ts +0 -21
  111. package/dist/js/forms/index.d.ts +0 -4
  112. package/dist/js/foundation/index.d.ts +0 -2
  113. package/dist/js/index.d.ts +0 -52
  114. package/dist/js/plugins/index.d.ts +0 -1
  115. package/src/scss/components/_appbar.scss +0 -454
  116. package/src/scss/components/_badges.scss +0 -77
  117. package/src/scss/components/_buttons.scss +0 -412
  118. package/src/scss/components/_cards.scss +0 -267
  119. package/src/scss/components/_chips.scss +0 -147
  120. package/src/scss/components/_collapsible.scss +0 -84
  121. package/src/scss/components/_dropdown.scss +0 -98
  122. package/src/scss/components/_index.scss +0 -28
  123. package/src/scss/components/_modal.scss +0 -84
  124. package/src/scss/components/_tabs.scss +0 -176
  125. package/src/scss/components/_toast.scss +0 -70
  126. package/src/scss/components/_tooltip.scss +0 -49
  127. package/src/scss/components/_video.scss +0 -15
  128. package/src/scss/expressive.scss +0 -7
  129. package/src/scss/forms/_checkboxes.scss +0 -199
  130. package/src/scss/forms/_input-fields.scss +0 -360
  131. package/src/scss/forms/_radio-buttons.scss +0 -114
  132. package/src/scss/forms/_range.scss +0 -148
  133. package/src/scss/forms/_select.scss +0 -108
  134. package/src/scss/forms/_switches.scss +0 -127
  135. package/src/scss/foundation/_base.scss +0 -71
  136. package/src/scss/foundation/_color-palette.scss +0 -402
  137. package/src/scss/foundation/_index.scss +0 -10
  138. package/src/scss/foundation/_mixins.scss +0 -198
  139. package/src/scss/foundation/_motion.scss +0 -70
  140. package/src/scss/foundation/_shape.scss +0 -30
  141. package/src/scss/foundation/_state-layers.scss +0 -68
  142. package/src/scss/foundation/_theme.scss +0 -238
  143. package/src/scss/foundation/_tokens.scss +0 -511
  144. package/src/scss/foundation/_variables.scss +0 -57
  145. package/src/scss/layout/_index.scss +0 -3
  146. package/src/scss/utilities/_a11y.scss +0 -77
  147. package/src/scss/utilities/_elevation.scss +0 -63
  148. package/src/scss/utilities/_helpers.scss +0 -50
  149. package/src/scss/utilities/_index.scss +0 -7
  150. package/src/scss/utilities/_responsive.scss +0 -62
  151. package/src/scss/utilities/_typography.scss +0 -115
  152. /package/dist/{js/forms → types/behaviors}/forms.d.ts +0 -0
  153. /package/dist/{js/components → types/behaviors}/waves.d.ts +0 -0
  154. /package/src/{scss → sass}/utilities/_colors.scss +0 -0
@@ -1,511 +0,0 @@
1
- :root {
2
- --md-source: #006495;
3
-
4
- /* Reference typeface tokens */
5
- --md-ref-typeface-brand: "Roboto Flex", Roboto, sans-serif;
6
- --md-ref-typeface-plain: "Roboto Flex", Roboto, sans-serif;
7
-
8
- /* ===== Reference Palette ===== */
9
-
10
- /* primary */
11
- --md-ref-palette-primary0: #000000;
12
- --md-ref-palette-primary4: #00101c;
13
- --md-ref-palette-primary6: #001624;
14
- --md-ref-palette-primary10: #001e30;
15
- --md-ref-palette-primary12: #002236;
16
- --md-ref-palette-primary17: #002d46;
17
- --md-ref-palette-primary20: #003450;
18
- --md-ref-palette-primary22: #003856;
19
- --md-ref-palette-primary25: #003f60;
20
- --md-ref-palette-primary30: #004b71;
21
- --md-ref-palette-primary35: #005783;
22
- --md-ref-palette-primary40: #006495;
23
- --md-ref-palette-primary50: #0f7eb8;
24
- --md-ref-palette-primary60: #3d98d4;
25
- --md-ref-palette-primary70: #5db3f0;
26
- --md-ref-palette-primary80: #8fcdff;
27
- --md-ref-palette-primary87: #b5dbff;
28
- --md-ref-palette-primary90: #cbe6ff;
29
- --md-ref-palette-primary92: #d5ebff;
30
- --md-ref-palette-primary94: #dfefff;
31
- --md-ref-palette-primary95: #e6f2ff;
32
- --md-ref-palette-primary96: #edf5ff;
33
- --md-ref-palette-primary98: #f7f9ff;
34
- --md-ref-palette-primary99: #fcfcff;
35
- --md-ref-palette-primary100: #ffffff;
36
-
37
- /* secondary */
38
- --md-ref-palette-secondary0: #000000;
39
- --md-ref-palette-secondary4: #05111b;
40
- --md-ref-palette-secondary6: #0a1621;
41
- --md-ref-palette-secondary10: #0d1d29;
42
- --md-ref-palette-secondary12: #11212e;
43
- --md-ref-palette-secondary17: #1b2c39;
44
- --md-ref-palette-secondary20: #22323f;
45
- --md-ref-palette-secondary22: #263644;
46
- --md-ref-palette-secondary25: #2d3d4b;
47
- --md-ref-palette-secondary30: #394856;
48
- --md-ref-palette-secondary35: #445462;
49
- --md-ref-palette-secondary40: #50606f;
50
- --md-ref-palette-secondary50: #697988;
51
- --md-ref-palette-secondary60: #8293a2;
52
- --md-ref-palette-secondary70: #9dadbd;
53
- --md-ref-palette-secondary80: #b8c8d9;
54
- --md-ref-palette-secondary87: #ccd8e8;
55
- --md-ref-palette-secondary90: #d4e4f6;
56
- --md-ref-palette-secondary92: #dae9fb;
57
- --md-ref-palette-secondary94: #e1eeff;
58
- --md-ref-palette-secondary95: #e6f2ff;
59
- --md-ref-palette-secondary96: #ebf4ff;
60
- --md-ref-palette-secondary98: #f7f9ff;
61
- --md-ref-palette-secondary99: #fcfcff;
62
- --md-ref-palette-secondary100: #ffffff;
63
-
64
- /* tertiary */
65
- --md-ref-palette-tertiary0: #000000;
66
- --md-ref-palette-tertiary4: #120726;
67
- --md-ref-palette-tertiary6: #180c2c;
68
- --md-ref-palette-tertiary10: #211634;
69
- --md-ref-palette-tertiary12: #251a38;
70
- --md-ref-palette-tertiary17: #302542;
71
- --md-ref-palette-tertiary20: #362b4a;
72
- --md-ref-palette-tertiary22: #3a2f4e;
73
- --md-ref-palette-tertiary25: #423656;
74
- --md-ref-palette-tertiary30: #4d4162;
75
- --md-ref-palette-tertiary35: #594c6e;
76
- --md-ref-palette-tertiary40: #66587b;
77
- --md-ref-palette-tertiary50: #7f7195;
78
- --md-ref-palette-tertiary60: #998ab0;
79
- --md-ref-palette-tertiary70: #b4a4cb;
80
- --md-ref-palette-tertiary80: #d0bfe7;
81
- --md-ref-palette-tertiary87: #e2d2f8;
82
- --md-ref-palette-tertiary90: #ecdcff;
83
- --md-ref-palette-tertiary92: #f0e2ff;
84
- --md-ref-palette-tertiary94: #f4e8ff;
85
- --md-ref-palette-tertiary95: #f7edff;
86
- --md-ref-palette-tertiary96: #f9f0ff;
87
- --md-ref-palette-tertiary98: #fef7ff;
88
- --md-ref-palette-tertiary99: #fffbff;
89
- --md-ref-palette-tertiary100: #ffffff;
90
-
91
- /* neutral */
92
- --md-ref-palette-neutral0: #000000;
93
- --md-ref-palette-neutral4: #0d0e10;
94
- --md-ref-palette-neutral6: #121315;
95
- --md-ref-palette-neutral10: #1a1c1e;
96
- --md-ref-palette-neutral12: #1e2022;
97
- --md-ref-palette-neutral17: #282a2c;
98
- --md-ref-palette-neutral20: #2e3133;
99
- --md-ref-palette-neutral22: #333537;
100
- --md-ref-palette-neutral25: #3a3c3e;
101
- --md-ref-palette-neutral30: #454749;
102
- --md-ref-palette-neutral35: #515255;
103
- --md-ref-palette-neutral40: #5d5e61;
104
- --md-ref-palette-neutral50: #76777a;
105
- --md-ref-palette-neutral60: #8f9194;
106
- --md-ref-palette-neutral70: #aaabae;
107
- --md-ref-palette-neutral80: #c6c6c9;
108
- --md-ref-palette-neutral87: #d8d8db;
109
- --md-ref-palette-neutral90: #e2e2e5;
110
- --md-ref-palette-neutral92: #e8e8eb;
111
- --md-ref-palette-neutral94: #eeeef0;
112
- --md-ref-palette-neutral95: #f0f0f3;
113
- --md-ref-palette-neutral96: #f4f3f6;
114
- --md-ref-palette-neutral98: #f9f9fc;
115
- --md-ref-palette-neutral99: #fcfcff;
116
- --md-ref-palette-neutral100: #ffffff;
117
-
118
- /* neutral-variant */
119
- --md-ref-palette-neutral-variant0: #000000;
120
- --md-ref-palette-neutral-variant4: #0b1016;
121
- --md-ref-palette-neutral-variant6: #10151b;
122
- --md-ref-palette-neutral-variant10: #161c22;
123
- --md-ref-palette-neutral-variant12: #1a2026;
124
- --md-ref-palette-neutral-variant17: #252b31;
125
- --md-ref-palette-neutral-variant20: #2b3137;
126
- --md-ref-palette-neutral-variant22: #30353b;
127
- --md-ref-palette-neutral-variant25: #363c42;
128
- --md-ref-palette-neutral-variant30: #41474d;
129
- --md-ref-palette-neutral-variant35: #4d5359;
130
- --md-ref-palette-neutral-variant40: #595f65;
131
- --md-ref-palette-neutral-variant50: #72787e;
132
- --md-ref-palette-neutral-variant60: #8b9198;
133
- --md-ref-palette-neutral-variant70: #a6acb3;
134
- --md-ref-palette-neutral-variant80: #c1c7ce;
135
- --md-ref-palette-neutral-variant87: #d4dae1;
136
- --md-ref-palette-neutral-variant90: #dee3ea;
137
- --md-ref-palette-neutral-variant92: #e4e9f0;
138
- --md-ref-palette-neutral-variant94: #eaeef5;
139
- --md-ref-palette-neutral-variant95: #ecf1f9;
140
- --md-ref-palette-neutral-variant96: #f1f5fc;
141
- --md-ref-palette-neutral-variant98: #f7f9ff;
142
- --md-ref-palette-neutral-variant99: #fcfcff;
143
- --md-ref-palette-neutral-variant100: #ffffff;
144
-
145
- /* error */
146
- --md-ref-palette-error0: #000000;
147
- --md-ref-palette-error4: #280001;
148
- --md-ref-palette-error6: #310001;
149
- --md-ref-palette-error10: #410002;
150
- --md-ref-palette-error12: #490002;
151
- --md-ref-palette-error17: #5c0004;
152
- --md-ref-palette-error20: #690005;
153
- --md-ref-palette-error22: #710006;
154
- --md-ref-palette-error25: #7e0007;
155
- --md-ref-palette-error30: #93000a;
156
- --md-ref-palette-error35: #a80710;
157
- --md-ref-palette-error40: #ba1a1a;
158
- --md-ref-palette-error50: #de3730;
159
- --md-ref-palette-error60: #ff5449;
160
- --md-ref-palette-error70: #ff897d;
161
- --md-ref-palette-error80: #ffb4ab;
162
- --md-ref-palette-error87: #ffcfc9;
163
- --md-ref-palette-error90: #ffdad6;
164
- --md-ref-palette-error92: #ffe2de;
165
- --md-ref-palette-error94: #ffe9e6;
166
- --md-ref-palette-error95: #ffedea;
167
- --md-ref-palette-error96: #fff0ee;
168
- --md-ref-palette-error98: #fff8f7;
169
- --md-ref-palette-error99: #fffbff;
170
- --md-ref-palette-error100: #ffffff;
171
-
172
- /* ===== System Color Tokens (Light) ===== */
173
-
174
- /* Core colors - light */
175
- --md-sys-color-primary-light: #006495;
176
- --md-sys-color-on-primary-light: #ffffff;
177
- --md-sys-color-primary-container-light: #cbe6ff;
178
- --md-sys-color-on-primary-container-light: #001e30;
179
- --md-sys-color-secondary-light: #50606f;
180
- --md-sys-color-on-secondary-light: #ffffff;
181
- --md-sys-color-secondary-container-light: #d4e4f6;
182
- --md-sys-color-on-secondary-container-light: #0d1d29;
183
- --md-sys-color-tertiary-light: #66587b;
184
- --md-sys-color-on-tertiary-light: #ffffff;
185
- --md-sys-color-tertiary-container-light: #ecdcff;
186
- --md-sys-color-on-tertiary-container-light: #211634;
187
- --md-sys-color-error-light: #ba1a1a;
188
- --md-sys-color-error-container-light: #ffdad6;
189
- --md-sys-color-on-error-light: #ffffff;
190
- --md-sys-color-on-error-container-light: #410002;
191
-
192
- /* Surface colors - light */
193
- --md-sys-color-background-light: #fcfcff;
194
- --md-sys-color-on-background-light: #1a1c1e;
195
- --md-sys-color-surface-light: #fcfcff;
196
- --md-sys-color-on-surface-light: #1a1c1e;
197
- --md-sys-color-surface-variant-light: #dee3ea;
198
- --md-sys-color-on-surface-variant-light: #41474d;
199
- --md-sys-color-surface-bright-light: #fcfcff;
200
- --md-sys-color-surface-dim-light: #dadce0;
201
- --md-sys-color-surface-container-lowest-light: #ffffff;
202
- --md-sys-color-surface-container-low-light: #f4f4f7;
203
- --md-sys-color-surface-container-light: #eeeef1;
204
- --md-sys-color-surface-container-high-light: #e8e8eb;
205
- --md-sys-color-surface-container-highest-light: #e2e2e5;
206
-
207
- /* Utility colors - light */
208
- --md-sys-color-outline-light: #72787e;
209
- --md-sys-color-outline-variant-light: #c1c7ce;
210
- --md-sys-color-inverse-on-surface-light: #f0f0f3;
211
- --md-sys-color-inverse-surface-light: #2e3133;
212
- --md-sys-color-inverse-primary-light: #8fcdff;
213
- --md-sys-color-shadow-light: #000000;
214
- --md-sys-color-surface-tint-light: #006495;
215
- --md-sys-color-scrim-light: #000000;
216
-
217
- /* Fixed colors - light */
218
- --md-sys-color-primary-fixed-light: #cbe6ff;
219
- --md-sys-color-primary-fixed-dim-light: #8fcdff;
220
- --md-sys-color-on-primary-fixed-light: #001e30;
221
- --md-sys-color-on-primary-fixed-variant-light: #004b71;
222
- --md-sys-color-secondary-fixed-light: #d4e4f6;
223
- --md-sys-color-secondary-fixed-dim-light: #b8c8d9;
224
- --md-sys-color-on-secondary-fixed-light: #0d1d29;
225
- --md-sys-color-on-secondary-fixed-variant-light: #394856;
226
- --md-sys-color-tertiary-fixed-light: #ecdcff;
227
- --md-sys-color-tertiary-fixed-dim-light: #d0bfe7;
228
- --md-sys-color-on-tertiary-fixed-light: #211634;
229
- --md-sys-color-on-tertiary-fixed-variant-light: #4d4162;
230
-
231
- /* ===== System Color Tokens (Dark) ===== */
232
-
233
- /* Core colors - dark */
234
- --md-sys-color-primary-dark: #8fcdff;
235
- --md-sys-color-on-primary-dark: #003450;
236
- --md-sys-color-primary-container-dark: #004b71;
237
- --md-sys-color-on-primary-container-dark: #cbe6ff;
238
- --md-sys-color-secondary-dark: #b8c8d9;
239
- --md-sys-color-on-secondary-dark: #22323f;
240
- --md-sys-color-secondary-container-dark: #394856;
241
- --md-sys-color-on-secondary-container-dark: #d4e4f6;
242
- --md-sys-color-tertiary-dark: #d0bfe7;
243
- --md-sys-color-on-tertiary-dark: #362b4a;
244
- --md-sys-color-tertiary-container-dark: #4d4162;
245
- --md-sys-color-on-tertiary-container-dark: #ecdcff;
246
- --md-sys-color-error-dark: #ffb4ab;
247
- --md-sys-color-error-container-dark: #93000a;
248
- --md-sys-color-on-error-dark: #690005;
249
- --md-sys-color-on-error-container-dark: #ffdad6;
250
-
251
- /* Surface colors - dark */
252
- --md-sys-color-background-dark: #1a1c1e;
253
- --md-sys-color-on-background-dark: #e2e2e5;
254
- --md-sys-color-surface-dark: #1a1c1e;
255
- --md-sys-color-on-surface-dark: #e2e2e5;
256
- --md-sys-color-surface-variant-dark: #41474d;
257
- --md-sys-color-on-surface-variant-dark: #c1c7ce;
258
- --md-sys-color-surface-bright-dark: #3a3c3e;
259
- --md-sys-color-surface-dim-dark: #1a1c1e;
260
- --md-sys-color-surface-container-lowest-dark: #0d0e10;
261
- --md-sys-color-surface-container-low-dark: #1e2022;
262
- --md-sys-color-surface-container-dark: #282a2c;
263
- --md-sys-color-surface-container-high-dark: #333537;
264
- --md-sys-color-surface-container-highest-dark: #3a3c3e;
265
-
266
- /* Utility colors - dark */
267
- --md-sys-color-outline-dark: #8b9198;
268
- --md-sys-color-outline-variant-dark: #41474d;
269
- --md-sys-color-inverse-on-surface-dark: #1a1c1e;
270
- --md-sys-color-inverse-surface-dark: #e2e2e5;
271
- --md-sys-color-inverse-primary-dark: #006495;
272
- --md-sys-color-shadow-dark: #000000;
273
- --md-sys-color-surface-tint-dark: #8fcdff;
274
- --md-sys-color-scrim-dark: #000000;
275
-
276
- /* Fixed colors - dark (same values as light — fixed colors don't change) */
277
- --md-sys-color-primary-fixed-dark: #cbe6ff;
278
- --md-sys-color-primary-fixed-dim-dark: #8fcdff;
279
- --md-sys-color-on-primary-fixed-dark: #001e30;
280
- --md-sys-color-on-primary-fixed-variant-dark: #004b71;
281
- --md-sys-color-secondary-fixed-dark: #d4e4f6;
282
- --md-sys-color-secondary-fixed-dim-dark: #b8c8d9;
283
- --md-sys-color-on-secondary-fixed-dark: #0d1d29;
284
- --md-sys-color-on-secondary-fixed-variant-dark: #394856;
285
- --md-sys-color-tertiary-fixed-dark: #ecdcff;
286
- --md-sys-color-tertiary-fixed-dim-dark: #d0bfe7;
287
- --md-sys-color-on-tertiary-fixed-dark: #211634;
288
- --md-sys-color-on-tertiary-fixed-variant-dark: #4d4162;
289
-
290
- /* ===== State Layer Tokens ===== */
291
- --md-sys-state-hover-opacity: 0.08;
292
- --md-sys-state-focus-opacity: 0.10;
293
- --md-sys-state-pressed-opacity: 0.10;
294
- --md-sys-state-dragged-opacity: 0.16;
295
-
296
- /* ===== Typescale Tokens ===== */
297
-
298
- /* display - large */
299
- --md-sys-typescale-display-large-font-family-name: var(--md-ref-typeface-brand);
300
- --md-sys-typescale-display-large-font-family-style: normal;
301
- --md-sys-typescale-display-large-font-weight: 400;
302
- --md-sys-typescale-display-large-font-size: 57px;
303
- --md-sys-typescale-display-large-line-height: 64px;
304
- --md-sys-typescale-display-large-letter-spacing: -0.25px;
305
- /* display - medium */
306
- --md-sys-typescale-display-medium-font-family-name: var(--md-ref-typeface-brand);
307
- --md-sys-typescale-display-medium-font-family-style: normal;
308
- --md-sys-typescale-display-medium-font-weight: 400;
309
- --md-sys-typescale-display-medium-font-size: 45px;
310
- --md-sys-typescale-display-medium-line-height: 52px;
311
- --md-sys-typescale-display-medium-letter-spacing: 0px;
312
- /* display - small */
313
- --md-sys-typescale-display-small-font-family-name: var(--md-ref-typeface-brand);
314
- --md-sys-typescale-display-small-font-family-style: normal;
315
- --md-sys-typescale-display-small-font-weight: 400;
316
- --md-sys-typescale-display-small-font-size: 36px;
317
- --md-sys-typescale-display-small-line-height: 44px;
318
- --md-sys-typescale-display-small-letter-spacing: 0px;
319
- /* headline - large */
320
- --md-sys-typescale-headline-large-font-family-name: var(--md-ref-typeface-brand);
321
- --md-sys-typescale-headline-large-font-family-style: normal;
322
- --md-sys-typescale-headline-large-font-weight: 400;
323
- --md-sys-typescale-headline-large-font-size: 32px;
324
- --md-sys-typescale-headline-large-line-height: 40px;
325
- --md-sys-typescale-headline-large-letter-spacing: 0px;
326
- /* headline - medium */
327
- --md-sys-typescale-headline-medium-font-family-name: var(--md-ref-typeface-brand);
328
- --md-sys-typescale-headline-medium-font-family-style: normal;
329
- --md-sys-typescale-headline-medium-font-weight: 400;
330
- --md-sys-typescale-headline-medium-font-size: 28px;
331
- --md-sys-typescale-headline-medium-line-height: 36px;
332
- --md-sys-typescale-headline-medium-letter-spacing: 0px;
333
- /* headline - small */
334
- --md-sys-typescale-headline-small-font-family-name: var(--md-ref-typeface-brand);
335
- --md-sys-typescale-headline-small-font-family-style: normal;
336
- --md-sys-typescale-headline-small-font-weight: 400;
337
- --md-sys-typescale-headline-small-font-size: 24px;
338
- --md-sys-typescale-headline-small-line-height: 32px;
339
- --md-sys-typescale-headline-small-letter-spacing: 0px;
340
- /* title - large */
341
- --md-sys-typescale-title-large-font-family-name: var(--md-ref-typeface-brand);
342
- --md-sys-typescale-title-large-font-family-style: normal;
343
- --md-sys-typescale-title-large-font-weight: 400;
344
- --md-sys-typescale-title-large-font-size: 22px;
345
- --md-sys-typescale-title-large-line-height: 28px;
346
- --md-sys-typescale-title-large-letter-spacing: 0px;
347
- /* title - medium */
348
- --md-sys-typescale-title-medium-font-family-name: var(--md-ref-typeface-plain);
349
- --md-sys-typescale-title-medium-font-family-style: normal;
350
- --md-sys-typescale-title-medium-font-weight: 500;
351
- --md-sys-typescale-title-medium-font-size: 16px;
352
- --md-sys-typescale-title-medium-line-height: 24px;
353
- --md-sys-typescale-title-medium-letter-spacing: 0.15px;
354
- /* title - small */
355
- --md-sys-typescale-title-small-font-family-name: var(--md-ref-typeface-plain);
356
- --md-sys-typescale-title-small-font-family-style: normal;
357
- --md-sys-typescale-title-small-font-weight: 500;
358
- --md-sys-typescale-title-small-font-size: 14px;
359
- --md-sys-typescale-title-small-line-height: 20px;
360
- --md-sys-typescale-title-small-letter-spacing: 0.10px;
361
- /* body - large */
362
- --md-sys-typescale-body-large-font-family-name: var(--md-ref-typeface-plain);
363
- --md-sys-typescale-body-large-font-family-style: normal;
364
- --md-sys-typescale-body-large-font-weight: 400;
365
- --md-sys-typescale-body-large-font-size: 16px;
366
- --md-sys-typescale-body-large-line-height: 24px;
367
- --md-sys-typescale-body-large-letter-spacing: 0.50px;
368
- /* body - medium */
369
- --md-sys-typescale-body-medium-font-family-name: var(--md-ref-typeface-plain);
370
- --md-sys-typescale-body-medium-font-family-style: normal;
371
- --md-sys-typescale-body-medium-font-weight: 400;
372
- --md-sys-typescale-body-medium-font-size: 14px;
373
- --md-sys-typescale-body-medium-line-height: 20px;
374
- --md-sys-typescale-body-medium-letter-spacing: 0.25px;
375
- /* body - small */
376
- --md-sys-typescale-body-small-font-family-name: var(--md-ref-typeface-plain);
377
- --md-sys-typescale-body-small-font-family-style: normal;
378
- --md-sys-typescale-body-small-font-weight: 400;
379
- --md-sys-typescale-body-small-font-size: 12px;
380
- --md-sys-typescale-body-small-line-height: 16px;
381
- --md-sys-typescale-body-small-letter-spacing: 0.40px;
382
- /* label - large */
383
- --md-sys-typescale-label-large-font-family-name: var(--md-ref-typeface-plain);
384
- --md-sys-typescale-label-large-font-family-style: normal;
385
- --md-sys-typescale-label-large-font-weight: 500;
386
- --md-sys-typescale-label-large-font-size: 14px;
387
- --md-sys-typescale-label-large-line-height: 20px;
388
- --md-sys-typescale-label-large-letter-spacing: 0.10px;
389
- /* label - medium */
390
- --md-sys-typescale-label-medium-font-family-name: var(--md-ref-typeface-plain);
391
- --md-sys-typescale-label-medium-font-family-style: normal;
392
- --md-sys-typescale-label-medium-font-weight: 500;
393
- --md-sys-typescale-label-medium-font-size: 12px;
394
- --md-sys-typescale-label-medium-line-height: 16px;
395
- --md-sys-typescale-label-medium-letter-spacing: 0.50px;
396
- /* label - small */
397
- --md-sys-typescale-label-small-font-family-name: var(--md-ref-typeface-plain);
398
- --md-sys-typescale-label-small-font-family-style: normal;
399
- --md-sys-typescale-label-small-font-weight: 500;
400
- --md-sys-typescale-label-small-font-size: 11px;
401
- --md-sys-typescale-label-small-line-height: 16px;
402
- --md-sys-typescale-label-small-letter-spacing: 0.50px;
403
-
404
- /* ===== Emphasized Typescale Variants ===== */
405
-
406
- /* emphasized display - large */
407
- --md-sys-typescale-emphasized-display-large-font-family-name: var(--md-ref-typeface-brand);
408
- --md-sys-typescale-emphasized-display-large-font-family-style: normal;
409
- --md-sys-typescale-emphasized-display-large-font-weight: 700;
410
- --md-sys-typescale-emphasized-display-large-font-size: 57px;
411
- --md-sys-typescale-emphasized-display-large-line-height: 64px;
412
- --md-sys-typescale-emphasized-display-large-letter-spacing: -0.25px;
413
- /* emphasized display - medium */
414
- --md-sys-typescale-emphasized-display-medium-font-family-name: var(--md-ref-typeface-brand);
415
- --md-sys-typescale-emphasized-display-medium-font-family-style: normal;
416
- --md-sys-typescale-emphasized-display-medium-font-weight: 700;
417
- --md-sys-typescale-emphasized-display-medium-font-size: 45px;
418
- --md-sys-typescale-emphasized-display-medium-line-height: 52px;
419
- --md-sys-typescale-emphasized-display-medium-letter-spacing: 0px;
420
- /* emphasized display - small */
421
- --md-sys-typescale-emphasized-display-small-font-family-name: var(--md-ref-typeface-brand);
422
- --md-sys-typescale-emphasized-display-small-font-family-style: normal;
423
- --md-sys-typescale-emphasized-display-small-font-weight: 700;
424
- --md-sys-typescale-emphasized-display-small-font-size: 36px;
425
- --md-sys-typescale-emphasized-display-small-line-height: 44px;
426
- --md-sys-typescale-emphasized-display-small-letter-spacing: 0px;
427
- /* emphasized headline - large */
428
- --md-sys-typescale-emphasized-headline-large-font-family-name: var(--md-ref-typeface-brand);
429
- --md-sys-typescale-emphasized-headline-large-font-family-style: normal;
430
- --md-sys-typescale-emphasized-headline-large-font-weight: 700;
431
- --md-sys-typescale-emphasized-headline-large-font-size: 32px;
432
- --md-sys-typescale-emphasized-headline-large-line-height: 40px;
433
- --md-sys-typescale-emphasized-headline-large-letter-spacing: 0px;
434
- /* emphasized headline - medium */
435
- --md-sys-typescale-emphasized-headline-medium-font-family-name: var(--md-ref-typeface-brand);
436
- --md-sys-typescale-emphasized-headline-medium-font-family-style: normal;
437
- --md-sys-typescale-emphasized-headline-medium-font-weight: 700;
438
- --md-sys-typescale-emphasized-headline-medium-font-size: 28px;
439
- --md-sys-typescale-emphasized-headline-medium-line-height: 36px;
440
- --md-sys-typescale-emphasized-headline-medium-letter-spacing: 0px;
441
- /* emphasized headline - small */
442
- --md-sys-typescale-emphasized-headline-small-font-family-name: var(--md-ref-typeface-brand);
443
- --md-sys-typescale-emphasized-headline-small-font-family-style: normal;
444
- --md-sys-typescale-emphasized-headline-small-font-weight: 700;
445
- --md-sys-typescale-emphasized-headline-small-font-size: 24px;
446
- --md-sys-typescale-emphasized-headline-small-line-height: 32px;
447
- --md-sys-typescale-emphasized-headline-small-letter-spacing: 0px;
448
- /* emphasized title - large */
449
- --md-sys-typescale-emphasized-title-large-font-family-name: var(--md-ref-typeface-brand);
450
- --md-sys-typescale-emphasized-title-large-font-family-style: normal;
451
- --md-sys-typescale-emphasized-title-large-font-weight: 700;
452
- --md-sys-typescale-emphasized-title-large-font-size: 22px;
453
- --md-sys-typescale-emphasized-title-large-line-height: 28px;
454
- --md-sys-typescale-emphasized-title-large-letter-spacing: 0px;
455
- /* emphasized title - medium */
456
- --md-sys-typescale-emphasized-title-medium-font-family-name: var(--md-ref-typeface-plain);
457
- --md-sys-typescale-emphasized-title-medium-font-family-style: normal;
458
- --md-sys-typescale-emphasized-title-medium-font-weight: 700;
459
- --md-sys-typescale-emphasized-title-medium-font-size: 16px;
460
- --md-sys-typescale-emphasized-title-medium-line-height: 24px;
461
- --md-sys-typescale-emphasized-title-medium-letter-spacing: 0.15px;
462
- /* emphasized title - small */
463
- --md-sys-typescale-emphasized-title-small-font-family-name: var(--md-ref-typeface-plain);
464
- --md-sys-typescale-emphasized-title-small-font-family-style: normal;
465
- --md-sys-typescale-emphasized-title-small-font-weight: 700;
466
- --md-sys-typescale-emphasized-title-small-font-size: 14px;
467
- --md-sys-typescale-emphasized-title-small-line-height: 20px;
468
- --md-sys-typescale-emphasized-title-small-letter-spacing: 0.10px;
469
- /* emphasized body - large */
470
- --md-sys-typescale-emphasized-body-large-font-family-name: var(--md-ref-typeface-plain);
471
- --md-sys-typescale-emphasized-body-large-font-family-style: normal;
472
- --md-sys-typescale-emphasized-body-large-font-weight: 700;
473
- --md-sys-typescale-emphasized-body-large-font-size: 16px;
474
- --md-sys-typescale-emphasized-body-large-line-height: 24px;
475
- --md-sys-typescale-emphasized-body-large-letter-spacing: 0.50px;
476
- /* emphasized body - medium */
477
- --md-sys-typescale-emphasized-body-medium-font-family-name: var(--md-ref-typeface-plain);
478
- --md-sys-typescale-emphasized-body-medium-font-family-style: normal;
479
- --md-sys-typescale-emphasized-body-medium-font-weight: 700;
480
- --md-sys-typescale-emphasized-body-medium-font-size: 14px;
481
- --md-sys-typescale-emphasized-body-medium-line-height: 20px;
482
- --md-sys-typescale-emphasized-body-medium-letter-spacing: 0.25px;
483
- /* emphasized body - small */
484
- --md-sys-typescale-emphasized-body-small-font-family-name: var(--md-ref-typeface-plain);
485
- --md-sys-typescale-emphasized-body-small-font-family-style: normal;
486
- --md-sys-typescale-emphasized-body-small-font-weight: 700;
487
- --md-sys-typescale-emphasized-body-small-font-size: 12px;
488
- --md-sys-typescale-emphasized-body-small-line-height: 16px;
489
- --md-sys-typescale-emphasized-body-small-letter-spacing: 0.40px;
490
- /* emphasized label - large */
491
- --md-sys-typescale-emphasized-label-large-font-family-name: var(--md-ref-typeface-plain);
492
- --md-sys-typescale-emphasized-label-large-font-family-style: normal;
493
- --md-sys-typescale-emphasized-label-large-font-weight: 700;
494
- --md-sys-typescale-emphasized-label-large-font-size: 14px;
495
- --md-sys-typescale-emphasized-label-large-line-height: 20px;
496
- --md-sys-typescale-emphasized-label-large-letter-spacing: 0.10px;
497
- /* emphasized label - medium */
498
- --md-sys-typescale-emphasized-label-medium-font-family-name: var(--md-ref-typeface-plain);
499
- --md-sys-typescale-emphasized-label-medium-font-family-style: normal;
500
- --md-sys-typescale-emphasized-label-medium-font-weight: 700;
501
- --md-sys-typescale-emphasized-label-medium-font-size: 12px;
502
- --md-sys-typescale-emphasized-label-medium-line-height: 16px;
503
- --md-sys-typescale-emphasized-label-medium-letter-spacing: 0.50px;
504
- /* emphasized label - small */
505
- --md-sys-typescale-emphasized-label-small-font-family-name: var(--md-ref-typeface-plain);
506
- --md-sys-typescale-emphasized-label-small-font-family-style: normal;
507
- --md-sys-typescale-emphasized-label-small-font-weight: 700;
508
- --md-sys-typescale-emphasized-label-small-font-size: 11px;
509
- --md-sys-typescale-emphasized-label-small-line-height: 16px;
510
- --md-sys-typescale-emphasized-label-small-letter-spacing: 0.50px;
511
- }
@@ -1,57 +0,0 @@
1
- // TypeScale
2
- $md_sys_typescale_body-large_size: 16px;
3
-
4
- @use "sass:math";
5
- @use "./color-palette";
6
-
7
- // Colors
8
- $success-color: colorFunc("green", "base") !default;
9
- $link-color: colorFunc("light-blue", "darken-1") !default;
10
-
11
- // Floating buttons
12
- $button-floating-background: var(--md-sys-color-secondary) !default;
13
- $button-floating-background-hover: var(--md-ref-palette-secondary70) !default;
14
- $button-floating-background-focus: var(--md-ref-palette-secondary80) !default;
15
- $button-floating-color: var(--md-sys-color-on-secondary) !default;
16
- $button-floating-size: 40px !default;
17
- $button-floating-radius: 16px !default;
18
-
19
- // Dropdown
20
- $dropdown-item-height: 50px !default;
21
-
22
- // Media Query Ranges
23
- $small-screen-up: 601px !default;
24
- $medium-screen-up: 993px !default;
25
- $large-screen-up: 1201px !default;
26
- $small-screen: 600.99px !default;
27
- $medium-screen: 992.99px !default;
28
- $large-screen: 1200.99px !default;
29
-
30
- $medium-and-up: "only screen and (min-width : #{$small-screen-up})" !default;
31
- $large-and-up: "only screen and (min-width : #{$medium-screen-up})" !default;
32
- $extra-large-and-up: "only screen and (min-width : #{$large-screen-up})" !default;
33
- $small-and-down: "only screen and (max-width : #{$small-screen})" !default;
34
- $medium-and-down: "only screen and (max-width : #{$medium-screen})" !default;
35
- $medium-only: "only screen and (min-width : #{$small-screen-up}) and (max-width : #{$medium-screen})" !default;
36
-
37
- // Grid
38
- $num-cols: 12 !default;
39
- $gutter-width: 1.5rem !default;
40
- $element-top-margin: math.div($gutter-width, 3) !default;
41
- $element-bottom-margin: math.div($gutter-width * 2, 3) !default;
42
-
43
- // Typography
44
- $font-stack: "Roboto Flex", Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !default;
45
- $text-color: var(--md-sys-color-on-background) !default;
46
-
47
- // Header Styles (deprecated — h1-h6 now mapped to M3 typescale in _typography.scss)
48
- $h1-fontsize: 4.2rem !default;
49
- $h2-fontsize: 3.56rem !default;
50
- $h3-fontsize: 2.92rem !default;
51
- $h4-fontsize: 2.28rem !default;
52
- $h5-fontsize: 1.64rem !default;
53
- $h6-fontsize: 1.15rem !default;
54
-
55
- // Flow Text
56
- $intervals: 20 !default;
57
- $interval-size: math.div($large-screen - $small-screen, $intervals) !default;
@@ -1,3 +0,0 @@
1
- @forward 'grid';
2
- @forward 'footer';
3
- @forward 'table';
@@ -1,77 +0,0 @@
1
- // Accessibility Utilities
2
-
3
- // Screen reader only — visually hidden but accessible
4
- .sr-only {
5
- position: absolute;
6
- width: 1px;
7
- height: 1px;
8
- padding: 0;
9
- margin: -1px;
10
- overflow: hidden;
11
- clip: rect(0, 0, 0, 0);
12
- white-space: nowrap;
13
- border: 0;
14
- }
15
-
16
- // Undo sr-only
17
- .not-sr-only {
18
- position: static;
19
- width: auto;
20
- height: auto;
21
- padding: 0;
22
- margin: 0;
23
- overflow: visible;
24
- clip: auto;
25
- white-space: normal;
26
- }
27
-
28
- // Explicit focus ring
29
- .focus-ring {
30
- &:focus-visible {
31
- outline: 3px solid var(--md-sys-color-secondary);
32
- outline-offset: 2px;
33
- }
34
- }
35
-
36
- // Skip to content link
37
- .skip-link {
38
- position: absolute;
39
- top: -100%;
40
- left: 16px;
41
- z-index: 10000;
42
- padding: 8px 16px;
43
- background-color: var(--md-sys-color-surface);
44
- color: var(--md-sys-color-on-surface);
45
- border-radius: var(--md-sys-shape-corner-small, 8px);
46
- box-shadow: var(--md-sys-elevation-level2, 0 1px 2px 0 rgba(0, 0, 0, 0.3), 0 2px 6px 2px rgba(0, 0, 0, 0.15));
47
- text-decoration: none;
48
- font-weight: 500;
49
-
50
- &:focus {
51
- top: 16px;
52
- }
53
- }
54
-
55
- // High contrast mode support
56
- @media (forced-colors: active) {
57
- .elevation-1,
58
- .elevation-2,
59
- .elevation-3,
60
- .elevation-4,
61
- .elevation-5,
62
- .z-depth-1,
63
- .z-depth-2,
64
- .z-depth-3,
65
- .z-depth-4,
66
- .z-depth-5 {
67
- border: 1px solid CanvasText;
68
- }
69
- }
70
-
71
- // Prefer more contrast
72
- @media (prefers-contrast: more) {
73
- :root {
74
- --md-sys-color-outline: var(--md-ref-palette-neutral-variant30);
75
- --md-sys-color-outline-variant: var(--md-ref-palette-neutral-variant50);
76
- }
77
- }