igniteui-astro-components 0.0.26 → 0.0.28

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 (93) hide show
  1. package/README.md +82 -74
  2. package/package.json +16 -9
  3. package/src/components/CopyCode/CopyCode.astro +21 -7
  4. package/src/components/DocsBreadcrumb/DocsBreadcrumb.astro +33 -21
  5. package/src/components/DocsBreadcrumb/DocsBreadcrumb.scss +44 -43
  6. package/src/components/DocsBreadcrumb/README.md +10 -14
  7. package/src/components/DocsSidebar/DocsSidebar.astro +47 -45
  8. package/src/components/DocsSidebar/DocsSidebar.scss +120 -122
  9. package/src/components/DocsSidebar/README.md +25 -21
  10. package/src/components/DocsSidebar/SidebarFilterInput.astro +24 -29
  11. package/src/components/DocsSidebar/SidebarFilterInput.scss +90 -89
  12. package/src/components/DocsSidebar/SidebarLabel.astro +35 -26
  13. package/src/components/DocsSidebar/sidebar-filter.ts +93 -56
  14. package/src/components/DocsSubHeader/DocsSubHeader.astro +256 -185
  15. package/src/components/DocsSubHeader/DocsSubHeader.scss +181 -169
  16. package/src/components/DocsSubHeader/README.md +18 -16
  17. package/src/components/DocsToc/DocsToc.astro +301 -280
  18. package/src/components/DocsToc/DocsToc.scss +20 -21
  19. package/src/components/DocsToc/README.md +11 -9
  20. package/src/components/DocsToc/toTreeNodes.ts +3 -8
  21. package/src/components/DocsTree/DocsTree.astro +32 -20
  22. package/src/components/DocsTree/DocsTreeItem.astro +35 -30
  23. package/src/components/DocsTree/README.md +16 -15
  24. package/src/components/DocsTree/docs-tree.scss +267 -268
  25. package/src/components/GlobalFooter/GlobalFooter.astro +10 -10
  26. package/src/components/GlobalFooter/README.md +3 -2
  27. package/src/components/GlobalNavBar/GlobalNavBar.astro +4 -2
  28. package/src/components/GlobalNavBar/GlobalNavBar.module.scss +222 -222
  29. package/src/components/GlobalNavBar/README.md +3 -2
  30. package/src/components/LicenseIndicator/LicenseIndicator.astro +7 -5
  31. package/src/components/LicenseIndicator/LicenseIndicator.scss +3 -3
  32. package/src/components/MobileSidebarToggle/MobileSidebarToggle.astro +16 -17
  33. package/src/components/MobileSidebarToggle/README.md +3 -2
  34. package/src/components/MobileTocToggle/MobileTocToggle.astro +75 -61
  35. package/src/components/MobileTocToggle/MobileTocToggle.scss +65 -59
  36. package/src/components/Search/README.md +1 -0
  37. package/src/components/Search/Search.astro +137 -109
  38. package/src/components/Search/Search.scss +20 -20
  39. package/src/components/SearchAdvanced/README.md +21 -15
  40. package/src/components/SearchAdvanced/SearchAdvanced.astro +220 -133
  41. package/src/components/SearchAdvanced/SearchAdvanced.scss +152 -153
  42. package/src/components/mdx/ApiLink/ApiLink.astro +133 -113
  43. package/src/components/mdx/ApiLink/ApiLink.scss +9 -9
  44. package/src/components/mdx/ApiLink/README.md +26 -22
  45. package/src/components/mdx/ApiLink/api-link-index.ts +196 -173
  46. package/src/components/mdx/ApiRef/ApiRef.astro +54 -51
  47. package/src/components/mdx/ApiRef/README.md +20 -15
  48. package/src/components/mdx/Badge/Badge.astro +14 -14
  49. package/src/components/mdx/Badge/Badge.scss +61 -56
  50. package/src/components/mdx/Badge/README.md +24 -19
  51. package/src/components/mdx/DocsAside/DocsAside.astro +30 -37
  52. package/src/components/mdx/DocsAside/DocsAside.scss +82 -82
  53. package/src/components/mdx/DocsAside/README.md +22 -22
  54. package/src/components/mdx/Faq/Faq.astro +86 -0
  55. package/src/components/mdx/Faq/Faq.scss +105 -0
  56. package/src/components/mdx/Faq/FaqItem.astro +117 -0
  57. package/src/components/mdx/Faq/README.md +223 -0
  58. package/src/components/mdx/Faq/types.ts +34 -0
  59. package/src/components/mdx/PlatformBlock/PlatformBlock.astro +3 -2
  60. package/src/components/mdx/PlatformBlock/README.md +6 -8
  61. package/src/components/mdx/Sample/README.md +21 -16
  62. package/src/components/mdx/Sample/Sample.astro +97 -74
  63. package/src/components/mdx/Sample/Sample.scss +132 -132
  64. package/src/content-helper.ts +71 -72
  65. package/src/content.config.ts +1 -6
  66. package/src/integration.ts +566 -512
  67. package/src/layouts/DocsLayout/DocsLayout.astro +228 -182
  68. package/src/layouts/DocsLayout/DocsLayout.scss +261 -261
  69. package/src/layouts/DocsLayout/README.md +24 -35
  70. package/src/lib/nav-helpers.ts +88 -82
  71. package/src/lib/types.ts +76 -76
  72. package/src/llms.ts +205 -166
  73. package/src/platform.ts +312 -162
  74. package/src/plugins/rehype-heading-anchors.ts +45 -45
  75. package/src/plugins/rehype-pagefind-ignore.ts +19 -19
  76. package/src/plugins/rehype-table-wrapper.ts +30 -30
  77. package/src/plugins/remark-docfx.ts +12 -0
  78. package/src/plugins/remark-env-vars.ts +12 -4
  79. package/src/plugins/remark-md-links.ts +10 -4
  80. package/src/scripts/icon-manifest.ts +13 -5
  81. package/src/scripts/sample-widget.ts +557 -501
  82. package/src/sidebar.ts +103 -97
  83. package/src/styles/global/_code-blocks.scss +43 -44
  84. package/src/styles/global/_component-themes.scss +151 -153
  85. package/src/styles/global/_icon-gallery.scss +81 -81
  86. package/src/styles/global/_index.scss +0 -1
  87. package/src/styles/global/_markdown.scss +816 -787
  88. package/src/styles/global/_palette.scss +456 -110
  89. package/src/styles/global/_search-shared.scss +402 -398
  90. package/src/styles/global/_type-scale.scss +127 -127
  91. package/src/styles/global/_variables.scss +138 -111
  92. package/src/styles/theme.scss +49 -40
  93. package/src/virtual-modules.d.ts +11 -2
