@tabler/core 1.1.1 → 1.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.
- package/LICENSE +21 -0
- package/dist/css/tabler-flags.css +2 -2
- package/dist/css/tabler-flags.css.map +1 -1
- package/dist/css/tabler-flags.min.css +2 -2
- package/dist/css/tabler-flags.min.css.map +1 -1
- package/dist/css/tabler-flags.rtl.css +2 -2
- package/dist/css/tabler-flags.rtl.css.map +1 -1
- package/dist/css/tabler-flags.rtl.min.css +2 -2
- package/dist/css/tabler-flags.rtl.min.css.map +1 -1
- package/dist/css/tabler-marketing.css +6 -6
- package/dist/css/tabler-marketing.css.map +1 -1
- package/dist/css/tabler-marketing.min.css +2 -2
- package/dist/css/tabler-marketing.min.css.map +1 -1
- package/dist/css/tabler-marketing.rtl.css +6 -6
- package/dist/css/tabler-marketing.rtl.css.map +1 -1
- package/dist/css/tabler-marketing.rtl.min.css +2 -2
- package/dist/css/tabler-marketing.rtl.min.css.map +1 -1
- package/dist/css/tabler-payments.css +1 -1
- package/dist/css/tabler-payments.min.css +1 -1
- package/dist/css/tabler-payments.rtl.css +1 -1
- package/dist/css/tabler-payments.rtl.min.css +1 -1
- package/dist/css/tabler-props.css +448 -0
- package/dist/css/tabler-props.css.map +1 -0
- package/dist/css/tabler-props.min.css +8 -0
- package/dist/css/tabler-props.min.css.map +1 -0
- package/dist/css/tabler-props.rtl.css +447 -0
- package/dist/css/tabler-props.rtl.css.map +1 -0
- package/dist/css/tabler-props.rtl.min.css +8 -0
- package/dist/css/tabler-props.rtl.min.css.map +1 -0
- package/dist/css/tabler-socials.css +1 -1
- package/dist/css/tabler-socials.min.css +1 -1
- package/dist/css/tabler-socials.rtl.css +1 -1
- package/dist/css/tabler-socials.rtl.min.css +1 -1
- package/dist/css/tabler-themes.css +213 -0
- package/dist/css/tabler-themes.css.map +1 -0
- package/dist/css/tabler-themes.min.css +8 -0
- package/dist/css/tabler-themes.min.css.map +1 -0
- package/dist/css/tabler-themes.rtl.css +212 -0
- package/dist/css/tabler-themes.rtl.css.map +1 -0
- package/dist/css/tabler-themes.rtl.min.css +8 -0
- package/dist/css/tabler-themes.rtl.min.css.map +1 -0
- package/dist/css/tabler-vendors.css +31 -16
- package/dist/css/tabler-vendors.css.map +1 -1
- package/dist/css/tabler-vendors.min.css +2 -2
- package/dist/css/tabler-vendors.min.css.map +1 -1
- package/dist/css/tabler-vendors.rtl.css +31 -16
- package/dist/css/tabler-vendors.rtl.css.map +1 -1
- package/dist/css/tabler-vendors.rtl.min.css +2 -2
- package/dist/css/tabler-vendors.rtl.min.css.map +1 -1
- package/dist/css/tabler.css +7662 -8392
- package/dist/css/tabler.css.map +1 -1
- package/dist/css/tabler.min.css +2 -2
- package/dist/css/tabler.min.css.map +1 -1
- package/dist/css/tabler.rtl.css +7751 -8481
- package/dist/css/tabler.rtl.css.map +1 -1
- package/dist/css/tabler.rtl.min.css +2 -2
- package/dist/css/tabler.rtl.min.css.map +1 -1
- package/dist/img/flags/kr.svg +1 -1
- package/dist/js/tabler-theme.esm.js +38 -0
- package/dist/js/tabler-theme.esm.js.map +1 -0
- package/dist/js/tabler-theme.esm.min.js +8 -0
- package/dist/js/tabler-theme.esm.min.js.map +1 -0
- package/dist/js/tabler-theme.js +45 -0
- package/dist/js/tabler-theme.js.map +1 -0
- package/dist/js/tabler-theme.min.js +8 -0
- package/dist/js/tabler-theme.min.js.map +1 -0
- package/dist/js/tabler.esm.js +28 -21
- package/dist/js/tabler.esm.js.map +1 -1
- package/dist/js/tabler.esm.min.js +5 -5
- package/dist/js/tabler.esm.min.js.map +1 -1
- package/dist/js/tabler.js +36 -24
- package/dist/js/tabler.js.map +1 -1
- package/dist/js/tabler.min.js +5 -5
- package/dist/js/tabler.min.js.map +1 -1
- package/js/src/autosize.js +1 -4
- package/js/src/input-mask.js +1 -3
- package/js/tabler-theme.js +35 -0
- package/js/{tabler.esm.js → tabler.js} +16 -0
- package/package.json +10 -8
- package/scss/_bootstrap-components.scss +0 -5
- package/scss/_core.scss +4 -0
- package/scss/_props.scss +91 -0
- package/scss/_utilities.scss +30 -1
- package/scss/_variables-dark.scss +1 -1
- package/scss/_variables.scss +79 -60
- package/scss/helpers/_index.scss +143 -0
- package/scss/layout/_core.scss +1 -0
- package/scss/layout/_dark.scss +33 -38
- package/scss/layout/_navbar.scss +2 -1
- package/scss/layout/_page.scss +1 -0
- package/scss/layout/_root.scss +26 -34
- package/scss/marketing/_core.scss +1 -1
- package/scss/marketing/_pricing.scss +1 -1
- package/scss/mixins/_mixins.scss +6 -6
- package/scss/tabler-props.scss +1 -0
- package/scss/tabler-themes.scss +121 -0
- package/scss/tabler-vendors.scss +3 -1
- package/scss/tabler.scss +0 -1
- package/scss/ui/_accordion.scss +31 -26
- package/scss/ui/_alerts.scss +19 -8
- package/scss/ui/_avatars.scss +35 -9
- package/scss/ui/_badges.scss +1 -1
- package/scss/ui/_buttons.scss +15 -17
- package/scss/ui/_close.scss +55 -2
- package/scss/ui/_dropdowns.scss +1 -0
- package/scss/ui/_forms.scss +12 -2
- package/scss/ui/_markdown.scss +10 -1
- package/scss/ui/_nav.scss +11 -1
- package/scss/ui/_offcanvas.scss +1 -1
- package/scss/ui/_pagination.scss +2 -0
- package/scss/ui/_signature.scss +4 -2
- package/scss/ui/_steps.scss +4 -0
- package/scss/ui/_tables.scss +16 -0
- package/scss/ui/_tags.scss +1 -1
- package/scss/ui/_type.scss +69 -7
- package/scss/ui/forms/_form-colorinput.scss +1 -1
- package/scss/ui/forms/_form-imagecheck.scss +6 -5
- package/scss/ui/forms/_form-selectgroup.scss +1 -1
- package/scss/utils/_colors.scss +58 -11
- package/scss/utils/_scroll.scss +0 -2
- package/scss/vendor/_coloris.scss +6 -1
- package/scss/vendor/_fslightbox.scss +1 -1
- package/scss/vendor/_jsvectormap.scss +2 -3
- package/scss/vendor/_litepicker.scss +1 -0
- package/scss/vendor/_nouislider.scss +0 -2
- package/scss/vendor/_tinymce.scss +3 -3
- package/scss/vendor/_tom-select.scss +7 -4
- package/scss/vendor/_turbo.scss +3 -0
- package/scss/vendor/_wysiwyg.scss +34 -0
- package/docs/emails/index.mdx +0 -14
- package/docs/emails/introduction/compiled-html.mdx +0 -29
- package/docs/emails/introduction/contents.mdx +0 -63
- package/docs/emails/introduction/index.mdx +0 -9
- package/docs/emails/introduction/source-html.mdx +0 -26
- package/docs/icons/index.mdx +0 -13
- package/docs/icons/libraries/index.mdx +0 -5
- package/docs/icons/libraries/preact.mdx +0 -42
- package/docs/icons/libraries/react.mdx +0 -42
- package/docs/icons/libraries/solidjs.mdx +0 -42
- package/docs/icons/libraries/svelte.mdx +0 -43
- package/docs/icons/libraries/vue.mdx +0 -50
- package/docs/icons/libraries/webfont.mdx +0 -60
- package/docs/icons/plugins/figma.mdx +0 -15
- package/docs/icons/plugins/index.mdx +0 -4
- package/docs/icons/static-files/eps.mdx +0 -15
- package/docs/icons/static-files/index.mdx +0 -5
- package/docs/icons/static-files/pdf.mdx +0 -15
- package/docs/icons/static-files/png.mdx +0 -31
- package/docs/icons/static-files/svg.mdx +0 -85
- package/docs/illustrations/index.mdx +0 -8
- package/docs/illustrations/introduction/contents.mdx +0 -77
- package/docs/illustrations/introduction/customization.mdx +0 -1198
- package/docs/illustrations/introduction/index.mdx +0 -5
- package/docs/illustrations/introduction/license.mdx +0 -90
- package/docs/img/browsers/brave.svg +0 -1
- package/docs/img/browsers/chrome.svg +0 -1
- package/docs/img/browsers/edge.svg +0 -1
- package/docs/img/browsers/electron.svg +0 -1
- package/docs/img/browsers/firefox.svg +0 -1
- package/docs/img/browsers/internet-explorer.svg +0 -1
- package/docs/img/browsers/opera.svg +0 -1
- package/docs/img/browsers/safari.svg +0 -1
- package/docs/img/browsers/vivaldi.svg +0 -1
- package/docs/img/cover-illustrations-dark.png +0 -0
- package/docs/img/cover-illustrations.png +0 -0
- package/docs/img/cover-tabler-dark.png +0 -0
- package/docs/img/cover-tabler.png +0 -0
- package/docs/img/icons/figma-plugin.png +0 -0
- package/docs/img/icons/package-angular-dark.png +0 -0
- package/docs/img/icons/package-angular.png +0 -0
- package/docs/img/icons/package-eps-dark.png +0 -0
- package/docs/img/icons/package-eps.png +0 -0
- package/docs/img/icons/package-js-dark.png +0 -0
- package/docs/img/icons/package-js.png +0 -0
- package/docs/img/icons/package-pdf-dark.png +0 -0
- package/docs/img/icons/package-pdf.png +0 -0
- package/docs/img/icons/package-png-dark.png +0 -0
- package/docs/img/icons/package-png.png +0 -0
- package/docs/img/icons/package-preact-dark.png +0 -0
- package/docs/img/icons/package-preact.png +0 -0
- package/docs/img/icons/package-react-dark.png +0 -0
- package/docs/img/icons/package-react-native-dark.png +0 -0
- package/docs/img/icons/package-react-native.png +0 -0
- package/docs/img/icons/package-react.png +0 -0
- package/docs/img/icons/package-solidjs-dark.png +0 -0
- package/docs/img/icons/package-solidjs.png +0 -0
- package/docs/img/icons/package-sprite-dark.png +0 -0
- package/docs/img/icons/package-sprite.png +0 -0
- package/docs/img/icons/package-svelte-dark.png +0 -0
- package/docs/img/icons/package-svelte.png +0 -0
- package/docs/img/icons/package-svg-dark.png +0 -0
- package/docs/img/icons/package-svg.png +0 -0
- package/docs/img/icons/package-vue-dark.png +0 -0
- package/docs/img/icons/package-vue.png +0 -0
- package/docs/img/icons/package-webfont-dark.png +0 -0
- package/docs/img/icons/package-webfont.png +0 -0
- package/docs/index.mdx +0 -16
- package/docs/ui/base/colors.mdx +0 -83
- package/docs/ui/base/index.mdx +0 -6
- package/docs/ui/base/typography.mdx +0 -311
- package/docs/ui/components/alerts.mdx +0 -406
- package/docs/ui/components/autosize.mdx +0 -25
- package/docs/ui/components/avatars.mdx +0 -227
- package/docs/ui/components/badges.mdx +0 -112
- package/docs/ui/components/breadcrumb.mdx +0 -199
- package/docs/ui/components/buttons.mdx +0 -1213
- package/docs/ui/components/cards.mdx +0 -417
- package/docs/ui/components/carousel.mdx +0 -459
- package/docs/ui/components/charts.mdx +0 -697
- package/docs/ui/components/countup.mdx +0 -165
- package/docs/ui/components/datagrid.mdx +0 -120
- package/docs/ui/components/divider.mdx +0 -68
- package/docs/ui/components/dropdowns.mdx +0 -302
- package/docs/ui/components/dropzone.mdx +0 -88
- package/docs/ui/components/empty.mdx +0 -149
- package/docs/ui/components/icons.mdx +0 -392
- package/docs/ui/components/index.mdx +0 -6
- package/docs/ui/components/inline-player.mdx +0 -58
- package/docs/ui/components/modals.mdx +0 -297
- package/docs/ui/components/offcanvas.mdx +0 -70
- package/docs/ui/components/placeholder.mdx +0 -273
- package/docs/ui/components/popover.mdx +0 -142
- package/docs/ui/components/progress.mdx +0 -241
- package/docs/ui/components/range-slider.mdx +0 -32
- package/docs/ui/components/ribbons.mdx +0 -207
- package/docs/ui/components/segmented-control.mdx +0 -401
- package/docs/ui/components/spinners.mdx +0 -135
- package/docs/ui/components/statuses.mdx +0 -322
- package/docs/ui/components/steps.mdx +0 -174
- package/docs/ui/components/switch-icon.mdx +0 -386
- package/docs/ui/components/tables.mdx +0 -397
- package/docs/ui/components/tabs.mdx +0 -396
- package/docs/ui/components/timelines.mdx +0 -697
- package/docs/ui/components/tinymce.mdx +0 -46
- package/docs/ui/components/toasts.mdx +0 -126
- package/docs/ui/components/tooltips.mdx +0 -65
- package/docs/ui/components/tracking.mdx +0 -548
- package/docs/ui/components/vector-maps.mdx +0 -166
- package/docs/ui/forms/form-color-check.mdx +0 -220
- package/docs/ui/forms/form-elements.mdx +0 -632
- package/docs/ui/forms/form-fieldset.mdx +0 -45
- package/docs/ui/forms/form-helpers.mdx +0 -91
- package/docs/ui/forms/form-image-check.mdx +0 -213
- package/docs/ui/forms/form-input-mask.mdx +0 -61
- package/docs/ui/forms/form-selectboxes.mdx +0 -398
- package/docs/ui/forms/form-validation.mdx +0 -62
- package/docs/ui/forms/index.mdx +0 -6
- package/docs/ui/getting-started/browser-support.mdx +0 -28
- package/docs/ui/getting-started/customize.mdx +0 -28
- package/docs/ui/getting-started/download.mdx +0 -44
- package/docs/ui/getting-started/faq.mdx +0 -30
- package/docs/ui/getting-started/how-to-contribute.mdx +0 -84
- package/docs/ui/getting-started/index.mdx +0 -16
- package/docs/ui/getting-started/installation.mdx +0 -67
- package/docs/ui/getting-started/license.mdx +0 -30
- package/docs/ui/index.mdx +0 -8
- package/docs/ui/layout/index.mdx +0 -6
- package/docs/ui/layout/navbars.mdx +0 -164
- package/docs/ui/layout/navs-tabls.mdx +0 -201
- package/docs/ui/layout/page-headers.mdx +0 -365
- package/docs/ui/layout/page-layouts.mdx +0 -213
- package/docs/ui/plugins/flags.mdx +0 -316
- package/docs/ui/plugins/index.mdx +0 -6
- package/docs/ui/plugins/payments.mdx +0 -152
- package/docs/ui/plugins/social-icons.mdx +0 -135
- package/docs/ui/utilities/borders.mdx +0 -260
- package/docs/ui/utilities/cursors.mdx +0 -63
- package/docs/ui/utilities/index.mdx +0 -5
- package/docs/ui/utilities/interactions.mdx +0 -26
- package/docs/ui/utilities/margins.mdx +0 -234
- package/docs/ui/utilities/vertical-align.mdx +0 -66
- package/docs/ui/utilities/visually-hidden.mdx +0 -12
- package/js/tabler.umd.js +0 -15
package/scss/ui/_type.scss
CHANGED
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
@import "typo/hr";
|
|
2
2
|
|
|
3
3
|
.lead {
|
|
4
|
-
|
|
4
|
+
color: var(--#{$prefix}secondary);
|
|
5
|
+
font-size: inherit;
|
|
5
6
|
}
|
|
6
7
|
|
|
7
8
|
a {
|
|
8
9
|
text-decoration-skip-ink: auto;
|
|
10
|
+
color: color-mix(in srgb, transparent, var(--#{$prefix}link-color) var(--#{$prefix}link-opacity, 100%));
|
|
11
|
+
|
|
12
|
+
&:hover {
|
|
13
|
+
color: color-mix(in srgb, transparent, var(--#{$prefix}link-hover-color) var(--#{$prefix}link-opacity, 100%));
|
|
14
|
+
}
|
|
9
15
|
}
|
|
10
16
|
|
|
11
17
|
h1,
|
|
@@ -107,10 +113,14 @@ dl {
|
|
|
107
113
|
}
|
|
108
114
|
|
|
109
115
|
pre {
|
|
116
|
+
--#{$prefix}scrollbar-color: #{$pre-color};
|
|
110
117
|
padding: $pre-padding;
|
|
111
118
|
background: $pre-bg;
|
|
112
119
|
color: $pre-color;
|
|
113
120
|
border-radius: var(--#{$prefix}border-radius);
|
|
121
|
+
line-height: $line-height-base;
|
|
122
|
+
|
|
123
|
+
@include scrollbar;
|
|
114
124
|
|
|
115
125
|
code {
|
|
116
126
|
background: transparent;
|
|
@@ -157,7 +167,7 @@ Selection
|
|
|
157
167
|
*/
|
|
158
168
|
::selection,
|
|
159
169
|
.text-selected {
|
|
160
|
-
background-color: color-transparent(var(--#{$prefix}primary), .1);
|
|
170
|
+
background-color: color-transparent(var(--#{$prefix}primary), 0.1);
|
|
161
171
|
}
|
|
162
172
|
|
|
163
173
|
.text-selected {
|
|
@@ -179,6 +189,17 @@ a:hover:has(.icon) {
|
|
|
179
189
|
text-decoration: none;
|
|
180
190
|
}
|
|
181
191
|
|
|
192
|
+
.link-hoverable {
|
|
193
|
+
border-radius: var(--#{$prefix}border-radius);
|
|
194
|
+
transition: background-color 0.15s ease-in-out;
|
|
195
|
+
|
|
196
|
+
&:hover {
|
|
197
|
+
text-decoration: none;
|
|
198
|
+
color: var(--#{$prefix}primary);
|
|
199
|
+
background: color-transparent(var(--#{$prefix}secondary), 0.04);
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
|
|
182
203
|
/**
|
|
183
204
|
Subheader
|
|
184
205
|
*/
|
|
@@ -191,7 +212,7 @@ Mentions
|
|
|
191
212
|
*/
|
|
192
213
|
.mention {
|
|
193
214
|
display: inline-block;
|
|
194
|
-
box-shadow: var(
|
|
215
|
+
box-shadow: var(--#{$prefix}box-shadow-border);
|
|
195
216
|
border-radius: var(--#{$prefix}border-radius-pill);
|
|
196
217
|
line-height: calc(16em / 12);
|
|
197
218
|
font-size: calc(12em / 14);
|
|
@@ -199,11 +220,11 @@ Mentions
|
|
|
199
220
|
background: var(--#{$prefix}bg-surface-tertiary);
|
|
200
221
|
padding: calc(2em / 12) calc(8em / 12);
|
|
201
222
|
font-weight: var(--#{$prefix}font-weight-medium);
|
|
202
|
-
|
|
223
|
+
|
|
203
224
|
@at-root a#{&} {
|
|
204
225
|
cursor: pointer;
|
|
205
226
|
|
|
206
|
-
&:hover,
|
|
227
|
+
&:hover,
|
|
207
228
|
&.hover {
|
|
208
229
|
background: var(--#{$prefix}bg-surface-secondary);
|
|
209
230
|
text-decoration: underline;
|
|
@@ -243,10 +264,51 @@ $text-variants: (
|
|
|
243
264
|
|
|
244
265
|
@each $variant, $color in $text-variants {
|
|
245
266
|
.text-#{$variant} {
|
|
246
|
-
background: color-transparent($color, .04);
|
|
267
|
+
background: color-transparent($color, 0.04);
|
|
247
268
|
background: color-transparent($color, 4%);
|
|
248
269
|
text-decoration: underline;
|
|
249
270
|
text-decoration-thickness: 1px;
|
|
250
271
|
text-decoration-color: $color;
|
|
251
272
|
}
|
|
252
|
-
}
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
.steps {
|
|
276
|
+
--#{$prefix}steps-padding: 2rem;
|
|
277
|
+
--#{$prefix}steps-item-size: 1.5rem;
|
|
278
|
+
margin-left: 1rem;
|
|
279
|
+
padding-left: var(--#{$prefix}steps-padding);
|
|
280
|
+
counter-reset: step;
|
|
281
|
+
border-left: 1px solid var(--#{$prefix}border-color);
|
|
282
|
+
margin-bottom: 2rem;
|
|
283
|
+
flex-direction: column;
|
|
284
|
+
|
|
285
|
+
h3 {
|
|
286
|
+
counter-increment: step;
|
|
287
|
+
|
|
288
|
+
&:not(:first-child) {
|
|
289
|
+
margin-top: 2.5rem !important;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
&:before {
|
|
293
|
+
content: counter(step);
|
|
294
|
+
display: inline-block;
|
|
295
|
+
position: absolute;
|
|
296
|
+
margin-top: 1px;
|
|
297
|
+
margin-left: calc(-1 * var(--#{$prefix}steps-padding) - var(--#{$prefix}steps-item-size) / 2);
|
|
298
|
+
width: var(--#{$prefix}steps-item-size);
|
|
299
|
+
height: var(--#{$prefix}steps-item-size);
|
|
300
|
+
text-align: center;
|
|
301
|
+
color: var(--#{$prefix}body-color);
|
|
302
|
+
border: 1px solid var(--#{$prefix}border-color);
|
|
303
|
+
background: var(--#{$prefix}bg-surface);
|
|
304
|
+
border-radius: var(--#{$prefix}border-radius);
|
|
305
|
+
line-height: calc(var(--#{$prefix}steps-item-size) - 2px);
|
|
306
|
+
font-size: var(--#{$prefix}font-size-h4);
|
|
307
|
+
font-weight: var(--#{$prefix}font-weight-bold);
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
>:last-child {
|
|
312
|
+
margin-bottom: 0;
|
|
313
|
+
}
|
|
314
|
+
}
|
|
@@ -21,7 +21,7 @@ Color Input
|
|
|
21
21
|
height: 1.5rem;
|
|
22
22
|
color: $white;
|
|
23
23
|
border: var(--#{$prefix}border-width) var(--#{$prefix}border-style) $input-border-color-translucent;
|
|
24
|
-
border-radius:
|
|
24
|
+
border-radius: var(--#{$prefix}border-radius);
|
|
25
25
|
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05);
|
|
26
26
|
|
|
27
27
|
&:before {
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Image check
|
|
3
3
|
*/
|
|
4
4
|
.form-imagecheck {
|
|
5
|
+
--#{$prefix}form-imagecheck-radius: var(--#{$prefix}border-radius);
|
|
5
6
|
position: relative;
|
|
6
7
|
margin: 0;
|
|
7
8
|
cursor: pointer;
|
|
@@ -19,7 +20,7 @@ Image check
|
|
|
19
20
|
margin: 0;
|
|
20
21
|
user-select: none;
|
|
21
22
|
border: var(--#{$prefix}border-width) var(--#{$prefix}border-style) var(--#{$prefix}border-color);
|
|
22
|
-
border-radius:
|
|
23
|
+
border-radius: var(--#{$prefix}form-imagecheck-radius);
|
|
23
24
|
|
|
24
25
|
.form-imagecheck-input:focus ~ & {
|
|
25
26
|
border-color: var(--#{$prefix}primary);
|
|
@@ -73,13 +74,13 @@ Image check
|
|
|
73
74
|
@include transition(opacity $transition-time);
|
|
74
75
|
|
|
75
76
|
&:first-child {
|
|
76
|
-
border-top-left-radius:
|
|
77
|
-
border-top-right-radius:
|
|
77
|
+
border-top-left-radius: calc(var(--#{$prefix}form-imagecheck-radius) - 1px);
|
|
78
|
+
border-top-right-radius: calc(var(--#{$prefix}form-imagecheck-radius) - 1px);
|
|
78
79
|
}
|
|
79
80
|
|
|
80
81
|
&:last-child {
|
|
81
|
-
border-bottom-right-radius:
|
|
82
|
-
border-bottom-left-radius:
|
|
82
|
+
border-bottom-right-radius: calc(var(--#{$prefix}form-imagecheck-radius) - 1px);
|
|
83
|
+
border-bottom-left-radius: calc(var(--#{$prefix}form-imagecheck-radius) - 1px);
|
|
83
84
|
}
|
|
84
85
|
|
|
85
86
|
.form-imagecheck:hover &,
|
|
@@ -42,7 +42,7 @@ Select group
|
|
|
42
42
|
cursor: pointer;
|
|
43
43
|
user-select: none;
|
|
44
44
|
border: var(--#{$prefix}border-width) var(--#{$prefix}border-style) $input-border-color;
|
|
45
|
-
border-radius:
|
|
45
|
+
border-radius: var(--#{$prefix}border-radius);
|
|
46
46
|
box-shadow: $input-box-shadow;
|
|
47
47
|
@include transition(border-color $transition-time, background $transition-time, color $transition-time);
|
|
48
48
|
|
package/scss/utils/_colors.scss
CHANGED
|
@@ -1,27 +1,55 @@
|
|
|
1
1
|
// All colors
|
|
2
|
-
@each $color, $value in map-merge($theme-colors, ( white: $white
|
|
2
|
+
@each $color, $value in map-merge($theme-colors, ( white: $white)) {
|
|
3
3
|
.bg-#{"" + $color} {
|
|
4
|
-
--#{$prefix}bg-opacity
|
|
5
|
-
background-color: rgba(var(--#{$prefix}#{$color}-rgb), var(--#{$prefix}bg-opacity)) !important;
|
|
4
|
+
background-color: color-mix(in srgb, var(--#{$prefix}#{$color}) calc(var(--#{$prefix}bg-opacity, 1) * 100%), transparent) !important;
|
|
6
5
|
}
|
|
7
6
|
|
|
8
7
|
.bg-#{"" + $color}-lt {
|
|
9
|
-
--#{$prefix}
|
|
10
|
-
--#{$prefix}
|
|
11
|
-
color: rgba(var(--#{$prefix}#{$color}-rgb), var(--#{$prefix}text-opacity)) !important;
|
|
12
|
-
background-color: rgba(var(--#{$prefix}#{$color}-lt-rgb), var(--#{$prefix}bg-opacity)) !important;
|
|
8
|
+
color: color-mix(in srgb, var(--#{$prefix}#{$color}) calc(var(--#{$prefix}text-opacity, 1) * 100%), transparent) !important;
|
|
9
|
+
background-color: color-mix(in srgb, var(--#{$prefix}#{$color}-lt) calc(var(--#{$prefix}bg-opacity, 1) * 100%), transparent) !important;
|
|
13
10
|
}
|
|
14
11
|
|
|
15
12
|
.border-#{"" + $color} {
|
|
16
|
-
--#{$prefix}border-opacity
|
|
17
|
-
|
|
13
|
+
border-color: color-mix(in srgb, var(--#{$prefix}#{$color}) calc(var(--#{$prefix}border-opacity, 1) * 100%), transparent) !important;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.bg-gradient-from-#{"" + $color} {
|
|
17
|
+
--#{$prefix}gradient-from: var(--#{$prefix}#{$color});
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.bg-gradient-to-#{"" + $color} {
|
|
21
|
+
--#{$prefix}gradient-to: var(--#{$prefix}#{$color});
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.bg-gradient-via-#{"" + $color} {
|
|
25
|
+
--#{$prefix}gradient-via: var(--#{$prefix}#{$color});
|
|
26
|
+
--#{$prefix}gradient-stops: var(--#{$prefix}gradient-from, transparent), var(--#{$prefix}gradient-via, transparent), var(--#{$prefix}gradient-to, transparent);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.text-bg-#{"" + $color} {
|
|
30
|
+
color: color-contrast($value) if($enable-important-utilities, !important, null);
|
|
31
|
+
background-color: RGBA(var(--#{$prefix}#{$color}-rgb), var(--#{$prefix}bg-opacity, 1)) if($enable-important-utilities, !important, null);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.link-#{"" + $color} {
|
|
35
|
+
color: color-mix(in srgb, var(--#{$prefix}#{$color}) calc(var(--#{$prefix}link-opacity, 1) * 100%), transparent) !important;
|
|
36
|
+
text-decoration-color: color-mix(in srgb, var(--#{$prefix}#{$color}) calc(var(--#{$prefix}link-underline-opacity, 1) * 100%), transparent) !important;
|
|
37
|
+
|
|
38
|
+
@if $link-shade-percentage != 0 {
|
|
39
|
+
&:hover,
|
|
40
|
+
&:focus {
|
|
41
|
+
$hover-color: if(color-contrast($value) == $color-contrast-light, shade-color($value, $link-shade-percentage), tint-color($value, $link-shade-percentage));
|
|
42
|
+
color: RGBA(#{to-rgb($hover-color)}, var(--#{$prefix}link-opacity, 1)) if($enable-important-utilities, !important, null);
|
|
43
|
+
text-decoration-color: RGBA(to-rgb($hover-color), var(--#{$prefix}link-underline-opacity, 1)) if($enable-important-utilities, !important, null);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
18
46
|
}
|
|
19
47
|
}
|
|
20
48
|
|
|
21
49
|
@each $color, $value in $theme-colors {
|
|
22
50
|
.text-#{"" + $color} {
|
|
23
51
|
--#{$prefix}text-opacity: 1;
|
|
24
|
-
color:
|
|
52
|
+
color: color-mix(in srgb, var(--#{$prefix}#{$color}) calc(var(--#{$prefix}text-opacity) * 100%), transparent) !important;
|
|
25
53
|
}
|
|
26
54
|
|
|
27
55
|
.text-#{"" + $color}-fg {
|
|
@@ -32,7 +60,7 @@
|
|
|
32
60
|
@each $color, $value in $gray-colors {
|
|
33
61
|
.bg-#{"" + $color} {
|
|
34
62
|
--#{$prefix}bg-opacity: 1;
|
|
35
|
-
background-color:
|
|
63
|
+
background-color: color-mix(in srgb, var(--#{$prefix}#{$color}) calc(var(--#{$prefix}bg-opacity) * 100%), transparent) !important;
|
|
36
64
|
}
|
|
37
65
|
|
|
38
66
|
.text-#{"" + $color}-fg {
|
|
@@ -40,6 +68,21 @@
|
|
|
40
68
|
}
|
|
41
69
|
}
|
|
42
70
|
|
|
71
|
+
@each $color, $value in $social-colors {
|
|
72
|
+
.bg-#{"" + $color} {
|
|
73
|
+
--#{$prefix}bg-opacity: 1;
|
|
74
|
+
background-color: color-mix(in srgb, var(--#{$prefix}#{$color}) calc(var(--#{$prefix}bg-opacity) * 100%), transparent) !important;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.text-#{"" + $color}-fg {
|
|
78
|
+
color: $value !important;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.bg-inverted {
|
|
83
|
+
--#{$prefix}bg-opacity: 1;
|
|
84
|
+
background-color: color-mix(in srgb, var(--#{$prefix}bg-surface-inverted) calc(var(--#{$prefix}bg-opacity) * 100%), transparent) !important;
|
|
85
|
+
}
|
|
43
86
|
.bg-surface {
|
|
44
87
|
background-color: var(--#{$prefix}bg-surface) !important;
|
|
45
88
|
}
|
|
@@ -50,4 +93,8 @@
|
|
|
50
93
|
|
|
51
94
|
.bg-surface-tertiary {
|
|
52
95
|
background-color: var(--#{$prefix}bg-surface-tertiary) !important;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.bg-surface-backdrop {
|
|
99
|
+
background-color: color-transparent($modal-backdrop-bg, $modal-backdrop-opacity) !important;
|
|
53
100
|
}
|
package/scss/utils/_scroll.scss
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
.clr-picker {
|
|
2
|
-
box-shadow: var(--#{$prefix}
|
|
2
|
+
box-shadow: var(--#{$prefix}shadow-dropdown);
|
|
3
3
|
background-color: var(--#{$prefix}bg-surface);
|
|
4
|
+
border-radius: var(--#{$prefix}border-radius);
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.clr-gradient {
|
|
8
|
+
border-radius: var(--#{$prefix}border-radius) var(--#{$prefix}border-radius) 0 0;
|
|
4
9
|
}
|
|
5
10
|
|
|
6
11
|
input.clr-color {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.tox-
|
|
1
|
+
.tox-hugerte {
|
|
2
2
|
border: var(--#{$prefix}border-width) var(--#{$prefix}border-style) var(--#{$prefix}border-color) !important;
|
|
3
3
|
border-radius: $border-radius !important;
|
|
4
4
|
font-family: var(--#{$prefix}font-sans-serif) !important;
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
background: transparent !important;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
.tox:not(.tox-
|
|
15
|
+
.tox:not(.tox-hugerte-inline) {
|
|
16
16
|
.tox-editor-header {
|
|
17
17
|
border-bottom: var(--#{$prefix}border-width) var(--#{$prefix}border-style) var(--#{$prefix}border-color) !important;
|
|
18
18
|
box-shadow: none !important;
|
|
@@ -29,6 +29,6 @@
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
.tox .tox-toolbar-overlord,
|
|
32
|
-
.tox:not(.tox-
|
|
32
|
+
.tox:not(.tox-hugerte-inline) .tox-editor-header {
|
|
33
33
|
background: transparent !important;
|
|
34
34
|
}
|
|
@@ -2,8 +2,6 @@ $select-color-dropdown: #fff;
|
|
|
2
2
|
$select-color-dropdown-border-top: red;
|
|
3
3
|
$input-border-width: 1px;
|
|
4
4
|
|
|
5
|
-
// @import "tom-select/src/scss/tom-select.bootstrap5.scss";
|
|
6
|
-
|
|
7
5
|
:root {
|
|
8
6
|
--ts-pr-clear-button: 0rem;
|
|
9
7
|
--ts-pr-caret: 0rem;
|
|
@@ -13,6 +11,11 @@ $input-border-width: 1px;
|
|
|
13
11
|
color: inherit;
|
|
14
12
|
}
|
|
15
13
|
|
|
14
|
+
.focus .ts-control {
|
|
15
|
+
border-radius: var(--#{$prefix}border-radius);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
|
|
16
19
|
.ts-control {
|
|
17
20
|
color: inherit;
|
|
18
21
|
|
|
@@ -41,7 +44,7 @@ $input-border-width: 1px;
|
|
|
41
44
|
.ts-dropdown {
|
|
42
45
|
background: var(--#{$prefix}bg-surface);
|
|
43
46
|
color: var(--#{$prefix}body-color);
|
|
44
|
-
box-shadow: var(--#{$prefix}
|
|
47
|
+
box-shadow: var(--#{$prefix}shadow-dropdown);
|
|
45
48
|
z-index: $zindex-dropdown;
|
|
46
49
|
|
|
47
50
|
.option {
|
|
@@ -75,4 +78,4 @@ $input-border-width: 1px;
|
|
|
75
78
|
&> div.item {
|
|
76
79
|
color: var(--#{$prefix}gray-500);
|
|
77
80
|
}
|
|
78
|
-
}
|
|
81
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
.tox-hugerte {
|
|
2
|
+
border: var(--#{$prefix}border-width) var(--#{$prefix}border-style) var(--#{$prefix}border-color) !important;
|
|
3
|
+
border-radius: $border-radius !important;
|
|
4
|
+
font-family: var(--#{$prefix}font-sans-serif) !important;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.tox-toolbar__group {
|
|
8
|
+
padding: 0 .5rem 0;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.tox .tox-toolbar__primary {
|
|
12
|
+
background: transparent !important;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.tox:not(.tox-hugerte-inline) {
|
|
16
|
+
.tox-editor-header {
|
|
17
|
+
border-bottom: var(--#{$prefix}border-width) var(--#{$prefix}border-style) var(--#{$prefix}border-color) !important;
|
|
18
|
+
box-shadow: none !important;
|
|
19
|
+
padding: 0 !important;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.tox-tbtn {
|
|
24
|
+
margin: 0 !important;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.tox-statusbar {
|
|
28
|
+
border-top: var(--#{$prefix}border-width) var(--#{$prefix}border-style) var(--#{$prefix}border-color) !important;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.tox .tox-toolbar-overlord,
|
|
32
|
+
.tox:not(.tox-hugerte-inline) .tox-editor-header {
|
|
33
|
+
background: transparent !important;
|
|
34
|
+
}
|
package/docs/emails/index.mdx
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: Tabler Emails
|
|
3
|
-
seoTitle: Tabler Emails - premium email templates
|
|
4
|
-
order: 4
|
|
5
|
-
description: Customizable email templates for over 90 clients and devices.
|
|
6
|
-
summary: Tabler Emails is a set of 80 eye-catching, customizable HTML templates. They are compatible with over 90 email clients and devices.
|
|
7
|
-
seoDescription: Tabler Emails is a collection of 80 premium, customizable HTML templates. They are compatible with over 90 email clients and devices.
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
# Tabler Emails
|
|
11
|
-
|
|
12
|
-
*Change below image!*
|
|
13
|
-
|
|
14
|
-

|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: Compiled templates
|
|
3
|
-
order: 2
|
|
4
|
-
seoTitle: Tabler Emails - How to use the compiled HTML email templates
|
|
5
|
-
description: Learn how to use the compiled HTML email templates from the Tabler Emails package.
|
|
6
|
-
summary: The compiled HTML files from the Tabler Emails package are ready to use in your email marketing campaigns. This guide explains how to use them effectively.
|
|
7
|
-
seoDescription: The compiled HTML files from the Tabler Emails package are ready to use in your email marketing campaigns. This guide explains how to use them effectively.
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
## Compiled version of the template
|
|
11
|
-
|
|
12
|
-
If you only want to change a content - text or images - of the email template, you can just use the compiled HTML files - `compiled.html`. They are ready to use, and you need only a basic knowledge of HTML to modify them.
|
|
13
|
-
|
|
14
|
-
## How to modify the compiled HTML files
|
|
15
|
-
|
|
16
|
-
1. Open the `compiled.html` file in your favorite code editor.
|
|
17
|
-
2. Find the content you want to change inside the `<body>` element.
|
|
18
|
-
3. Modify the content as needed:
|
|
19
|
-
* Change the text, which is mostly placed inside the `<p>` or `<h1>` tags.
|
|
20
|
-
* Change the images by replacing the `src` attribute of the `<img>` tag.
|
|
21
|
-
* Change the links by replacing the `href` attribute of the `<a>` tag.
|
|
22
|
-
* Remove the HTML elements you don't need, but only if you're sure that they are not necessary for the email template to work correctly.
|
|
23
|
-
4. If you changed the images, make sure to replace them in the `assets/` folder.
|
|
24
|
-
5. Remove all the images you don't use from `assets/` to reduce the size of the email template.
|
|
25
|
-
|
|
26
|
-
## How to use the compiled HTML files
|
|
27
|
-
|
|
28
|
-
After changing the templates as needed, you can use them in your email campaigns.
|
|
29
|
-
The `compiled.html` file with the `assets/` folder should be sent to your email marketing tool, like Mailchimp, SendGrid, or any other.
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: Contents
|
|
3
|
-
order: 1
|
|
4
|
-
seoTitle: Tabler Emails - Content of the package
|
|
5
|
-
description: Content of the Tabler Emails package.
|
|
6
|
-
summary: The Tabler Emails package contains files which can be used by everyone, even without great knowledge of HTML.
|
|
7
|
-
seoDescription: todo
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
## Folder structure
|
|
11
|
-
|
|
12
|
-
Once you unzip the downloaded file, you will see the following structure:
|
|
13
|
-
|
|
14
|
-
```
|
|
15
|
-
tabler-emails/
|
|
16
|
-
├── emails/
|
|
17
|
-
| ├── absence/
|
|
18
|
-
| | ├── assets/
|
|
19
|
-
| | ├── compiled.html
|
|
20
|
-
| | ├── compiled-dark.html
|
|
21
|
-
| | ├── source.html
|
|
22
|
-
| | ├── source-dark.html
|
|
23
|
-
| | ├── screenshot.jpg
|
|
24
|
-
| | ├── screenshot-dark.jpg
|
|
25
|
-
| | ├── screenshot-mobile.jpg
|
|
26
|
-
| | └── screenshot-mobile-dark.jpg
|
|
27
|
-
| ├── access-token/
|
|
28
|
-
| ├── account-deleted/
|
|
29
|
-
| ├── .../
|
|
30
|
-
| ├── welcome/
|
|
31
|
-
| └── whishlist/
|
|
32
|
-
├── images/
|
|
33
|
-
| ├── chart-donuts/
|
|
34
|
-
| ├── icons/
|
|
35
|
-
| ├── illustrations/
|
|
36
|
-
| └── overlays/
|
|
37
|
-
├── license.txt
|
|
38
|
-
└── readme.html
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
## Understanding the file structure in Tabler Emails
|
|
42
|
-
|
|
43
|
-
The **Tabler Emails** package is organized into a clear and efficient folder structure to streamline the use of its assets. Below is a breakdown of its key directories:
|
|
44
|
-
|
|
45
|
-
### 1. Email Templates: `emails/`
|
|
46
|
-
This folder contains <EmailsCount /> email subfolders, each with a specific template. Each email folder contains the following files:
|
|
47
|
-
* Compiled HTML files for light and dark themes. Read more about its usage in the [Compiled HTML](/docs/emails/compiled-html) section.
|
|
48
|
-
* Source HTML files for light and dark themes. Find more information in the [Source HTML](/docs/emails/source-html) section.
|
|
49
|
-
* Screenshot images for desktop and mobile views.
|
|
50
|
-
* Assets folder with images used in the email template and the CSS file with styles
|
|
51
|
-
|
|
52
|
-
### 2. Images: `images/`
|
|
53
|
-
It contains 4 subfolders with images used across the different email templates:
|
|
54
|
-
* `chart-donuts/`: Images of donut charts with different fill.
|
|
55
|
-
* `icons/`: [Tabler Icons](/icons) used in the email templates, in PNG version.
|
|
56
|
-
* `illustrations/`: PNG versions of [Tabler Illustrations](/illustrations) for light and dark themes.
|
|
57
|
-
* `overlays/`: overlay images used in the email templates.
|
|
58
|
-
|
|
59
|
-
### 3. License: `license.txt`
|
|
60
|
-
This file contains the license information for the Tabler Emails package.
|
|
61
|
-
|
|
62
|
-
### 4. Readme: `readme.html`
|
|
63
|
-
This file with the main information about the Tabler Emails package. It contains a brief description of the package and instructions on how to use it.
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: Introduction
|
|
3
|
-
seoTitle: Introduction to Tabler Emails
|
|
4
|
-
description: Base information about Tabler Emails package.
|
|
5
|
-
summary: Tabler Emails is a set of 80 eye-catching, customizable HTML templates. They are compatible with over 90 email clients and devices.
|
|
6
|
-
seoDescription: Tabler Emails is a collection of 80 premium, customizable HTML templates. They are compatible with over 90 email clients and devices.
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: Source templates
|
|
3
|
-
order: 3
|
|
4
|
-
seoTitle: Tabler Emails - How to use the source HTML email templates
|
|
5
|
-
description: Learn how to use the source HTML email templates from the Tabler Emails package.
|
|
6
|
-
summary: The source HTML files from the Tabler Emails package needs a bit more work that the compiled ones. Learn how to use them.
|
|
7
|
-
seoDescription: The source HTML files from the Tabler Emails package needs a bit more work that the compiled ones. Learn how to use them.
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
## Source version of the template
|
|
11
|
-
|
|
12
|
-
If you want to make more advanced changes to the email template, you can use the source HTML files - `source.html` combined with the `theme.css` file. They are ready to use, but you need a basic knowledge of HTML and CSS to modify them.
|
|
13
|
-
|
|
14
|
-
## How to modify the source HTML files
|
|
15
|
-
|
|
16
|
-
1. Open the `source.html` file in your favorite code editor.
|
|
17
|
-
2. Open the `theme.css` file from `assets/`* directory in the same editor.
|
|
18
|
-
3. Change all the content and styles as needed.
|
|
19
|
-
4. Use a selected tool to inline the CSS styles into the HTML file. There are a lot of options, like:
|
|
20
|
-
* Online tools like [Juice](https://automattic.github.io/juice/) or [Mailchimp CSS Inliner Tool](https://templates.mailchimp.com/resources/inline-css/).
|
|
21
|
-
* NPM tools like [juice](https://www.npmjs.com/package/juice) or [inline-css](https://www.npmjs.com/package/inline-css).
|
|
22
|
-
5. Save the output HTML file.
|
|
23
|
-
|
|
24
|
-
## How to use the source HTML files
|
|
25
|
-
|
|
26
|
-
To use the modified HTML template send the output file with the `assets/` folder to your email marketing tool.
|
package/docs/icons/index.mdx
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: Tabler Icons
|
|
3
|
-
summary: Tabler Icons is a powerful and versatile icon library that offers a huge collection of high quality icons suitable for a wide range of applications. With its clean and modern aesthetic, extensive customization options, and user-friendly website and plugins, Tabler Icons is an excellent resource for designers and developers looking to enhance their projects with high-quality icons.
|
|
4
|
-
order: 2
|
|
5
|
-
description: Over 5000 pixel-perfect icons for web design and development
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
## Browse icons
|
|
9
|
-
|
|
10
|
-
Tabler Icons is a comprehensive icon library that features over <IconsCount rounded /> high-quality icons. These icons are designed with a clean and modern aesthetic, making them suitable for a wide range of applications.
|
|
11
|
-
|
|
12
|
-
To use Tabler Icons, you can visit their website at https://tabler-icons.io. From there, you can browse the full collection of icons by category or search for a specific icon using the search bar. Once you have found an icon you like, you can download it in various file formats, including SVG, PNG, and Icon Font.
|
|
13
|
-
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: Preact
|
|
3
|
-
description: Tabler Icons library for Preact framework.
|
|
4
|
-
summary: Tabler Icons for Preact provides an optimized collection of icons specifically designed for use with Preact. These lightweight and scalable icons are easy to integrate into Preact-based projects.
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-

|
|
8
|
-
|
|
9
|
-
## Installation
|
|
10
|
-
|
|
11
|
-
<TabsPackage name="@tabler/icons-preact" />
|
|
12
|
-
|
|
13
|
-
or just [download from Github](https://github.com/tabler/tabler-icons/releases).
|
|
14
|
-
|
|
15
|
-
## How to use
|
|
16
|
-
|
|
17
|
-
It's built with ESmodules so it's completely tree-shakable. Each icon can be imported as a component.
|
|
18
|
-
|
|
19
|
-
```js
|
|
20
|
-
import { IconArrowDown } from '@tabler/icons-preact';
|
|
21
|
-
|
|
22
|
-
const App = () => {
|
|
23
|
-
return <IconArrowDown />;
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
export default App;
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
You can pass additional props to adjust the icon.
|
|
30
|
-
|
|
31
|
-
```js
|
|
32
|
-
<IconArrowDown color="red" size={48} />
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
### Props
|
|
36
|
-
|
|
37
|
-
| name | type | default |
|
|
38
|
-
| ------------- | -------- | ------------ |
|
|
39
|
-
| `size` | _Number_ | 24 |
|
|
40
|
-
| `color` | _String_ | currentColor |
|
|
41
|
-
| `stroke` | _Number_ | 2 |
|
|
42
|
-
|