@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.
Files changed (273) hide show
  1. package/LICENSE +21 -0
  2. package/dist/css/tabler-flags.css +2 -2
  3. package/dist/css/tabler-flags.css.map +1 -1
  4. package/dist/css/tabler-flags.min.css +2 -2
  5. package/dist/css/tabler-flags.min.css.map +1 -1
  6. package/dist/css/tabler-flags.rtl.css +2 -2
  7. package/dist/css/tabler-flags.rtl.css.map +1 -1
  8. package/dist/css/tabler-flags.rtl.min.css +2 -2
  9. package/dist/css/tabler-flags.rtl.min.css.map +1 -1
  10. package/dist/css/tabler-marketing.css +6 -6
  11. package/dist/css/tabler-marketing.css.map +1 -1
  12. package/dist/css/tabler-marketing.min.css +2 -2
  13. package/dist/css/tabler-marketing.min.css.map +1 -1
  14. package/dist/css/tabler-marketing.rtl.css +6 -6
  15. package/dist/css/tabler-marketing.rtl.css.map +1 -1
  16. package/dist/css/tabler-marketing.rtl.min.css +2 -2
  17. package/dist/css/tabler-marketing.rtl.min.css.map +1 -1
  18. package/dist/css/tabler-payments.css +1 -1
  19. package/dist/css/tabler-payments.min.css +1 -1
  20. package/dist/css/tabler-payments.rtl.css +1 -1
  21. package/dist/css/tabler-payments.rtl.min.css +1 -1
  22. package/dist/css/tabler-props.css +448 -0
  23. package/dist/css/tabler-props.css.map +1 -0
  24. package/dist/css/tabler-props.min.css +8 -0
  25. package/dist/css/tabler-props.min.css.map +1 -0
  26. package/dist/css/tabler-props.rtl.css +447 -0
  27. package/dist/css/tabler-props.rtl.css.map +1 -0
  28. package/dist/css/tabler-props.rtl.min.css +8 -0
  29. package/dist/css/tabler-props.rtl.min.css.map +1 -0
  30. package/dist/css/tabler-socials.css +1 -1
  31. package/dist/css/tabler-socials.min.css +1 -1
  32. package/dist/css/tabler-socials.rtl.css +1 -1
  33. package/dist/css/tabler-socials.rtl.min.css +1 -1
  34. package/dist/css/tabler-themes.css +213 -0
  35. package/dist/css/tabler-themes.css.map +1 -0
  36. package/dist/css/tabler-themes.min.css +8 -0
  37. package/dist/css/tabler-themes.min.css.map +1 -0
  38. package/dist/css/tabler-themes.rtl.css +212 -0
  39. package/dist/css/tabler-themes.rtl.css.map +1 -0
  40. package/dist/css/tabler-themes.rtl.min.css +8 -0
  41. package/dist/css/tabler-themes.rtl.min.css.map +1 -0
  42. package/dist/css/tabler-vendors.css +31 -16
  43. package/dist/css/tabler-vendors.css.map +1 -1
  44. package/dist/css/tabler-vendors.min.css +2 -2
  45. package/dist/css/tabler-vendors.min.css.map +1 -1
  46. package/dist/css/tabler-vendors.rtl.css +31 -16
  47. package/dist/css/tabler-vendors.rtl.css.map +1 -1
  48. package/dist/css/tabler-vendors.rtl.min.css +2 -2
  49. package/dist/css/tabler-vendors.rtl.min.css.map +1 -1
  50. package/dist/css/tabler.css +7662 -8392
  51. package/dist/css/tabler.css.map +1 -1
  52. package/dist/css/tabler.min.css +2 -2
  53. package/dist/css/tabler.min.css.map +1 -1
  54. package/dist/css/tabler.rtl.css +7751 -8481
  55. package/dist/css/tabler.rtl.css.map +1 -1
  56. package/dist/css/tabler.rtl.min.css +2 -2
  57. package/dist/css/tabler.rtl.min.css.map +1 -1
  58. package/dist/img/flags/kr.svg +1 -1
  59. package/dist/js/tabler-theme.esm.js +38 -0
  60. package/dist/js/tabler-theme.esm.js.map +1 -0
  61. package/dist/js/tabler-theme.esm.min.js +8 -0
  62. package/dist/js/tabler-theme.esm.min.js.map +1 -0
  63. package/dist/js/tabler-theme.js +45 -0
  64. package/dist/js/tabler-theme.js.map +1 -0
  65. package/dist/js/tabler-theme.min.js +8 -0
  66. package/dist/js/tabler-theme.min.js.map +1 -0
  67. package/dist/js/tabler.esm.js +28 -21
  68. package/dist/js/tabler.esm.js.map +1 -1
  69. package/dist/js/tabler.esm.min.js +5 -5
  70. package/dist/js/tabler.esm.min.js.map +1 -1
  71. package/dist/js/tabler.js +36 -24
  72. package/dist/js/tabler.js.map +1 -1
  73. package/dist/js/tabler.min.js +5 -5
  74. package/dist/js/tabler.min.js.map +1 -1
  75. package/js/src/autosize.js +1 -4
  76. package/js/src/input-mask.js +1 -3
  77. package/js/tabler-theme.js +35 -0
  78. package/js/{tabler.esm.js → tabler.js} +16 -0
  79. package/package.json +10 -8
  80. package/scss/_bootstrap-components.scss +0 -5
  81. package/scss/_core.scss +4 -0
  82. package/scss/_props.scss +91 -0
  83. package/scss/_utilities.scss +30 -1
  84. package/scss/_variables-dark.scss +1 -1
  85. package/scss/_variables.scss +79 -60
  86. package/scss/helpers/_index.scss +143 -0
  87. package/scss/layout/_core.scss +1 -0
  88. package/scss/layout/_dark.scss +33 -38
  89. package/scss/layout/_navbar.scss +2 -1
  90. package/scss/layout/_page.scss +1 -0
  91. package/scss/layout/_root.scss +26 -34
  92. package/scss/marketing/_core.scss +1 -1
  93. package/scss/marketing/_pricing.scss +1 -1
  94. package/scss/mixins/_mixins.scss +6 -6
  95. package/scss/tabler-props.scss +1 -0
  96. package/scss/tabler-themes.scss +121 -0
  97. package/scss/tabler-vendors.scss +3 -1
  98. package/scss/tabler.scss +0 -1
  99. package/scss/ui/_accordion.scss +31 -26
  100. package/scss/ui/_alerts.scss +19 -8
  101. package/scss/ui/_avatars.scss +35 -9
  102. package/scss/ui/_badges.scss +1 -1
  103. package/scss/ui/_buttons.scss +15 -17
  104. package/scss/ui/_close.scss +55 -2
  105. package/scss/ui/_dropdowns.scss +1 -0
  106. package/scss/ui/_forms.scss +12 -2
  107. package/scss/ui/_markdown.scss +10 -1
  108. package/scss/ui/_nav.scss +11 -1
  109. package/scss/ui/_offcanvas.scss +1 -1
  110. package/scss/ui/_pagination.scss +2 -0
  111. package/scss/ui/_signature.scss +4 -2
  112. package/scss/ui/_steps.scss +4 -0
  113. package/scss/ui/_tables.scss +16 -0
  114. package/scss/ui/_tags.scss +1 -1
  115. package/scss/ui/_type.scss +69 -7
  116. package/scss/ui/forms/_form-colorinput.scss +1 -1
  117. package/scss/ui/forms/_form-imagecheck.scss +6 -5
  118. package/scss/ui/forms/_form-selectgroup.scss +1 -1
  119. package/scss/utils/_colors.scss +58 -11
  120. package/scss/utils/_scroll.scss +0 -2
  121. package/scss/vendor/_coloris.scss +6 -1
  122. package/scss/vendor/_fslightbox.scss +1 -1
  123. package/scss/vendor/_jsvectormap.scss +2 -3
  124. package/scss/vendor/_litepicker.scss +1 -0
  125. package/scss/vendor/_nouislider.scss +0 -2
  126. package/scss/vendor/_tinymce.scss +3 -3
  127. package/scss/vendor/_tom-select.scss +7 -4
  128. package/scss/vendor/_turbo.scss +3 -0
  129. package/scss/vendor/_wysiwyg.scss +34 -0
  130. package/docs/emails/index.mdx +0 -14
  131. package/docs/emails/introduction/compiled-html.mdx +0 -29
  132. package/docs/emails/introduction/contents.mdx +0 -63
  133. package/docs/emails/introduction/index.mdx +0 -9
  134. package/docs/emails/introduction/source-html.mdx +0 -26
  135. package/docs/icons/index.mdx +0 -13
  136. package/docs/icons/libraries/index.mdx +0 -5
  137. package/docs/icons/libraries/preact.mdx +0 -42
  138. package/docs/icons/libraries/react.mdx +0 -42
  139. package/docs/icons/libraries/solidjs.mdx +0 -42
  140. package/docs/icons/libraries/svelte.mdx +0 -43
  141. package/docs/icons/libraries/vue.mdx +0 -50
  142. package/docs/icons/libraries/webfont.mdx +0 -60
  143. package/docs/icons/plugins/figma.mdx +0 -15
  144. package/docs/icons/plugins/index.mdx +0 -4
  145. package/docs/icons/static-files/eps.mdx +0 -15
  146. package/docs/icons/static-files/index.mdx +0 -5
  147. package/docs/icons/static-files/pdf.mdx +0 -15
  148. package/docs/icons/static-files/png.mdx +0 -31
  149. package/docs/icons/static-files/svg.mdx +0 -85
  150. package/docs/illustrations/index.mdx +0 -8
  151. package/docs/illustrations/introduction/contents.mdx +0 -77
  152. package/docs/illustrations/introduction/customization.mdx +0 -1198
  153. package/docs/illustrations/introduction/index.mdx +0 -5
  154. package/docs/illustrations/introduction/license.mdx +0 -90
  155. package/docs/img/browsers/brave.svg +0 -1
  156. package/docs/img/browsers/chrome.svg +0 -1
  157. package/docs/img/browsers/edge.svg +0 -1
  158. package/docs/img/browsers/electron.svg +0 -1
  159. package/docs/img/browsers/firefox.svg +0 -1
  160. package/docs/img/browsers/internet-explorer.svg +0 -1
  161. package/docs/img/browsers/opera.svg +0 -1
  162. package/docs/img/browsers/safari.svg +0 -1
  163. package/docs/img/browsers/vivaldi.svg +0 -1
  164. package/docs/img/cover-illustrations-dark.png +0 -0
  165. package/docs/img/cover-illustrations.png +0 -0
  166. package/docs/img/cover-tabler-dark.png +0 -0
  167. package/docs/img/cover-tabler.png +0 -0
  168. package/docs/img/icons/figma-plugin.png +0 -0
  169. package/docs/img/icons/package-angular-dark.png +0 -0
  170. package/docs/img/icons/package-angular.png +0 -0
  171. package/docs/img/icons/package-eps-dark.png +0 -0
  172. package/docs/img/icons/package-eps.png +0 -0
  173. package/docs/img/icons/package-js-dark.png +0 -0
  174. package/docs/img/icons/package-js.png +0 -0
  175. package/docs/img/icons/package-pdf-dark.png +0 -0
  176. package/docs/img/icons/package-pdf.png +0 -0
  177. package/docs/img/icons/package-png-dark.png +0 -0
  178. package/docs/img/icons/package-png.png +0 -0
  179. package/docs/img/icons/package-preact-dark.png +0 -0
  180. package/docs/img/icons/package-preact.png +0 -0
  181. package/docs/img/icons/package-react-dark.png +0 -0
  182. package/docs/img/icons/package-react-native-dark.png +0 -0
  183. package/docs/img/icons/package-react-native.png +0 -0
  184. package/docs/img/icons/package-react.png +0 -0
  185. package/docs/img/icons/package-solidjs-dark.png +0 -0
  186. package/docs/img/icons/package-solidjs.png +0 -0
  187. package/docs/img/icons/package-sprite-dark.png +0 -0
  188. package/docs/img/icons/package-sprite.png +0 -0
  189. package/docs/img/icons/package-svelte-dark.png +0 -0
  190. package/docs/img/icons/package-svelte.png +0 -0
  191. package/docs/img/icons/package-svg-dark.png +0 -0
  192. package/docs/img/icons/package-svg.png +0 -0
  193. package/docs/img/icons/package-vue-dark.png +0 -0
  194. package/docs/img/icons/package-vue.png +0 -0
  195. package/docs/img/icons/package-webfont-dark.png +0 -0
  196. package/docs/img/icons/package-webfont.png +0 -0
  197. package/docs/index.mdx +0 -16
  198. package/docs/ui/base/colors.mdx +0 -83
  199. package/docs/ui/base/index.mdx +0 -6
  200. package/docs/ui/base/typography.mdx +0 -311
  201. package/docs/ui/components/alerts.mdx +0 -406
  202. package/docs/ui/components/autosize.mdx +0 -25
  203. package/docs/ui/components/avatars.mdx +0 -227
  204. package/docs/ui/components/badges.mdx +0 -112
  205. package/docs/ui/components/breadcrumb.mdx +0 -199
  206. package/docs/ui/components/buttons.mdx +0 -1213
  207. package/docs/ui/components/cards.mdx +0 -417
  208. package/docs/ui/components/carousel.mdx +0 -459
  209. package/docs/ui/components/charts.mdx +0 -697
  210. package/docs/ui/components/countup.mdx +0 -165
  211. package/docs/ui/components/datagrid.mdx +0 -120
  212. package/docs/ui/components/divider.mdx +0 -68
  213. package/docs/ui/components/dropdowns.mdx +0 -302
  214. package/docs/ui/components/dropzone.mdx +0 -88
  215. package/docs/ui/components/empty.mdx +0 -149
  216. package/docs/ui/components/icons.mdx +0 -392
  217. package/docs/ui/components/index.mdx +0 -6
  218. package/docs/ui/components/inline-player.mdx +0 -58
  219. package/docs/ui/components/modals.mdx +0 -297
  220. package/docs/ui/components/offcanvas.mdx +0 -70
  221. package/docs/ui/components/placeholder.mdx +0 -273
  222. package/docs/ui/components/popover.mdx +0 -142
  223. package/docs/ui/components/progress.mdx +0 -241
  224. package/docs/ui/components/range-slider.mdx +0 -32
  225. package/docs/ui/components/ribbons.mdx +0 -207
  226. package/docs/ui/components/segmented-control.mdx +0 -401
  227. package/docs/ui/components/spinners.mdx +0 -135
  228. package/docs/ui/components/statuses.mdx +0 -322
  229. package/docs/ui/components/steps.mdx +0 -174
  230. package/docs/ui/components/switch-icon.mdx +0 -386
  231. package/docs/ui/components/tables.mdx +0 -397
  232. package/docs/ui/components/tabs.mdx +0 -396
  233. package/docs/ui/components/timelines.mdx +0 -697
  234. package/docs/ui/components/tinymce.mdx +0 -46
  235. package/docs/ui/components/toasts.mdx +0 -126
  236. package/docs/ui/components/tooltips.mdx +0 -65
  237. package/docs/ui/components/tracking.mdx +0 -548
  238. package/docs/ui/components/vector-maps.mdx +0 -166
  239. package/docs/ui/forms/form-color-check.mdx +0 -220
  240. package/docs/ui/forms/form-elements.mdx +0 -632
  241. package/docs/ui/forms/form-fieldset.mdx +0 -45
  242. package/docs/ui/forms/form-helpers.mdx +0 -91
  243. package/docs/ui/forms/form-image-check.mdx +0 -213
  244. package/docs/ui/forms/form-input-mask.mdx +0 -61
  245. package/docs/ui/forms/form-selectboxes.mdx +0 -398
  246. package/docs/ui/forms/form-validation.mdx +0 -62
  247. package/docs/ui/forms/index.mdx +0 -6
  248. package/docs/ui/getting-started/browser-support.mdx +0 -28
  249. package/docs/ui/getting-started/customize.mdx +0 -28
  250. package/docs/ui/getting-started/download.mdx +0 -44
  251. package/docs/ui/getting-started/faq.mdx +0 -30
  252. package/docs/ui/getting-started/how-to-contribute.mdx +0 -84
  253. package/docs/ui/getting-started/index.mdx +0 -16
  254. package/docs/ui/getting-started/installation.mdx +0 -67
  255. package/docs/ui/getting-started/license.mdx +0 -30
  256. package/docs/ui/index.mdx +0 -8
  257. package/docs/ui/layout/index.mdx +0 -6
  258. package/docs/ui/layout/navbars.mdx +0 -164
  259. package/docs/ui/layout/navs-tabls.mdx +0 -201
  260. package/docs/ui/layout/page-headers.mdx +0 -365
  261. package/docs/ui/layout/page-layouts.mdx +0 -213
  262. package/docs/ui/plugins/flags.mdx +0 -316
  263. package/docs/ui/plugins/index.mdx +0 -6
  264. package/docs/ui/plugins/payments.mdx +0 -152
  265. package/docs/ui/plugins/social-icons.mdx +0 -135
  266. package/docs/ui/utilities/borders.mdx +0 -260
  267. package/docs/ui/utilities/cursors.mdx +0 -63
  268. package/docs/ui/utilities/index.mdx +0 -5
  269. package/docs/ui/utilities/interactions.mdx +0 -26
  270. package/docs/ui/utilities/margins.mdx +0 -234
  271. package/docs/ui/utilities/vertical-align.mdx +0 -66
  272. package/docs/ui/utilities/visually-hidden.mdx +0 -12
  273. package/js/tabler.umd.js +0 -15