@@ -13,56 +13,229 @@
13
13
  // ── Light ─────────────────────────────────────────────────────────────────────
14
14
 
15
15
  $light-palette: (
16
- 'primary': (
17
- '50': oklch(97% 0.014 254.604), '50-contrast': adaptive-contrast(oklch(97% 0.014 254.604)), '50-raw': oklch(97% 0.014 254.604),
18
- '100': oklch(93.2% 0.032 255.585), '100-contrast': adaptive-contrast(oklch(93.2% 0.032 255.585)), '100-raw': oklch(93.2% 0.032 255.585),
19
- '200': oklch(88.2% 0.059 254.128), '200-contrast': adaptive-contrast(oklch(88.2% 0.059 254.128)), '200-raw': oklch(88.2% 0.059 254.128),
20
- '300': oklch(80.9% 0.105 251.813), '300-contrast': adaptive-contrast(oklch(80.9% 0.105 251.813)), '300-raw': oklch(80.9% 0.105 251.813),
21
- '400': oklch(71.6% 0.160 255.814), '400-contrast': adaptive-contrast(oklch(71.6% 0.160 255.814)), '400-raw': oklch(71.6% 0.160 255.814),
22
- '500': oklch(62.3% 0.214 259.815), '500-contrast': adaptive-contrast(oklch(62.3% 0.214 259.815)), '500-raw': oklch(62.3% 0.214 259.815),
23
- '600': oklch(54.6% 0.245 262.881), '600-contrast': adaptive-contrast(oklch(54.6% 0.245 262.881)), '600-raw': oklch(54.6% 0.245 262.881),
24
- '700': oklch(48.8% 0.243 264.376), '700-contrast': adaptive-contrast(oklch(48.8% 0.243 264.376)), '700-raw': oklch(48.8% 0.243 264.376),
25
- '800': oklch(42.4% 0.199 265.638), '800-contrast': adaptive-contrast(oklch(42.4% 0.199 265.638)), '800-raw': oklch(42.4% 0.199 265.638),
26
- '900': oklch(37.9% 0.146 265.522), '900-contrast': adaptive-contrast(oklch(37.9% 0.146 265.522)), '900-raw': oklch(37.9% 0.146 265.522),
27
- 'A100': oklch(93.2% 0.032 255.585), 'A100-contrast': adaptive-contrast(oklch(93.2% 0.032 255.585)), 'A100-raw': oklch(93.2% 0.032 255.585),
28
- 'A200': oklch(88.2% 0.059 254.128), 'A200-contrast': adaptive-contrast(oklch(88.2% 0.059 254.128)), 'A200-raw': oklch(88.2% 0.059 254.128),
29
- 'A400': oklch(62.3% 0.214 259.815), 'A400-contrast': adaptive-contrast(oklch(62.3% 0.214 259.815)), 'A400-raw': oklch(62.3% 0.214 259.815),
30
- 'A700': oklch(48.8% 0.243 264.376), 'A700-contrast': adaptive-contrast(oklch(48.8% 0.243 264.376)), 'A700-raw': oklch(48.8% 0.243 264.376),
31
- ),
32
- 'secondary': (
33
- '50': #fff0eb, '50-contrast': adaptive-contrast(#fff0eb), '50-raw': #fff0eb,
34
- '100': #ffe1d6, '100-contrast': adaptive-contrast(#ffe1d6), '100-raw': #ffe1d6,
35
- '200': #ffc3ad, '200-contrast': adaptive-contrast(#ffc3ad), '200-raw': #ffc3ad,
36
- '300': #ffa685, '300-contrast': adaptive-contrast(#ffa685), '300-raw': #ffa685,
37
- '400': #ff885c, '400-contrast': adaptive-contrast(#ff885c), '400-raw': #ff885c,
38
- '500': #f95924, '500-contrast': adaptive-contrast(#f95924), '500-raw': #f95924,
39
- '600': #e04f1f, '600-contrast': adaptive-contrast(#e04f1f), '600-raw': #e04f1f,
40
- '700': #c6451b, '700-contrast': adaptive-contrast(#c6451b), '700-raw': #c6451b,
41
- '800': #933313, '800-contrast': adaptive-contrast(#933313), '800-raw': #933313,
42
- '900': #5a1f0c, '900-contrast': adaptive-contrast(#5a1f0c), '900-raw': #5a1f0c,
43
- 'A100': #ffd0c0, 'A100-contrast': adaptive-contrast(#ffd0c0), 'A100-raw': #ffd0c0,
44
- 'A200': #fa8, 'A200-contrast': adaptive-contrast(#fa8), 'A200-raw': #fa8,
45
- 'A400': #ff6b45, 'A400-contrast': adaptive-contrast(#ff6b45), 'A400-raw': #ff6b45,
46
- 'A700': #ff4d25, 'A700-contrast': adaptive-contrast(#ff4d25), 'A700-raw': #ff4d25,
47
- ),
48
- 'gray': (
49
- '50': oklch(98.5% 0.002 247.839), '50-contrast': adaptive-contrast(oklch(98.5% 0.002 247.839)), '50-raw': oklch(98.5% 0.002 247.839),
50
- '100': oklch(96.7% 0.003 264.542), '100-contrast': adaptive-contrast(oklch(96.7% 0.003 264.542)), '100-raw': oklch(96.7% 0.003 264.542),
51
- '200': oklch(92.8% 0.006 264.531), '200-contrast': adaptive-contrast(oklch(92.8% 0.006 264.531)), '200-raw': oklch(92.8% 0.006 264.531),
52
- '300': oklch(87.2% 0.010 258.338), '300-contrast': adaptive-contrast(oklch(87.2% 0.010 258.338)), '300-raw': oklch(87.2% 0.010 258.338),
53
- '400': oklch(70.7% 0.022 261.325), '400-contrast': adaptive-contrast(oklch(70.7% 0.022 261.325)), '400-raw': oklch(70.7% 0.022 261.325),
54
- '500': oklch(55.1% 0.027 264.364), '500-contrast': adaptive-contrast(oklch(55.1% 0.027 264.364)), '500-raw': oklch(55.1% 0.027 264.364),
55
- '600': oklch(44.6% 0.030 256.802), '600-contrast': adaptive-contrast(oklch(44.6% 0.030 256.802)), '600-raw': oklch(44.6% 0.030 256.802),
56
- '700': oklch(37.3% 0.034 259.733), '700-contrast': adaptive-contrast(oklch(37.3% 0.034 259.733)), '700-raw': oklch(37.3% 0.034 259.733),
57
- '800': oklch(27.8% 0.033 256.848), '800-contrast': adaptive-contrast(oklch(27.8% 0.033 256.848)), '800-raw': oklch(27.8% 0.033 256.848),
58
- '900': oklch(21% 0.034 264.665), '900-contrast': adaptive-contrast(oklch(21% 0.034 264.665)), '900-raw': oklch(21% 0.034 264.665),
59
- ),
60
- 'surface': shades('surface', #fafafa, ('50', '100', '200', '300', '400', '500', '600', '700', '800', '900', 'A100', 'A200', 'A400', 'A700')),
61
- 'info': shades('info', #1151c1, ('50', '100', '200', '300', '400', '500', '600', '700', '800', '900', 'A100', 'A200', 'A400', 'A700')),
62
- 'success': shades('success', #028a54, ('50', '100', '200', '300', '400', '500', '600', '700', '800', '900', 'A100', 'A200', 'A400', 'A700')),
63
- 'warn': shades('warn', #faa419, ('50', '100', '200', '300', '400', '500', '600', '700', '800', '900', 'A100', 'A200', 'A400', 'A700')),
64
- 'error': shades('error', #ff134a, ('50', '100', '200', '300', '400', '500', '600', '700', '800', '900', 'A100', 'A200', 'A400', 'A700')),
65
- '_meta': ('variant': light),
16
+ 'primary': (
17
+ '50': oklch(97% 0.014 254.604),
18
+ '50-contrast': adaptive-contrast(oklch(97% 0.014 254.604)),
19
+ '50-raw': oklch(97% 0.014 254.604),
20
+ '100': oklch(93.2% 0.032 255.585),
21
+ '100-contrast': adaptive-contrast(oklch(93.2% 0.032 255.585)),
22
+ '100-raw': oklch(93.2% 0.032 255.585),
23
+ '200': oklch(88.2% 0.059 254.128),
24
+ '200-contrast': adaptive-contrast(oklch(88.2% 0.059 254.128)),
25
+ '200-raw': oklch(88.2% 0.059 254.128),
26
+ '300': oklch(80.9% 0.105 251.813),
27
+ '300-contrast': adaptive-contrast(oklch(80.9% 0.105 251.813)),
28
+ '300-raw': oklch(80.9% 0.105 251.813),
29
+ '400': oklch(71.6% 0.16 255.814),
30
+ '400-contrast': adaptive-contrast(oklch(71.6% 0.16 255.814)),
31
+ '400-raw': oklch(71.6% 0.16 255.814),
32
+ '500': oklch(62.3% 0.214 259.815),
33
+ '500-contrast': adaptive-contrast(oklch(62.3% 0.214 259.815)),
34
+ '500-raw': oklch(62.3% 0.214 259.815),
35
+ '600': oklch(54.6% 0.245 262.881),
36
+ '600-contrast': adaptive-contrast(oklch(54.6% 0.245 262.881)),
37
+ '600-raw': oklch(54.6% 0.245 262.881),
38
+ '700': oklch(48.8% 0.243 264.376),
39
+ '700-contrast': adaptive-contrast(oklch(48.8% 0.243 264.376)),
40
+ '700-raw': oklch(48.8% 0.243 264.376),
41
+ '800': oklch(42.4% 0.199 265.638),
42
+ '800-contrast': adaptive-contrast(oklch(42.4% 0.199 265.638)),
43
+ '800-raw': oklch(42.4% 0.199 265.638),
44
+ '900': oklch(37.9% 0.146 265.522),
45
+ '900-contrast': adaptive-contrast(oklch(37.9% 0.146 265.522)),
46
+ '900-raw': oklch(37.9% 0.146 265.522),
47
+ 'A100': oklch(93.2% 0.032 255.585),
48
+ 'A100-contrast': adaptive-contrast(oklch(93.2% 0.032 255.585)),
49
+ 'A100-raw': oklch(93.2% 0.032 255.585),
50
+ 'A200': oklch(88.2% 0.059 254.128),
51
+ 'A200-contrast': adaptive-contrast(oklch(88.2% 0.059 254.128)),
52
+ 'A200-raw': oklch(88.2% 0.059 254.128),
53
+ 'A400': oklch(62.3% 0.214 259.815),
54
+ 'A400-contrast': adaptive-contrast(oklch(62.3% 0.214 259.815)),
55
+ 'A400-raw': oklch(62.3% 0.214 259.815),
56
+ 'A700': oklch(48.8% 0.243 264.376),
57
+ 'A700-contrast': adaptive-contrast(oklch(48.8% 0.243 264.376)),
58
+ 'A700-raw': oklch(48.8% 0.243 264.376),
59
+ ),
60
+ 'secondary': (
61
+ '50': #fff0eb,
62
+ '50-contrast': adaptive-contrast(#fff0eb),
63
+ '50-raw': #fff0eb,
64
+ '100': #ffe1d6,
65
+ '100-contrast': adaptive-contrast(#ffe1d6),
66
+ '100-raw': #ffe1d6,
67
+ '200': #ffc3ad,
68
+ '200-contrast': adaptive-contrast(#ffc3ad),
69
+ '200-raw': #ffc3ad,
70
+ '300': #ffa685,
71
+ '300-contrast': adaptive-contrast(#ffa685),
72
+ '300-raw': #ffa685,
73
+ '400': #ff885c,
74
+ '400-contrast': adaptive-contrast(#ff885c),
75
+ '400-raw': #ff885c,
76
+ '500': #f95924,
77
+ '500-contrast': adaptive-contrast(#f95924),
78
+ '500-raw': #f95924,
79
+ '600': #e04f1f,
80
+ '600-contrast': adaptive-contrast(#e04f1f),
81
+ '600-raw': #e04f1f,
82
+ '700': #c6451b,
83
+ '700-contrast': adaptive-contrast(#c6451b),
84
+ '700-raw': #c6451b,
85
+ '800': #933313,
86
+ '800-contrast': adaptive-contrast(#933313),
87
+ '800-raw': #933313,
88
+ '900': #5a1f0c,
89
+ '900-contrast': adaptive-contrast(#5a1f0c),
90
+ '900-raw': #5a1f0c,
91
+ 'A100': #ffd0c0,
92
+ 'A100-contrast': adaptive-contrast(#ffd0c0),
93
+ 'A100-raw': #ffd0c0,
94
+ 'A200': #fa8,
95
+ 'A200-contrast': adaptive-contrast(#fa8),
96
+ 'A200-raw': #fa8,
97
+ 'A400': #ff6b45,
98
+ 'A400-contrast': adaptive-contrast(#ff6b45),
99
+ 'A400-raw': #ff6b45,
100
+ 'A700': #ff4d25,
101
+ 'A700-contrast': adaptive-contrast(#ff4d25),
102
+ 'A700-raw': #ff4d25,
103
+ ),
104
+ 'gray': (
105
+ '50': oklch(98.5% 0.002 247.839),
106
+ '50-contrast': adaptive-contrast(oklch(98.5% 0.002 247.839)),
107
+ '50-raw': oklch(98.5% 0.002 247.839),
108
+ '100': oklch(96.7% 0.003 264.542),
109
+ '100-contrast': adaptive-contrast(oklch(96.7% 0.003 264.542)),
110
+ '100-raw': oklch(96.7% 0.003 264.542),
111
+ '200': oklch(92.8% 0.006 264.531),
112
+ '200-contrast': adaptive-contrast(oklch(92.8% 0.006 264.531)),
113
+ '200-raw': oklch(92.8% 0.006 264.531),
114
+ '300': oklch(87.2% 0.01 258.338),
115
+ '300-contrast': adaptive-contrast(oklch(87.2% 0.01 258.338)),
116
+ '300-raw': oklch(87.2% 0.01 258.338),
117
+ '400': oklch(70.7% 0.022 261.325),
118
+ '400-contrast': adaptive-contrast(oklch(70.7% 0.022 261.325)),
119
+ '400-raw': oklch(70.7% 0.022 261.325),
120
+ '500': oklch(55.1% 0.027 264.364),
121
+ '500-contrast': adaptive-contrast(oklch(55.1% 0.027 264.364)),
122
+ '500-raw': oklch(55.1% 0.027 264.364),
123
+ '600': oklch(44.6% 0.03 256.802),
124
+ '600-contrast': adaptive-contrast(oklch(44.6% 0.03 256.802)),
125
+ '600-raw': oklch(44.6% 0.03 256.802),
126
+ '700': oklch(37.3% 0.034 259.733),
127
+ '700-contrast': adaptive-contrast(oklch(37.3% 0.034 259.733)),
128
+ '700-raw': oklch(37.3% 0.034 259.733),
129
+ '800': oklch(27.8% 0.033 256.848),
130
+ '800-contrast': adaptive-contrast(oklch(27.8% 0.033 256.848)),
131
+ '800-raw': oklch(27.8% 0.033 256.848),
132
+ '900': oklch(21% 0.034 264.665),
133
+ '900-contrast': adaptive-contrast(oklch(21% 0.034 264.665)),
134
+ '900-raw': oklch(21% 0.034 264.665),
135
+ ),
136
+ 'surface': shades(
137
+ 'surface',
138
+ #fafafa,
139
+ (
140
+ '50',
141
+ '100',
142
+ '200',
143
+ '300',
144
+ '400',
145
+ '500',
146
+ '600',
147
+ '700',
148
+ '800',
149
+ '900',
150
+ 'A100',
151
+ 'A200',
152
+ 'A400',
153
+ 'A700'
154
+ )
155
+ ),
156
+ 'info': shades(
157
+ 'info',
158
+ #1151c1,
159
+ (
160
+ '50',
161
+ '100',
162
+ '200',
163
+ '300',
164
+ '400',
165
+ '500',
166
+ '600',
167
+ '700',
168
+ '800',
169
+ '900',
170
+ 'A100',
171
+ 'A200',
172
+ 'A400',
173
+ 'A700'
174
+ )
175
+ ),
176
+ 'success': shades(
177
+ 'success',
178
+ #028a54,
179
+ (
180
+ '50',
181
+ '100',
182
+ '200',
183
+ '300',
184
+ '400',
185
+ '500',
186
+ '600',
187
+ '700',
188
+ '800',
189
+ '900',
190
+ 'A100',
191
+ 'A200',
192
+ 'A400',
193
+ 'A700'
194
+ )
195
+ ),
196
+ 'warn': shades(
197
+ 'warn',
198
+ #faa419,
199
+ (
200
+ '50',
201
+ '100',
202
+ '200',
203
+ '300',
204
+ '400',
205
+ '500',
206
+ '600',
207
+ '700',
208
+ '800',
209
+ '900',
210
+ 'A100',
211
+ 'A200',
212
+ 'A400',
213
+ 'A700'
214
+ )
215
+ ),
216
+ 'error': shades(
217
+ 'error',
218
+ #ff134a,
219
+ (
220
+ '50',
221
+ '100',
222
+ '200',
223
+ '300',
224
+ '400',
225
+ '500',
226
+ '600',
227
+ '700',
228
+ '800',
229
+ '900',
230
+ 'A100',
231
+ 'A200',
232
+ 'A400',
233
+ 'A700'
234
+ )
235
+ ),
236
+ '_meta': (
237
+ 'variant': light,
238
+ ),
66
239
  );
67
240
 
68
241
  // ── Dark ──────────────────────────────────────────────────────────────────────
@@ -70,70 +243,243 @@ $light-palette: (
70
243
  // Gray is inverted: 50 = darkest, 900 = lightest.
71
244
 
72
245
  $dark-palette: (
73
- 'primary': (
74
- '50': oklch(97% 0.014 254.604), '50-contrast': adaptive-contrast(oklch(97% 0.014 254.604)), '50-raw': oklch(97% 0.014 254.604),
75
- '100': oklch(93.2% 0.032 255.585), '100-contrast': adaptive-contrast(oklch(93.2% 0.032 255.585)), '100-raw': oklch(93.2% 0.032 255.585),
76
- '200': oklch(88.2% 0.059 254.128), '200-contrast': adaptive-contrast(oklch(88.2% 0.059 254.128)), '200-raw': oklch(88.2% 0.059 254.128),
77
- '300': oklch(80.9% 0.105 251.813), '300-contrast': adaptive-contrast(oklch(80.9% 0.105 251.813)), '300-raw': oklch(80.9% 0.105 251.813),
78
- '400': oklch(71.6% 0.160 255.814), '400-contrast': adaptive-contrast(oklch(71.6% 0.160 255.814)), '400-raw': oklch(71.6% 0.160 255.814),
79
- '500': oklch(62.3% 0.214 259.815), '500-contrast': adaptive-contrast(oklch(62.3% 0.214 259.815)), '500-raw': oklch(62.3% 0.214 259.815),
80
- '600': oklch(54.6% 0.245 262.881), '600-contrast': adaptive-contrast(oklch(54.6% 0.245 262.881)), '600-raw': oklch(54.6% 0.245 262.881),
81
- '700': oklch(48.8% 0.243 264.376), '700-contrast': adaptive-contrast(oklch(48.8% 0.243 264.376)), '700-raw': oklch(48.8% 0.243 264.376),
82
- '800': oklch(42.4% 0.199 265.638), '800-contrast': adaptive-contrast(oklch(42.4% 0.199 265.638)), '800-raw': oklch(42.4% 0.199 265.638),
83
- '900': oklch(37.9% 0.146 265.522), '900-contrast': adaptive-contrast(oklch(37.9% 0.146 265.522)), '900-raw': oklch(37.9% 0.146 265.522),
84
- 'A100': oklch(93.2% 0.032 255.585), 'A100-contrast': adaptive-contrast(oklch(93.2% 0.032 255.585)), 'A100-raw': oklch(93.2% 0.032 255.585),
85
- 'A200': oklch(88.2% 0.059 254.128), 'A200-contrast': adaptive-contrast(oklch(88.2% 0.059 254.128)), 'A200-raw': oklch(88.2% 0.059 254.128),
86
- 'A400': oklch(62.3% 0.214 259.815), 'A400-contrast': adaptive-contrast(oklch(62.3% 0.214 259.815)), 'A400-raw': oklch(62.3% 0.214 259.815),
87
- 'A700': oklch(48.8% 0.243 264.376), 'A700-contrast': adaptive-contrast(oklch(48.8% 0.243 264.376)), 'A700-raw': oklch(48.8% 0.243 264.376),
88
- ),
89
- 'secondary': (
90
- '50': #fff0eb, '50-contrast': adaptive-contrast(#fff0eb), '50-raw': #fff0eb,
91
- '100': #ffe1d6, '100-contrast': adaptive-contrast(#ffe1d6), '100-raw': #ffe1d6,
92
- '200': #ffc3ad, '200-contrast': adaptive-contrast(#ffc3ad), '200-raw': #ffc3ad,
93
- '300': #ffa685, '300-contrast': adaptive-contrast(#ffa685), '300-raw': #ffa685,
94
- '400': #ff885c, '400-contrast': adaptive-contrast(#ff885c), '400-raw': #ff885c,
95
- '500': #f95924, '500-contrast': adaptive-contrast(#f95924), '500-raw': #f95924,
96
- '600': #e04f1f, '600-contrast': adaptive-contrast(#e04f1f), '600-raw': #e04f1f,
97
- '700': #c6451b, '700-contrast': adaptive-contrast(#c6451b), '700-raw': #c6451b,
98
- '800': #933313, '800-contrast': adaptive-contrast(#933313), '800-raw': #933313,
99
- '900': #5a1f0c, '900-contrast': adaptive-contrast(#5a1f0c), '900-raw': #5a1f0c,
100
- 'A100': #ffd0c0, 'A100-contrast': adaptive-contrast(#ffd0c0), 'A100-raw': #ffd0c0,
101
- 'A200': #fa8, 'A200-contrast': adaptive-contrast(#fa8), 'A200-raw': #fa8,
102
- 'A400': #ff6b45, 'A400-contrast': adaptive-contrast(#ff6b45), 'A400-raw': #ff6b45,
103
- 'A700': #ff4d25, 'A700-contrast': adaptive-contrast(#ff4d25), 'A700-raw': #ff4d25,
104
- ),
105
- 'gray': (
106
- '50': oklch(21% 0.034 264.665), '50-contrast': adaptive-contrast(oklch(21% 0.034 264.665)), '50-raw': oklch(21% 0.034 264.665),
107
- '100': oklch(27.8% 0.033 256.848), '100-contrast': adaptive-contrast(oklch(27.8% 0.033 256.848)), '100-raw': oklch(27.8% 0.033 256.848),
108
- '200': oklch(37.3% 0.034 259.733), '200-contrast': adaptive-contrast(oklch(37.3% 0.034 259.733)), '200-raw': oklch(37.3% 0.034 259.733),
109
- '300': oklch(44.6% 0.030 256.802), '300-contrast': adaptive-contrast(oklch(44.6% 0.030 256.802)), '300-raw': oklch(44.6% 0.030 256.802),
110
- '400': oklch(55.1% 0.027 264.364), '400-contrast': adaptive-contrast(oklch(55.1% 0.027 264.364)), '400-raw': oklch(55.1% 0.027 264.364),
111
- '500': oklch(70.7% 0.022 261.325), '500-contrast': adaptive-contrast(oklch(70.7% 0.022 261.325)), '500-raw': oklch(70.7% 0.022 261.325),
112
- '600': oklch(87.2% 0.010 258.338), '600-contrast': adaptive-contrast(oklch(87.2% 0.010 258.338)), '600-raw': oklch(87.2% 0.010 258.338),
113
- '700': oklch(92.8% 0.006 264.531), '700-contrast': adaptive-contrast(oklch(92.8% 0.006 264.531)), '700-raw': oklch(92.8% 0.006 264.531),
114
- '800': oklch(96.7% 0.003 264.542), '800-contrast': adaptive-contrast(oklch(96.7% 0.003 264.542)), '800-raw': oklch(96.7% 0.003 264.542),
115
- '900': oklch(98.5% 0.002 247.839), '900-contrast': adaptive-contrast(oklch(98.5% 0.002 247.839)), '900-raw': oklch(98.5% 0.002 247.839),
116
- ),
117
- 'surface': shades('surface', #111, ('50', '100', '200', '300', '400', '500', '600', '700', '800', '900', 'A100', 'A200', 'A400', 'A700')),
118
- 'info': shades('info', #1151c1, ('50', '100', '200', '300', '400', '500', '600', '700', '800', '900', 'A100', 'A200', 'A400', 'A700')),
119
- 'success': shades('success', #028a54, ('50', '100', '200', '300', '400', '500', '600', '700', '800', '900', 'A100', 'A200', 'A400', 'A700')),
120
- 'warn': shades('warn', #faa419, ('50', '100', '200', '300', '400', '500', '600', '700', '800', '900', 'A100', 'A200', 'A400', 'A700')),
121
- 'error': shades('error', #ff134a, ('50', '100', '200', '300', '400', '500', '600', '700', '800', '900', 'A100', 'A200', 'A400', 'A700')),
122
- '_meta': ('variant': dark),
246
+ 'primary': (
247
+ '50': oklch(97% 0.014 254.604),
248
+ '50-contrast': adaptive-contrast(oklch(97% 0.014 254.604)),
249
+ '50-raw': oklch(97% 0.014 254.604),
250
+ '100': oklch(93.2% 0.032 255.585),
251
+ '100-contrast': adaptive-contrast(oklch(93.2% 0.032 255.585)),
252
+ '100-raw': oklch(93.2% 0.032 255.585),
253
+ '200': oklch(88.2% 0.059 254.128),
254
+ '200-contrast': adaptive-contrast(oklch(88.2% 0.059 254.128)),
255
+ '200-raw': oklch(88.2% 0.059 254.128),
256
+ '300': oklch(80.9% 0.105 251.813),
257
+ '300-contrast': adaptive-contrast(oklch(80.9% 0.105 251.813)),
258
+ '300-raw': oklch(80.9% 0.105 251.813),
259
+ '400': oklch(71.6% 0.16 255.814),
260
+ '400-contrast': adaptive-contrast(oklch(71.6% 0.16 255.814)),
261
+ '400-raw': oklch(71.6% 0.16 255.814),
262
+ '500': oklch(62.3% 0.214 259.815),
263
+ '500-contrast': adaptive-contrast(oklch(62.3% 0.214 259.815)),
264
+ '500-raw': oklch(62.3% 0.214 259.815),
265
+ '600': oklch(54.6% 0.245 262.881),
266
+ '600-contrast': adaptive-contrast(oklch(54.6% 0.245 262.881)),
267
+ '600-raw': oklch(54.6% 0.245 262.881),
268
+ '700': oklch(48.8% 0.243 264.376),
269
+ '700-contrast': adaptive-contrast(oklch(48.8% 0.243 264.376)),
270
+ '700-raw': oklch(48.8% 0.243 264.376),
271
+ '800': oklch(42.4% 0.199 265.638),
272
+ '800-contrast': adaptive-contrast(oklch(42.4% 0.199 265.638)),
273
+ '800-raw': oklch(42.4% 0.199 265.638),
274
+ '900': oklch(37.9% 0.146 265.522),
275
+ '900-contrast': adaptive-contrast(oklch(37.9% 0.146 265.522)),
276
+ '900-raw': oklch(37.9% 0.146 265.522),
277
+ 'A100': oklch(93.2% 0.032 255.585),
278
+ 'A100-contrast': adaptive-contrast(oklch(93.2% 0.032 255.585)),
279
+ 'A100-raw': oklch(93.2% 0.032 255.585),
280
+ 'A200': oklch(88.2% 0.059 254.128),
281
+ 'A200-contrast': adaptive-contrast(oklch(88.2% 0.059 254.128)),
282
+ 'A200-raw': oklch(88.2% 0.059 254.128),
283
+ 'A400': oklch(62.3% 0.214 259.815),
284
+ 'A400-contrast': adaptive-contrast(oklch(62.3% 0.214 259.815)),
285
+ 'A400-raw': oklch(62.3% 0.214 259.815),
286
+ 'A700': oklch(48.8% 0.243 264.376),
287
+ 'A700-contrast': adaptive-contrast(oklch(48.8% 0.243 264.376)),
288
+ 'A700-raw': oklch(48.8% 0.243 264.376),
289
+ ),
290
+ 'secondary': (
291
+ '50': #fff0eb,
292
+ '50-contrast': adaptive-contrast(#fff0eb),
293
+ '50-raw': #fff0eb,
294
+ '100': #ffe1d6,
295
+ '100-contrast': adaptive-contrast(#ffe1d6),
296
+ '100-raw': #ffe1d6,
297
+ '200': #ffc3ad,
298
+ '200-contrast': adaptive-contrast(#ffc3ad),
299
+ '200-raw': #ffc3ad,
300
+ '300': #ffa685,
301
+ '300-contrast': adaptive-contrast(#ffa685),
302
+ '300-raw': #ffa685,
303
+ '400': #ff885c,
304
+ '400-contrast': adaptive-contrast(#ff885c),
305
+ '400-raw': #ff885c,
306
+ '500': #f95924,
307
+ '500-contrast': adaptive-contrast(#f95924),
308
+ '500-raw': #f95924,
309
+ '600': #e04f1f,
310
+ '600-contrast': adaptive-contrast(#e04f1f),
311
+ '600-raw': #e04f1f,
312
+ '700': #c6451b,
313
+ '700-contrast': adaptive-contrast(#c6451b),
314
+ '700-raw': #c6451b,
315
+ '800': #933313,
316
+ '800-contrast': adaptive-contrast(#933313),
317
+ '800-raw': #933313,
318
+ '900': #5a1f0c,
319
+ '900-contrast': adaptive-contrast(#5a1f0c),
320
+ '900-raw': #5a1f0c,
321
+ 'A100': #ffd0c0,
322
+ 'A100-contrast': adaptive-contrast(#ffd0c0),
323
+ 'A100-raw': #ffd0c0,
324
+ 'A200': #fa8,
325
+ 'A200-contrast': adaptive-contrast(#fa8),
326
+ 'A200-raw': #fa8,
327
+ 'A400': #ff6b45,
328
+ 'A400-contrast': adaptive-contrast(#ff6b45),
329
+ 'A400-raw': #ff6b45,
330
+ 'A700': #ff4d25,
331
+ 'A700-contrast': adaptive-contrast(#ff4d25),
332
+ 'A700-raw': #ff4d25,
333
+ ),
334
+ 'gray': (
335
+ '50': oklch(21% 0.034 264.665),
336
+ '50-contrast': adaptive-contrast(oklch(21% 0.034 264.665)),
337
+ '50-raw': oklch(21% 0.034 264.665),
338
+ '100': oklch(27.8% 0.033 256.848),
339
+ '100-contrast': adaptive-contrast(oklch(27.8% 0.033 256.848)),
340
+ '100-raw': oklch(27.8% 0.033 256.848),
341
+ '200': oklch(37.3% 0.034 259.733),
342
+ '200-contrast': adaptive-contrast(oklch(37.3% 0.034 259.733)),
343
+ '200-raw': oklch(37.3% 0.034 259.733),
344
+ '300': oklch(44.6% 0.03 256.802),
345
+ '300-contrast': adaptive-contrast(oklch(44.6% 0.03 256.802)),
346
+ '300-raw': oklch(44.6% 0.03 256.802),
347
+ '400': oklch(55.1% 0.027 264.364),
348
+ '400-contrast': adaptive-contrast(oklch(55.1% 0.027 264.364)),
349
+ '400-raw': oklch(55.1% 0.027 264.364),
350
+ '500': oklch(70.7% 0.022 261.325),
351
+ '500-contrast': adaptive-contrast(oklch(70.7% 0.022 261.325)),
352
+ '500-raw': oklch(70.7% 0.022 261.325),
353
+ '600': oklch(87.2% 0.01 258.338),
354
+ '600-contrast': adaptive-contrast(oklch(87.2% 0.01 258.338)),
355
+ '600-raw': oklch(87.2% 0.01 258.338),
356
+ '700': oklch(92.8% 0.006 264.531),
357
+ '700-contrast': adaptive-contrast(oklch(92.8% 0.006 264.531)),
358
+ '700-raw': oklch(92.8% 0.006 264.531),
359
+ '800': oklch(96.7% 0.003 264.542),
360
+ '800-contrast': adaptive-contrast(oklch(96.7% 0.003 264.542)),
361
+ '800-raw': oklch(96.7% 0.003 264.542),
362
+ '900': oklch(98.5% 0.002 247.839),
363
+ '900-contrast': adaptive-contrast(oklch(98.5% 0.002 247.839)),
364
+ '900-raw': oklch(98.5% 0.002 247.839),
365
+ ),
366
+ 'surface': shades(
367
+ 'surface',
368
+ #111,
369
+ (
370
+ '50',
371
+ '100',
372
+ '200',
373
+ '300',
374
+ '400',
375
+ '500',
376
+ '600',
377
+ '700',
378
+ '800',
379
+ '900',
380
+ 'A100',
381
+ 'A200',
382
+ 'A400',
383
+ 'A700'
384
+ )
385
+ ),
386
+ 'info': shades(
387
+ 'info',
388
+ #1151c1,
389
+ (
390
+ '50',
391
+ '100',
392
+ '200',
393
+ '300',
394
+ '400',
395
+ '500',
396
+ '600',
397
+ '700',
398
+ '800',
399
+ '900',
400
+ 'A100',
401
+ 'A200',
402
+ 'A400',
403
+ 'A700'
404
+ )
405
+ ),
406
+ 'success': shades(
407
+ 'success',
408
+ #028a54,
409
+ (
410
+ '50',
411
+ '100',
412
+ '200',
413
+ '300',
414
+ '400',
415
+ '500',
416
+ '600',
417
+ '700',
418
+ '800',
419
+ '900',
420
+ 'A100',
421
+ 'A200',
422
+ 'A400',
423
+ 'A700'
424
+ )
425
+ ),
426
+ 'warn': shades(
427
+ 'warn',
428
+ #faa419,
429
+ (
430
+ '50',
431
+ '100',
432
+ '200',
433
+ '300',
434
+ '400',
435
+ '500',
436
+ '600',
437
+ '700',
438
+ '800',
439
+ '900',
440
+ 'A100',
441
+ 'A200',
442
+ 'A400',
443
+ 'A700'
444
+ )
445
+ ),
446
+ 'error': shades(
447
+ 'error',
448
+ #ff134a,
449
+ (
450
+ '50',
451
+ '100',
452
+ '200',
453
+ '300',
454
+ '400',
455
+ '500',
456
+ '600',
457
+ '700',
458
+ '800',
459
+ '900',
460
+ 'A100',
461
+ 'A200',
462
+ 'A400',
463
+ 'A700'
464
+ )
465
+ ),
466
+ '_meta': (
467
+ 'variant': dark,
468
+ ),
123
469
  );
124
470
 
125
471
  [data-theme='light'] {
126
- @include palette($light-palette);
127
- --igd-scrollbar-thumb: var(--ig-gray-300);
128
- --igd-scrollbar-track: transparent;
129
-
130
- color-scheme: light;
472
+ @include palette($light-palette);
473
+ --igd-scrollbar-thumb: var(--ig-gray-300);
474
+ --igd-scrollbar-track: transparent;
475
+
476
+ color-scheme: light;
131
477
  }
132
478
 
133
479
  [data-theme='dark'] {
134
- @include palette($dark-palette);
135
- --igd-scrollbar-thumb: var(--ig-gray-300);
136
- --igd-scrollbar-track: transparent;
137
-
138
- color-scheme: dark;
480
+ @include palette($dark-palette);
481
+ --igd-scrollbar-thumb: var(--ig-gray-300);
482
+ --igd-scrollbar-track: transparent;
483
+
484
+ color-scheme: dark;
139
485
  }