igniteui-astro-components 0.0.27 → 0.0.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +82 -74
- package/package.json +16 -2
- package/src/assets/images/anatomy-test.png +0 -0
- package/src/components/CopyCode/CopyCode.astro +21 -7
- package/src/components/DocsBreadcrumb/DocsBreadcrumb.astro +33 -21
- package/src/components/DocsBreadcrumb/DocsBreadcrumb.scss +44 -43
- package/src/components/DocsBreadcrumb/README.md +10 -14
- package/src/components/DocsSidebar/DocsSidebar.astro +47 -45
- package/src/components/DocsSidebar/DocsSidebar.scss +120 -122
- package/src/components/DocsSidebar/README.md +25 -21
- package/src/components/DocsSidebar/SidebarFilterInput.astro +24 -29
- package/src/components/DocsSidebar/SidebarFilterInput.scss +90 -89
- package/src/components/DocsSidebar/SidebarLabel.astro +35 -26
- package/src/components/DocsSidebar/sidebar-filter.ts +93 -56
- package/src/components/DocsSubHeader/DocsSubHeader.astro +256 -195
- package/src/components/DocsSubHeader/DocsSubHeader.scss +181 -178
- package/src/components/DocsSubHeader/README.md +18 -16
- package/src/components/DocsToc/DocsToc.astro +301 -280
- package/src/components/DocsToc/DocsToc.scss +20 -21
- package/src/components/DocsToc/README.md +11 -9
- package/src/components/DocsToc/toTreeNodes.ts +3 -8
- package/src/components/DocsTree/DocsTree.astro +32 -20
- package/src/components/DocsTree/DocsTreeItem.astro +35 -30
- package/src/components/DocsTree/README.md +16 -15
- package/src/components/DocsTree/docs-tree.scss +267 -268
- package/src/components/GlobalFooter/GlobalFooter.astro +10 -10
- package/src/components/GlobalFooter/README.md +3 -2
- package/src/components/GlobalNavBar/GlobalNavBar.astro +4 -2
- package/src/components/GlobalNavBar/GlobalNavBar.module.scss +222 -222
- package/src/components/GlobalNavBar/README.md +3 -2
- package/src/components/LicenseIndicator/LicenseIndicator.astro +7 -5
- package/src/components/LicenseIndicator/LicenseIndicator.scss +3 -3
- package/src/components/MobileSidebarToggle/MobileSidebarToggle.astro +16 -17
- package/src/components/MobileSidebarToggle/README.md +3 -2
- package/src/components/MobileTocToggle/MobileTocToggle.astro +75 -61
- package/src/components/MobileTocToggle/MobileTocToggle.scss +65 -59
- package/src/components/Search/README.md +1 -0
- package/src/components/Search/Search.astro +137 -109
- package/src/components/Search/Search.scss +20 -20
- package/src/components/SearchAdvanced/README.md +21 -15
- package/src/components/SearchAdvanced/SearchAdvanced.astro +205 -133
- package/src/components/SearchAdvanced/SearchAdvanced.scss +152 -153
- package/src/components/mdx/Anatomy/Anatomy.astro +51 -0
- package/src/components/mdx/Anatomy/Anatomy.scss +40 -0
- package/src/components/mdx/ApiLink/ApiLink.astro +133 -113
- package/src/components/mdx/ApiLink/ApiLink.scss +9 -9
- package/src/components/mdx/ApiLink/README.md +26 -22
- package/src/components/mdx/ApiLink/api-link-index.ts +196 -173
- package/src/components/mdx/ApiRef/ApiRef.astro +54 -51
- package/src/components/mdx/ApiRef/README.md +20 -15
- package/src/components/mdx/Badge/Badge.astro +14 -14
- package/src/components/mdx/Badge/Badge.scss +61 -56
- package/src/components/mdx/Badge/README.md +24 -19
- package/src/components/mdx/DocsAside/DocsAside.astro +30 -37
- package/src/components/mdx/DocsAside/DocsAside.scss +82 -82
- package/src/components/mdx/DocsAside/README.md +22 -22
- package/src/components/mdx/Faq/Faq.astro +86 -0
- package/src/components/mdx/Faq/Faq.scss +105 -0
- package/src/components/mdx/Faq/FaqItem.astro +117 -0
- package/src/components/mdx/Faq/README.md +223 -0
- package/src/components/mdx/Faq/types.ts +34 -0
- package/src/components/mdx/PlatformBlock/PlatformBlock.astro +3 -2
- package/src/components/mdx/PlatformBlock/README.md +6 -8
- package/src/components/mdx/Sample/README.md +21 -16
- package/src/components/mdx/Sample/Sample.astro +97 -74
- package/src/components/mdx/Sample/Sample.scss +132 -132
- package/src/content-helper.ts +71 -72
- package/src/content.config.ts +1 -6
- package/src/integration.ts +566 -512
- package/src/layouts/DocsLayout/DocsLayout.astro +228 -182
- package/src/layouts/DocsLayout/DocsLayout.scss +261 -261
- package/src/layouts/DocsLayout/README.md +24 -35
- package/src/lib/nav-helpers.ts +88 -82
- package/src/lib/types.ts +76 -76
- package/src/llms.ts +205 -166
- package/src/platform.ts +312 -162
- package/src/plugins/rehype-heading-anchors.ts +45 -45
- package/src/plugins/rehype-pagefind-ignore.ts +19 -19
- package/src/plugins/rehype-table-wrapper.ts +30 -30
- package/src/plugins/remark-docfx.ts +12 -0
- package/src/plugins/remark-env-vars.ts +12 -4
- package/src/plugins/remark-md-links.ts +10 -4
- package/src/scripts/icon-manifest.ts +13 -5
- package/src/scripts/sample-widget.ts +557 -501
- package/src/sidebar.ts +103 -97
- package/src/styles/global/_code-blocks.scss +43 -44
- package/src/styles/global/_component-themes.scss +151 -153
- package/src/styles/global/_icon-gallery.scss +81 -81
- package/src/styles/global/_index.scss +0 -1
- package/src/styles/global/_markdown.scss +816 -787
- package/src/styles/global/_palette.scss +456 -110
- package/src/styles/global/_search-shared.scss +402 -398
- package/src/styles/global/_type-scale.scss +127 -127
- package/src/styles/global/_variables.scss +138 -111
- package/src/styles/theme.scss +41 -41
- package/src/virtual-modules.d.ts +11 -2
|
@@ -1,180 +1,180 @@
|
|
|
1
1
|
@use 'igniteui-theming' as *;
|
|
2
2
|
|
|
3
3
|
$h1: type-style(
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
4
|
+
$font-size: rem(36px),
|
|
5
|
+
$font-weight: 700,
|
|
6
|
+
$letter-spacing: normal,
|
|
7
|
+
$line-height: rem(40px),
|
|
8
|
+
$text-transform: none,
|
|
9
|
+
$margin-top: 0,
|
|
10
|
+
$margin-bottom: rem(24px),
|
|
11
11
|
);
|
|
12
12
|
|
|
13
13
|
$h2: type-style(
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
14
|
+
$font-size: rem(24px),
|
|
15
|
+
$font-weight: 700,
|
|
16
|
+
$letter-spacing: normal,
|
|
17
|
+
$line-height: rem(32px),
|
|
18
|
+
$text-transform: none,
|
|
19
|
+
$margin-top: 0,
|
|
20
|
+
$margin-bottom: rem(16px),
|
|
21
21
|
);
|
|
22
22
|
|
|
23
23
|
$h3: type-style(
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
24
|
+
$font-size: rem(20px),
|
|
25
|
+
$font-weight: 700,
|
|
26
|
+
$letter-spacing: normal,
|
|
27
|
+
$line-height: rem(28px),
|
|
28
|
+
$text-transform: none,
|
|
29
|
+
$margin-top: 0,
|
|
30
|
+
$margin-bottom: rem(16px),
|
|
31
31
|
);
|
|
32
32
|
|
|
33
33
|
$h4: type-style(
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
34
|
+
$font-size: rem(18px),
|
|
35
|
+
$font-weight: 700,
|
|
36
|
+
$letter-spacing: normal,
|
|
37
|
+
$line-height: rem(28px),
|
|
38
|
+
$text-transform: none,
|
|
39
|
+
$margin-top: 0,
|
|
40
|
+
$margin-bottom: rem(16px),
|
|
41
41
|
);
|
|
42
42
|
|
|
43
43
|
$h5: type-style(
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
44
|
+
$font-size: rem(16px),
|
|
45
|
+
$font-weight: 700,
|
|
46
|
+
$letter-spacing: normal,
|
|
47
|
+
$line-height: rem(24px),
|
|
48
|
+
$text-transform: none,
|
|
49
|
+
$margin-top: 0,
|
|
50
|
+
$margin-bottom: rem(12px),
|
|
51
51
|
);
|
|
52
52
|
|
|
53
53
|
$h6: type-style(
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
54
|
+
$font-size: rem(14px),
|
|
55
|
+
$font-weight: 600,
|
|
56
|
+
$letter-spacing: normal,
|
|
57
|
+
$line-height: rem(20px),
|
|
58
|
+
$text-transform: none,
|
|
59
|
+
$margin-top: 0,
|
|
60
|
+
$margin-bottom: rem(26px),
|
|
61
61
|
);
|
|
62
62
|
|
|
63
63
|
$body-1: type-style(
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
64
|
+
$font-size: rem(16px),
|
|
65
|
+
$font-weight: 400,
|
|
66
|
+
$letter-spacing: normal,
|
|
67
|
+
$line-height: rem(28px),
|
|
68
|
+
$text-transform: none,
|
|
69
|
+
$margin-top: 0,
|
|
70
|
+
$margin-bottom: rem(16px),
|
|
71
71
|
);
|
|
72
72
|
|
|
73
73
|
$body-2: type-style(
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
74
|
+
$font-size: rem(14px),
|
|
75
|
+
$font-weight: 500,
|
|
76
|
+
$letter-spacing: normal,
|
|
77
|
+
$line-height: rem(20px),
|
|
78
|
+
$text-transform: none,
|
|
79
|
+
$margin-top: 0,
|
|
80
|
+
$margin-bottom: rem(16px),
|
|
81
81
|
);
|
|
82
82
|
|
|
83
83
|
$detail-1: type-style(
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
84
|
+
$font-size: rem(13px),
|
|
85
|
+
$font-weight: 400,
|
|
86
|
+
$letter-spacing: 0.3px,
|
|
87
|
+
$line-height: rem(20px),
|
|
88
|
+
$text-transform: none,
|
|
89
|
+
$margin-top: 0,
|
|
90
|
+
$margin-bottom: rem(26px),
|
|
91
91
|
);
|
|
92
92
|
|
|
93
93
|
$detail-2: type-style(
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
94
|
+
$font-size: rem(13px),
|
|
95
|
+
$font-weight: 600,
|
|
96
|
+
$letter-spacing: 0.15px,
|
|
97
|
+
$line-height: rem(16px),
|
|
98
|
+
$text-transform: none,
|
|
99
|
+
$margin-top: 0,
|
|
100
|
+
$margin-bottom: rem(26px),
|
|
101
101
|
);
|
|
102
102
|
|
|
103
103
|
$subtitle-1: type-style(
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
104
|
+
$font-size: rem(16px),
|
|
105
|
+
$font-weight: 500,
|
|
106
|
+
$letter-spacing: 0.15px,
|
|
107
|
+
$line-height: rem(24px),
|
|
108
|
+
$text-transform: none,
|
|
109
|
+
$margin-top: 0,
|
|
110
|
+
$margin-bottom: rem(26px),
|
|
111
111
|
);
|
|
112
112
|
|
|
113
113
|
$subtitle-2: type-style(
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
114
|
+
$font-size: rem(14px),
|
|
115
|
+
$font-weight: 600,
|
|
116
|
+
$letter-spacing: 0.1px,
|
|
117
|
+
$line-height: rem(24px),
|
|
118
|
+
$text-transform: none,
|
|
119
|
+
$margin-top: 0,
|
|
120
|
+
$margin-bottom: rem(26px),
|
|
121
121
|
);
|
|
122
122
|
$button: type-style(
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
123
|
+
$font-size: rem(16px),
|
|
124
|
+
$font-weight: 400,
|
|
125
|
+
$letter-spacing: normal,
|
|
126
|
+
$line-height: rem(24px),
|
|
127
|
+
$text-transform: none,
|
|
128
|
+
$margin-top: 0,
|
|
129
|
+
$margin-bottom: 0,
|
|
130
130
|
);
|
|
131
131
|
$caption: type-style(
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
132
|
+
$font-size: rem(12px),
|
|
133
|
+
$font-weight: 500,
|
|
134
|
+
$letter-spacing: normal,
|
|
135
|
+
$line-height: rem(18px),
|
|
136
|
+
$text-transform: none,
|
|
137
137
|
);
|
|
138
138
|
|
|
139
139
|
$overline: type-style(
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
140
|
+
$font-size: rem(10px),
|
|
141
|
+
$font-weight: 400,
|
|
142
|
+
$letter-spacing: rem(1.5px),
|
|
143
|
+
$line-height: rem(20px),
|
|
144
|
+
$text-transform: uppercase,
|
|
145
145
|
);
|
|
146
146
|
|
|
147
147
|
$igd-code: type-style(
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
148
|
+
$font-size: rem(14px),
|
|
149
|
+
$font-weight: 400,
|
|
150
|
+
$letter-spacing: normal,
|
|
151
|
+
$line-height: rem(24px),
|
|
152
|
+
$text-transform: none,
|
|
153
|
+
$margin-top: 0,
|
|
154
|
+
$margin-bottom: rem(26px),
|
|
155
155
|
);
|
|
156
156
|
|
|
157
157
|
$_base-scale: type-scale(
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
158
|
+
$h1: $h1,
|
|
159
|
+
$h2: $h2,
|
|
160
|
+
$h3: $h3,
|
|
161
|
+
$h4: $h4,
|
|
162
|
+
$h5: $h5,
|
|
163
|
+
$h6: $h6,
|
|
164
|
+
$body-1: $body-1,
|
|
165
|
+
$body-2: $body-2,
|
|
166
|
+
$subtitle-1: $subtitle-1,
|
|
167
|
+
$subtitle-2: $subtitle-2,
|
|
168
|
+
$button: $button,
|
|
169
|
+
$caption: $caption,
|
|
170
|
+
$overline: $overline,
|
|
171
171
|
);
|
|
172
172
|
|
|
173
173
|
$igd-type-scale: extend(
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
174
|
+
$_base-scale,
|
|
175
|
+
(
|
|
176
|
+
code: $igd-code,
|
|
177
|
+
detail-1: $detail-1,
|
|
178
|
+
detail-2: $detail-2,
|
|
179
|
+
)
|
|
180
180
|
);
|
|
@@ -8,115 +8,142 @@
|
|
|
8
8
|
|
|
9
9
|
/* DOCS PALETTE */
|
|
10
10
|
:root {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
11
|
+
--igd-font-sans: aktiv-grotesk, 'Segoe UI', system-ui, sans-serif;
|
|
12
|
+
--igd-font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
|
|
13
|
+
|
|
14
|
+
// Those are the real igniteui logo type colors not related to the palette
|
|
15
|
+
--igd-logo-type: light-dark(#27265f, #fff);
|
|
16
|
+
|
|
17
|
+
--igd-accent: var(--ig-primary-600);
|
|
18
|
+
--igd-illustration: var(--igd-accent);
|
|
19
|
+
--igd-on-accent: var(--ig-primary-600-contrast);
|
|
20
|
+
--igd-border-radius: #{rem(4px)};
|
|
21
|
+
--igd-border-radius-xl: #{rem(10px)};
|
|
22
|
+
|
|
23
|
+
--igd-app-bg: light-dark(var(--ig-surface-50), #0a0b10);
|
|
24
|
+
--igd-on-app-bg: light-dark(var(--ig-surface-900-contrast), var(--ig-surface-50-contrast));
|
|
25
|
+
|
|
26
|
+
--igd-layout-sections-bg: var(--igd-app-bg);
|
|
27
|
+
--igd-app-outline-color: light-dark(var(--ig-gray-200), var(--ig-gray-100));
|
|
28
|
+
--igd-app-outline-size: #{rem(1px)};
|
|
29
|
+
--igd-app-outline-style: solid;
|
|
30
|
+
--igd-app-outline: var(--igd-app-outline-size) var(--igd-app-outline-style)
|
|
31
|
+
var(--igd-app-outline-color);
|
|
32
|
+
|
|
33
|
+
--igd-sidebar-spacing: #{rem(46px)} #{rem(24px)};
|
|
34
|
+
|
|
35
|
+
// Desktop default. DocsLayout.scss overrides to 50px on mobile + tablet.
|
|
36
|
+
--igd-header-height: #{rem(75px)};
|
|
37
|
+
|
|
38
|
+
// IG header height
|
|
39
|
+
--ig-header-height: #{rem(76px)};
|
|
40
|
+
|
|
41
|
+
/** Gap between the sticky header and the heading when clicking a TOC link. */
|
|
42
|
+
--igd-toc-scroll-offset: #{rem(24px)};
|
|
43
|
+
/** Set by DocsToc JS — measured bottom edge of the sticky subheader. */
|
|
44
|
+
--igd-toc-subheader-bottom: 0px;
|
|
45
|
+
|
|
46
|
+
--sticky-sidebar-top: 0;
|
|
47
|
+
|
|
48
|
+
--igd-members-spacing: var(--igd-border-radius) #{rem(16px)};
|
|
49
|
+
|
|
50
|
+
--igd-page-layout-grid: #{rem(290px)} 1fr;
|
|
51
|
+
|
|
52
|
+
--igd-page-padding: #{rem(48px)};
|
|
53
|
+
|
|
54
|
+
// Padding
|
|
55
|
+
--igd-padding-sm: #{rem(16px)};
|
|
56
|
+
--igd-padding-md: #{rem(24px)};
|
|
57
|
+
--igd-padding-lg: #{rem(32px)};
|
|
58
|
+
|
|
59
|
+
--igd-updated-bg: light-dark(#eaf6fe, #0d1e38);
|
|
60
|
+
--igd-updated-color: light-dark(#1151c1, #6b9fe8);
|
|
61
|
+
--igd-updated-border: light-dark(#bae2f5, #1e3d6a);
|
|
62
|
+
|
|
63
|
+
--igd-new-bg: light-dark(#eafef6, #0a2a1c);
|
|
64
|
+
--igd-new-color: light-dark(#018450, #3dbf85);
|
|
65
|
+
--igd-new-border: light-dark(#baf5d7, #154a30);
|
|
66
|
+
|
|
67
|
+
--igd-preview-bg: light-dark(#fef5ea, #2d1507);
|
|
68
|
+
--igd-preview-color: light-dark(#af390a, #e06030);
|
|
69
|
+
--igd-preview-border: light-dark(#f5c8ba, #5c2810);
|
|
70
|
+
|
|
71
|
+
--igd-premium-bg: light-dark(#f5eafe, #1e1030);
|
|
72
|
+
--igd-premium-color: light-dark(#8438ff, #b585ff);
|
|
73
|
+
--igd-premium-border: light-dark(#8438ff, #5a3a99);
|
|
74
|
+
|
|
75
|
+
--igd-opensource-color: light-dark(#535353, #b5b5b5);
|
|
76
|
+
--igd-opensource-bg: light-dark(#ececec, #383737);
|
|
77
|
+
--igd-opensource-border: light-dark(#cacaca, #6a6a6a);
|
|
78
|
+
|
|
79
|
+
--igd-expantion-panel-color: light-dark(var(--ig-secondary-500), var(--ig-secondary-500));
|
|
80
|
+
|
|
81
|
+
// ASIDE MDX
|
|
82
|
+
--igd-aside-padding: #{rem(16px)};
|
|
83
|
+
--igd-aside-row-gap: #{rem(4px)};
|
|
84
|
+
--igd-aside-column-gap: #{rem(16px)};
|
|
85
|
+
--igd-aside-border-width: #{rem(4px)};
|
|
86
|
+
--igd-aside-border-radius: 0;
|
|
87
|
+
--igd-aside-margin-bottom: #{rem(26px)};
|
|
88
|
+
--igd-aside-border-style: solid;
|
|
89
|
+
|
|
90
|
+
--igd-aside-info-title: light-dark(var(--ig-primary-700), var(--ig-primary-400));
|
|
91
|
+
--igd-aside-info-content: light-dark(var(--ig-primary-800), var(--ig-primary-200));
|
|
92
|
+
--igd-aside-info-icon: light-dark(var(--ig-primary-700), var(--ig-primary-400));
|
|
93
|
+
--igd-aside-info-bg: light-dark(var(--ig-primary-50), var(--ig-primary-900));
|
|
94
|
+
--igd-aside-info-border: light-dark(var(--ig-primary-700), var(--ig-primary-400));
|
|
95
|
+
--igd-aside-info-code-background: light-dark(var(--ig-primary-100), var(--ig-primary-900));
|
|
96
|
+
|
|
97
|
+
--igd-aside-warning-title: light-dark(var(--ig-secondary-700), var(--ig-secondary-400));
|
|
98
|
+
--igd-aside-warning-content: light-dark(var(--ig-secondary-700), var(--ig-secondary-300));
|
|
99
|
+
--igd-aside-warning-icon: light-dark(var(--ig-secondary-700), var(--ig-secondary-400));
|
|
100
|
+
--igd-aside-warning-bg: light-dark(var(--ig-secondary-50), var(--ig-secondary-900));
|
|
101
|
+
--igd-aside-warning-border: light-dark(var(--ig-secondary-700), var(--ig-secondary-400));
|
|
102
|
+
--igd-aside-warning-code-background: light-dark(var(--ig-secondary-100), var(--ig-secondary-900));
|
|
103
|
+
|
|
104
|
+
--igd-aside-note-title: light-dark(var(--ig-gray-700), var(--ig-gray-500));
|
|
105
|
+
--igd-aside-note-content: light-dark(var(--ig-gray-800), var(--ig-gray-400));
|
|
106
|
+
--igd-aside-note-icon: light-dark(var(--ig-gray-700), var(--ig-gray-400));
|
|
107
|
+
--igd-aside-note-bg: light-dark(var(--ig-gray-100), var(--ig-gray-50));
|
|
108
|
+
--igd-aside-note-border: light-dark(var(--ig-gray-700), var(--ig-gray-400));
|
|
109
|
+
--igd-aside-note-code-background: light-dark(var(--ig-sgray-100), var(--ig-secondary-900));
|
|
110
|
+
|
|
111
|
+
// FAQ MDX
|
|
112
|
+
// Consumers style the FAQ exclusively through these tokens — Faq.scss maps
|
|
113
|
+
// each of them onto the matching --ig-expansion-panel-* theme property.
|
|
114
|
+
--igd-faq-gap: #{rem(12px)};
|
|
115
|
+
--igd-faq-margin-bottom: #{rem(26px)};
|
|
116
|
+
// Density knob — feeds --ig-spacing on the panel, so header padding, body
|
|
117
|
+
// padding and indicator margin all scale together and stay --ig-size aware.
|
|
118
|
+
// 0 = flush, 1 = Ignite UI default, 2 = double. Fractions allowed.
|
|
119
|
+
--igd-faq-spacing: 1;
|
|
120
|
+
|
|
121
|
+
--igd-faq-border-width: var(--igd-app-outline-size);
|
|
122
|
+
--igd-faq-border-style: var(--igd-app-outline-style);
|
|
123
|
+
--igd-faq-border-color: var(--igd-app-outline-color);
|
|
124
|
+
--igd-faq-open-border-color: var(--igd-accent);
|
|
125
|
+
--igd-faq-border-radius: var(--igd-border-radius-xl);
|
|
126
|
+
|
|
127
|
+
--igd-faq-header-bg: var(--igd-layout-sections-bg);
|
|
128
|
+
--igd-faq-header-focus-bg: light-dark(var(--ig-gray-100), var(--ig-gray-50));
|
|
129
|
+
--igd-faq-body-bg: var(--igd-layout-sections-bg);
|
|
130
|
+
|
|
131
|
+
--igd-faq-question-color: light-dark(var(--ig-gray-900), var(--ig-gray-700));
|
|
132
|
+
--igd-faq-subtitle-color: light-dark(var(--ig-gray-700), var(--ig-gray-500));
|
|
133
|
+
--igd-faq-answer-color: light-dark(var(--ig-gray-800), var(--ig-gray-600));
|
|
134
|
+
--igd-faq-indicator-color: var(--igd-accent);
|
|
135
|
+
--igd-faq-disabled-color: light-dark(var(--ig-gray-400), var(--ig-gray-300));
|
|
136
|
+
--igd-faq-disabled-bg: light-dark(var(--ig-gray-100), var(--ig-gray-50));
|
|
137
|
+
--igd-faq-disabled-border-color: light-dark(var(--ig-gray-200), var(--ig-gray-100));
|
|
138
|
+
|
|
139
|
+
// TABLES
|
|
140
|
+
--igd-table-max-height: #{rem(350px)};
|
|
141
|
+
--igd-table-pinned-border-size: #{rem(1px)};
|
|
142
|
+
--igd-table-fg: light-dark(var(--ig-gray-700), var(--ig-gray-500));
|
|
143
|
+
--igd-table-bg: var(--igd-layout-sections-bg);
|
|
144
|
+
--igd-tabe-even-row-bg: var(--igd-table-bg);
|
|
145
|
+
--igd-table-border-color: light-dark(var(--ig-gray-200), var(--ig-gray-200));
|
|
146
|
+
|
|
147
|
+
--igd-table-header-bg: var(--igd-layout-sections-bg);
|
|
148
|
+
--igd-table-header-fg: light-dark(var(--ig-gray-900), var(--ig-gray-700));
|
|
122
149
|
}
|