@@ -1,11 +1,17 @@
1
1
  @import "typo/hr";
2
2
 
3
3
  .lead {
4
- line-height: 1.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(--tblr-box-shadow-border);
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: 3px;
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: 3px;
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: 2px;
77
- border-top-right-radius: 2px;
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: 2px;
82
- border-bottom-left-radius: 2px;
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: 3px;
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
 
@@ -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: 1;
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}bg-opacity: 1;
10
- --#{$prefix}text-opacity: 1;
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: 1;
17
- border-color: rgba(var(--#{$prefix}#{$color}-rgb), var(--#{$prefix}border-opacity)) !important;
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: rgba(var(--#{$prefix}#{$color}-rgb), var(--#{$prefix}text-opacity)) !important;
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: rgba(var(--#{$prefix}#{$color}-rgb), var(--#{$prefix}bg-opacity)) !important;
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
  }
@@ -1,5 +1,3 @@
1
- // stylelint-disable declaration-no-important
2
-
3
1
  /*
4
2
  Scrollable
5
3
  */
@@ -1,6 +1,11 @@
1
1
  .clr-picker {
2
- box-shadow: var(--#{$prefix}box-shadow-dropdown);
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,6 +1,6 @@
1
1
  .fslightbox-container {
2
2
  font-family: inherit !important;
3
- background: rgba($modal-backdrop-bg, $modal-backdrop-opacity) !important;
3
+ background: var(--#{$prefix}backdrop-bg) !important;
4
4
  backdrop-filter: blur($modal-backdrop-blur) !important;
5
5
  }
6
6
 
@@ -1,7 +1,6 @@
1
- // @import "jsvectormap/dist/jsvectormap";
2
-
3
1
  .jvm-tooltip {
4
- background: $dark;
2
+ background: var(--#{$prefix}bg-surface-inverted);
3
+ color: var(--#{$prefix}text-inverted);
5
4
  font-family: inherit;
6
5
  font-size: $h5-font-size;
7
6
  box-shadow: $card-box-shadow;
@@ -62,6 +62,7 @@
62
62
  .container__months {
63
63
  box-shadow: none;
64
64
  background-color: var(--#{$prefix}bg-forms);
65
+ border-radius: calc(var(--#{$prefix}border-radius) - 1px);
65
66
  }
66
67
  }
67
68
  }
@@ -1,5 +1,3 @@
1
- // @import "nouislider/dist/nouislider";
2
-
3
1
  .noUi-target {
4
2
  border: 0;
5
3
  box-shadow: none;
@@ -1,4 +1,4 @@
1
- .tox-tinymce {
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-tinymce-inline) {
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-tinymce-inline) .tox-editor-header {
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}box-shadow-dropdown);
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,3 @@
1
+ .turbo-progress-bar {
2
+ background: var(--#{$prefix}primary);
3
+ }
@@ -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
+ }
@@ -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
- ![Tabler Emails](/docs/cover-illustrations.png)
@@ -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.
@@ -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,5 +0,0 @@
1
- ---
2
- title: Libraries
3
- description: Explore Tabler Icons libraries.
4
- summary: The libraries section offers various integrations of Tabler Icons for popular frameworks and technologies, making it easy to incorporate icons into any project.
5
- ---
@@ -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
- ![](/docs/icons/package-preact.png)
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
-