@tabler/core 1.0.0-beta22 → 1.0.0-beta24

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 (265) hide show
  1. package/LICENSE +1 -1
  2. package/dist/css/demo.css +2 -2
  3. package/dist/css/demo.min.css +2 -2
  4. package/dist/css/demo.rtl.css +2 -2
  5. package/dist/css/demo.rtl.min.css +2 -2
  6. package/dist/css/tabler-flags.css +2 -2
  7. package/dist/css/tabler-flags.min.css +2 -2
  8. package/dist/css/tabler-flags.rtl.css +2 -2
  9. package/dist/css/tabler-flags.rtl.min.css +2 -2
  10. package/dist/css/tabler-marketing.css +4751 -0
  11. package/dist/css/tabler-marketing.min.css +9 -0
  12. package/dist/css/tabler-marketing.rtl.css +4751 -0
  13. package/dist/css/tabler-marketing.rtl.min.css +9 -0
  14. package/dist/css/tabler-payments.css +2 -2
  15. package/dist/css/tabler-payments.min.css +2 -2
  16. package/dist/css/tabler-payments.rtl.css +2 -2
  17. package/dist/css/tabler-payments.rtl.min.css +2 -2
  18. package/dist/css/tabler-socials.css +221 -0
  19. package/dist/css/tabler-socials.min.css +9 -0
  20. package/dist/css/tabler-socials.rtl.css +221 -0
  21. package/dist/css/tabler-socials.rtl.min.css +9 -0
  22. package/dist/css/tabler-vendors.css +25 -19
  23. package/dist/css/tabler-vendors.min.css +3 -3
  24. package/dist/css/tabler-vendors.rtl.css +25 -19
  25. package/dist/css/tabler-vendors.rtl.min.css +3 -3
  26. package/dist/css/tabler.css +1300 -1501
  27. package/dist/css/tabler.min.css +4 -4
  28. package/dist/css/tabler.rtl.css +1300 -1501
  29. package/dist/css/tabler.rtl.min.css +4 -4
  30. package/dist/img/social/apple-gray.svg +3 -0
  31. package/dist/img/social/apple.svg +3 -0
  32. package/dist/img/social/discord-gray.svg +3 -0
  33. package/dist/img/social/discord.svg +3 -0
  34. package/dist/img/social/dribbble-gray.svg +3 -0
  35. package/dist/img/social/dribbble.svg +4 -0
  36. package/dist/img/social/facebook-gray.svg +3 -0
  37. package/dist/img/social/facebook.svg +4 -0
  38. package/dist/img/social/figma-gray.svg +3 -0
  39. package/dist/img/social/figma.svg +7 -0
  40. package/dist/img/social/github-gray.svg +10 -0
  41. package/dist/img/social/github.svg +10 -0
  42. package/dist/img/social/google-gray.svg +3 -0
  43. package/dist/img/social/google.svg +6 -0
  44. package/dist/img/social/instagram-gray.svg +5 -0
  45. package/dist/img/social/instagram.svg +18 -0
  46. package/dist/img/social/linkedin-gray.svg +3 -0
  47. package/dist/img/social/linkedin.svg +3 -0
  48. package/dist/img/social/medium-gray.svg +5 -0
  49. package/dist/img/social/medium.svg +5 -0
  50. package/dist/img/social/meta-gray.svg +5 -0
  51. package/dist/img/social/meta.svg +17 -0
  52. package/dist/img/social/metamask-gray.svg +12 -0
  53. package/dist/img/social/metamask.svg +14 -0
  54. package/dist/img/social/pinterest-gray.svg +3 -0
  55. package/dist/img/social/pinterest.svg +4 -0
  56. package/dist/img/social/reddit-gray.svg +6 -0
  57. package/dist/img/social/reddit.svg +11 -0
  58. package/dist/img/social/signal-gray.svg +10 -0
  59. package/dist/img/social/signal.svg +10 -0
  60. package/dist/img/social/skype-gray.svg +3 -0
  61. package/dist/img/social/skype.svg +3 -0
  62. package/dist/img/social/snapchat-gray.svg +10 -0
  63. package/dist/img/social/snapchat.svg +11 -0
  64. package/dist/img/social/spotify-gray.svg +3 -0
  65. package/dist/img/social/spotify.svg +3 -0
  66. package/dist/img/social/telegram-gray.svg +3 -0
  67. package/dist/img/social/telegram.svg +10 -0
  68. package/dist/img/social/tiktok-gray.svg +3 -0
  69. package/dist/img/social/tiktok.svg +5 -0
  70. package/dist/img/social/tumblr-gray.svg +3 -0
  71. package/dist/img/social/tumblr.svg +3 -0
  72. package/dist/img/social/twitch-gray.svg +5 -0
  73. package/dist/img/social/twitch.svg +6 -0
  74. package/dist/img/social/vk-gray.svg +3 -0
  75. package/dist/img/social/vk.svg +4 -0
  76. package/dist/img/social/x-gray.svg +3 -0
  77. package/dist/img/social/x.svg +3 -0
  78. package/dist/img/social/youtube-gray.svg +3 -0
  79. package/dist/img/social/youtube.svg +11 -0
  80. package/dist/js/demo-theme.js +2 -2
  81. package/dist/js/demo-theme.min.js +2 -2
  82. package/dist/js/demo.js +2 -2
  83. package/dist/js/demo.min.js +2 -2
  84. package/dist/js/tabler.esm.js +19 -4
  85. package/dist/js/tabler.esm.min.js +3 -3
  86. package/dist/js/tabler.js +19 -4
  87. package/dist/js/tabler.min.js +4 -4
  88. package/docs/icons/index.mdx +3 -93
  89. package/docs/icons/libraries/index.mdx +5 -0
  90. package/docs/icons/{preact.mdx → libraries/preact.mdx} +4 -2
  91. package/docs/icons/{react.mdx → libraries/react.mdx} +5 -3
  92. package/docs/icons/{solidjs.mdx → libraries/solidjs.mdx} +5 -2
  93. package/docs/icons/{svelte.mdx → libraries/svelte.mdx} +5 -2
  94. package/docs/icons/{vue.mdx → libraries/vue.mdx} +13 -8
  95. package/docs/icons/{webfont.mdx → libraries/webfont.mdx} +4 -1
  96. package/docs/icons/plugins/figma.mdx +15 -0
  97. package/docs/icons/plugins/index.mdx +4 -0
  98. package/docs/icons/{eps.mdx → static-files/eps.mdx} +3 -1
  99. package/docs/icons/static-files/index.mdx +5 -0
  100. package/docs/icons/{pdf.mdx → static-files/pdf.mdx} +3 -1
  101. package/docs/icons/static-files/png.mdx +31 -0
  102. package/docs/icons/{svg.mdx → static-files/svg.mdx} +18 -18
  103. package/docs/illustrations/index.mdx +8 -0
  104. package/docs/illustrations/introduction/contents.mdx +77 -0
  105. package/docs/illustrations/introduction/customization.mdx +431 -0
  106. package/docs/illustrations/introduction/index.mdx +5 -0
  107. package/docs/illustrations/introduction/license.mdx +22 -0
  108. package/docs/img/browsers/brave.svg +1 -0
  109. package/docs/img/browsers/chrome.svg +1 -0
  110. package/docs/img/browsers/edge.svg +1 -0
  111. package/docs/img/browsers/electron.svg +1 -0
  112. package/docs/img/browsers/firefox.svg +1 -0
  113. package/docs/img/browsers/internet-explorer.svg +1 -0
  114. package/docs/img/browsers/opera.svg +1 -0
  115. package/docs/img/browsers/safari.svg +1 -0
  116. package/docs/img/browsers/vivaldi.svg +1 -0
  117. package/docs/img/cover-illustrations-dark.png +0 -0
  118. package/docs/img/cover-illustrations.png +0 -0
  119. package/docs/img/cover-tabler-dark.png +0 -0
  120. package/docs/img/cover-tabler.png +0 -0
  121. package/docs/img/icons/figma-plugin.png +0 -0
  122. package/docs/img/icons/package-angular-dark.png +0 -0
  123. package/docs/img/icons/package-angular.png +0 -0
  124. package/docs/img/icons/package-eps-dark.png +0 -0
  125. package/docs/img/icons/package-eps.png +0 -0
  126. package/docs/img/icons/package-js-dark.png +0 -0
  127. package/docs/img/icons/package-js.png +0 -0
  128. package/docs/img/icons/package-pdf-dark.png +0 -0
  129. package/docs/img/icons/package-pdf.png +0 -0
  130. package/docs/img/icons/package-png-dark.png +0 -0
  131. package/docs/img/icons/package-png.png +0 -0
  132. package/docs/img/icons/package-preact-dark.png +0 -0
  133. package/docs/img/icons/package-preact.png +0 -0
  134. package/docs/img/icons/package-react-dark.png +0 -0
  135. package/docs/img/icons/package-react-native-dark.png +0 -0
  136. package/docs/img/icons/package-react-native.png +0 -0
  137. package/docs/img/icons/package-react.png +0 -0
  138. package/docs/img/icons/package-solidjs-dark.png +0 -0
  139. package/docs/img/icons/package-solidjs.png +0 -0
  140. package/docs/img/icons/package-sprite-dark.png +0 -0
  141. package/docs/img/icons/package-sprite.png +0 -0
  142. package/docs/img/icons/package-svelte-dark.png +0 -0
  143. package/docs/img/icons/package-svelte.png +0 -0
  144. package/docs/img/icons/package-svg-dark.png +0 -0
  145. package/docs/img/icons/package-svg.png +0 -0
  146. package/docs/img/icons/package-vue-dark.png +0 -0
  147. package/docs/img/icons/package-vue.png +0 -0
  148. package/docs/img/icons/package-webfont-dark.png +0 -0
  149. package/docs/img/icons/package-webfont.png +0 -0
  150. package/docs/index.mdx +16 -0
  151. package/docs/ui/base/colors.mdx +63 -5
  152. package/docs/ui/base/index.mdx +6 -0
  153. package/docs/ui/base/typography.mdx +96 -101
  154. package/docs/ui/components/alerts.mdx +45 -120
  155. package/docs/ui/components/autosize.mdx +12 -3
  156. package/docs/ui/components/avatars.mdx +7 -4
  157. package/docs/ui/components/badges.mdx +66 -75
  158. package/docs/ui/components/breadcrumb.mdx +125 -59
  159. package/docs/ui/components/buttons.mdx +142 -87
  160. package/docs/ui/components/cards.mdx +48 -27
  161. package/docs/ui/components/carousel.mdx +8 -7
  162. package/docs/ui/components/charts.mdx +15 -24
  163. package/docs/ui/components/countup.mdx +74 -45
  164. package/docs/ui/components/datagrid.mdx +10 -2
  165. package/docs/ui/components/divider.mdx +6 -6
  166. package/docs/ui/components/dropdowns.mdx +24 -15
  167. package/docs/ui/components/dropzone.mdx +39 -14
  168. package/docs/ui/components/empty.mdx +7 -5
  169. package/docs/ui/components/icons.mdx +53 -14
  170. package/docs/ui/components/index.mdx +6 -0
  171. package/docs/ui/components/inline-player.mdx +31 -4
  172. package/docs/ui/components/modals.mdx +53 -18
  173. package/docs/ui/components/offcanvas.mdx +55 -0
  174. package/docs/ui/components/placeholder.mdx +25 -25
  175. package/docs/ui/components/popover.mdx +8 -9
  176. package/docs/ui/components/progress.mdx +120 -19
  177. package/docs/ui/components/range-slider.mdx +17 -3
  178. package/docs/ui/components/ribbons.mdx +13 -12
  179. package/docs/ui/components/spinners.mdx +31 -10
  180. package/docs/ui/components/statuses.mdx +50 -13
  181. package/docs/ui/components/steps.mdx +62 -19
  182. package/docs/ui/components/switch-icon.mdx +4 -3
  183. package/docs/ui/components/tables.mdx +37 -17
  184. package/docs/ui/components/tabs.mdx +17 -11
  185. package/docs/ui/components/timelines.mdx +48 -29
  186. package/docs/ui/components/tinymce.mdx +3 -3
  187. package/docs/ui/components/toasts.mdx +3 -2
  188. package/docs/ui/components/tooltips.mdx +4 -3
  189. package/docs/ui/components/tracking.mdx +39 -34
  190. package/docs/ui/components/vector-maps.mdx +170 -0
  191. package/docs/ui/forms/form-color-check.mdx +36 -11
  192. package/docs/ui/forms/form-elements.mdx +32 -17
  193. package/docs/ui/forms/form-fieldset.mdx +3 -2
  194. package/docs/ui/forms/form-helpers.mdx +71 -4
  195. package/docs/ui/forms/form-image-check.mdx +43 -29
  196. package/docs/ui/forms/form-input-mask.mdx +33 -5
  197. package/docs/ui/forms/form-selectboxes.mdx +101 -16
  198. package/docs/ui/forms/form-validation.mdx +54 -13
  199. package/docs/ui/forms/index.mdx +6 -0
  200. package/docs/ui/getting-started/browser-support.mdx +10 -2
  201. package/docs/ui/getting-started/customize.mdx +5 -4
  202. package/docs/ui/getting-started/download.mdx +3 -5
  203. package/docs/ui/getting-started/faq.mdx +3 -1
  204. package/docs/ui/getting-started/how-to-contribute.mdx +96 -0
  205. package/docs/ui/getting-started/index.mdx +4 -28
  206. package/docs/ui/getting-started/installation.mdx +67 -0
  207. package/docs/ui/getting-started/license.mdx +30 -0
  208. package/docs/ui/index.mdx +8 -0
  209. package/docs/ui/layout/index.mdx +6 -0
  210. package/docs/ui/layout/navbars.mdx +106 -0
  211. package/docs/ui/layout/navs-tabls.mdx +187 -0
  212. package/docs/ui/layout/page-headers.mdx +16 -9
  213. package/docs/ui/layout/page-layouts.mdx +10 -6
  214. package/docs/ui/plugins/flags.mdx +270 -6
  215. package/docs/ui/plugins/index.mdx +6 -0
  216. package/docs/ui/plugins/payments.mdx +108 -4
  217. package/docs/ui/plugins/social-icons.mdx +135 -0
  218. package/docs/ui/utilities/borders.mdx +69 -49
  219. package/docs/ui/utilities/cursors.mdx +22 -51
  220. package/docs/ui/utilities/index.mdx +5 -0
  221. package/docs/ui/utilities/interactions.mdx +10 -5
  222. package/docs/ui/utilities/margins.mdx +234 -0
  223. package/docs/ui/utilities/vertical-align.mdx +66 -0
  224. package/docs/ui/utilities/visually-hidden.mdx +12 -0
  225. package/package.json +9 -6
  226. package/src/js/src/countup.js +17 -0
  227. package/src/js/tabler.esm.js +1 -0
  228. package/src/js/tabler.js +1 -0
  229. package/src/scss/_utilities-marketing.scss +209 -0
  230. package/src/scss/_utilities.scss +5 -9
  231. package/src/scss/_variables-marketing.scss +0 -0
  232. package/src/scss/_variables.scss +57 -22
  233. package/src/scss/layout/_animations.scss +2 -1
  234. package/src/scss/layout/_navbar.scss +0 -1
  235. package/src/scss/marketing/_browser.scss +67 -0
  236. package/src/scss/marketing/_core.scss +8 -0
  237. package/src/scss/marketing/_filters.scss +0 -0
  238. package/src/scss/marketing/_hero.scss +69 -0
  239. package/src/scss/marketing/_pricing.scss +111 -0
  240. package/src/scss/marketing/_sections.scss +124 -0
  241. package/src/scss/marketing/_shape.scss +31 -0
  242. package/src/scss/mixins/_mixins.scss +2 -2
  243. package/src/scss/tabler-marketing.scss +13 -0
  244. package/src/scss/tabler-socials.scss +2 -0
  245. package/src/scss/tabler-vendors.scss +1 -0
  246. package/src/scss/ui/_buttons.scss +8 -7
  247. package/src/scss/ui/_forms.scss +4 -0
  248. package/src/scss/ui/_images.scss +4 -0
  249. package/src/scss/ui/_lists.scss +11 -15
  250. package/src/scss/ui/_social.scss +52 -0
  251. package/src/scss/ui/_tables.scss +0 -1
  252. package/src/scss/ui/_type.scss +4 -0
  253. package/src/scss/utils/_colors.scss +1 -1
  254. package/src/scss/vendor/_dropzone.scss +3 -3
  255. package/src/scss/vendor/_tom-select.scss +1 -0
  256. package/src/scss/vendor/_typed.scss +4 -0
  257. package/dist/css/tabler-social.css +0 -10
  258. package/dist/css/tabler-social.min.css +0 -8
  259. package/dist/css/tabler-social.rtl.css +0 -10
  260. package/dist/css/tabler-social.rtl.min.css +0 -8
  261. package/docs/icons/figma.mdx +0 -7
  262. package/docs/icons/png.mdx +0 -19
  263. package/docs/menu.json +0 -317
  264. package/docs/ui/components/progressbg.mdx +0 -16
  265. package/src/scss/tabler-social.scss +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tabler/core",
3
- "version": "1.0.0-beta22",
3
+ "version": "1.0.0-beta24",
4
4
  "description": "Premium and Open Source dashboard template with responsive and high quality UI.",
5
5
  "homepage": "https://tabler.io",
6
6
  "scripts": {
@@ -97,20 +97,20 @@
97
97
  "maxSize": "2 kB"
98
98
  },
99
99
  {
100
- "path": "./dist/css/tabler-social.css",
100
+ "path": "./dist/css/tabler-socials.css",
101
101
  "maxSize": "2 kB"
102
102
  },
103
103
  {
104
- "path": "./dist/css/tabler-social.min.css",
104
+ "path": "./dist/css/tabler-socials.min.css",
105
105
  "maxSize": "2 kB"
106
106
  },
107
107
  {
108
108
  "path": "./dist/css/tabler-vendors.css",
109
- "maxSize": "7 kB"
109
+ "maxSize": "7.5 kB"
110
110
  },
111
111
  {
112
112
  "path": "./dist/css/tabler-vendors.min.css",
113
- "maxSize": "6 kB"
113
+ "maxSize": "6.5 kB"
114
114
  },
115
115
  {
116
116
  "path": "./dist/js/tabler.js",
@@ -166,6 +166,7 @@
166
166
  "gulp-terser": "^2.1.0",
167
167
  "imageoptim-cli": "^3.1.9",
168
168
  "imask": "^7.6.1",
169
+ "js-beautify": "^1.15.1",
169
170
  "jsvectormap": "^1.6.0",
170
171
  "list.js": "^2.3.1",
171
172
  "litepicker": "^2.0.12",
@@ -182,6 +183,7 @@
182
183
  "star-rating.js": "^4.3.1",
183
184
  "tinymce": "^7.5.1",
184
185
  "tom-select": "^2.4.1",
186
+ "typed.js": "^2.1.0",
185
187
  "vinyl-buffer": "^1.0.1",
186
188
  "vinyl-source-stream": "^2.0.0",
187
189
  "yaml": "^2.6.1",
@@ -210,7 +212,8 @@
210
212
  "plyr": "^3.7.8",
211
213
  "star-rating.js": "^4.3.0",
212
214
  "tinymce": "^6.4.2 || ^7.0.0",
213
- "tom-select": "^2.2.2"
215
+ "tom-select": "^2.2.2",
216
+ "typed.js": "^2.1.0"
214
217
  },
215
218
  "peerDependenciesMeta": {
216
219
  "@melloware/coloris": {
@@ -0,0 +1,17 @@
1
+ const elements = document.querySelectorAll('[data-countup]');
2
+
3
+ if (elements.length) {
4
+ elements.forEach(function (element) {
5
+ let options = {};
6
+ try {
7
+ options = element.getAttribute('data-countup') ? JSON.parse(element.getAttribute('data-countup')) : {};
8
+ } catch (error) {}
9
+
10
+ const value = parseInt(element.innerHTML, 10);
11
+
12
+ const countUp = new window.countUp.CountUp(element, value, options);
13
+ if (!countUp.error) {
14
+ countUp.start();
15
+ }
16
+ });
17
+ }
@@ -1,6 +1,7 @@
1
1
  //Vendor
2
2
 
3
3
  import "./src/autosize"
4
+ import "./src/countup"
4
5
  import "./src/input-mask"
5
6
  import "./src/dropdown"
6
7
  import "./src/tooltip"
package/src/js/tabler.js CHANGED
@@ -1,6 +1,7 @@
1
1
  //Vendor
2
2
 
3
3
  import "./src/autosize"
4
+ import "./src/countup"
4
5
  import "./src/input-mask"
5
6
  import "./src/dropdown"
6
7
  import "./src/tooltip"
@@ -0,0 +1,209 @@
1
+ $negative-spacers-extra: if(
2
+ $enable-negative-margins,
3
+ negativify-map(map-merge($spacers, $spacers-extra)),
4
+ null
5
+ );
6
+
7
+ $utilities: (
8
+ // Margin utilities
9
+ "margin":
10
+ (
11
+ responsive: true,
12
+ property: margin,
13
+ class: m,
14
+ values: $spacers-extra,
15
+ ),
16
+ "margin-x": (
17
+ responsive: true,
18
+ property: margin-right margin-left,
19
+ class: mx,
20
+ values: $spacers-extra,
21
+ ),
22
+ "margin-y": (
23
+ responsive: true,
24
+ property: margin-top margin-bottom,
25
+ class: my,
26
+ values: $spacers-extra,
27
+ ),
28
+ "margin-top": (
29
+ responsive: true,
30
+ property: margin-top,
31
+ class: mt,
32
+ values: $spacers-extra,
33
+ ),
34
+ "margin-end": (
35
+ responsive: true,
36
+ property: margin-right,
37
+ class: me,
38
+ values: $spacers-extra,
39
+ ),
40
+ "margin-bottom": (
41
+ responsive: true,
42
+ property: margin-bottom,
43
+ class: mb,
44
+ values: $spacers-extra,
45
+ ),
46
+ "margin-start": (
47
+ responsive: true,
48
+ property: margin-left,
49
+ class: ms,
50
+ values: $spacers-extra,
51
+ ),
52
+ // Negative margin utilities
53
+ "negative-margin":
54
+ (
55
+ responsive: true,
56
+ property: margin,
57
+ class: m,
58
+ values: $negative-spacers-extra,
59
+ ),
60
+ "negative-margin-x": (
61
+ responsive: true,
62
+ property: margin-right margin-left,
63
+ class: mx,
64
+ values: $negative-spacers-extra,
65
+ ),
66
+ "negative-margin-y": (
67
+ responsive: true,
68
+ property: margin-top margin-bottom,
69
+ class: my,
70
+ values: $negative-spacers-extra,
71
+ ),
72
+ "negative-margin-top": (
73
+ responsive: true,
74
+ property: margin-top,
75
+ class: mt,
76
+ values: $negative-spacers-extra,
77
+ ),
78
+ "negative-margin-end": (
79
+ responsive: true,
80
+ property: margin-right,
81
+ class: me,
82
+ values: $negative-spacers-extra,
83
+ ),
84
+ "negative-margin-bottom": (
85
+ responsive: true,
86
+ property: margin-bottom,
87
+ class: mb,
88
+ values: $negative-spacers-extra,
89
+ ),
90
+ "negative-margin-start": (
91
+ responsive: true,
92
+ property: margin-left,
93
+ class: ms,
94
+ values: $negative-spacers-extra,
95
+ ),
96
+ // Padding utilities
97
+ "padding":
98
+ (
99
+ responsive: true,
100
+ property: padding,
101
+ class: p,
102
+ values: $spacers-extra,
103
+ ),
104
+ "padding-x": (
105
+ responsive: true,
106
+ property: padding-right padding-left,
107
+ class: px,
108
+ values: $spacers-extra,
109
+ ),
110
+ "padding-y": (
111
+ responsive: true,
112
+ property: padding-top padding-bottom,
113
+ class: py,
114
+ values: $spacers-extra,
115
+ ),
116
+ "padding-top": (
117
+ responsive: true,
118
+ property: padding-top,
119
+ class: pt,
120
+ values: $spacers-extra,
121
+ ),
122
+ "padding-end": (
123
+ responsive: true,
124
+ property: padding-right,
125
+ class: pe,
126
+ values: $spacers-extra,
127
+ ),
128
+ "padding-bottom": (
129
+ responsive: true,
130
+ property: padding-bottom,
131
+ class: pb,
132
+ values: $spacers-extra,
133
+ ),
134
+ "padding-start": (
135
+ responsive: true,
136
+ property: padding-left,
137
+ class: ps,
138
+ values: $spacers-extra,
139
+ ),
140
+ // Gap utility
141
+ "gap":
142
+ (
143
+ responsive: true,
144
+ property: gap,
145
+ class: gap,
146
+ values: $spacers-extra,
147
+ ),
148
+ "row-gap": (
149
+ responsive: true,
150
+ property: row-gap,
151
+ class: row-gap,
152
+ values: $spacers-extra,
153
+ ),
154
+ "column-gap": (
155
+ responsive: true,
156
+ property: column-gap,
157
+ class: column-gap,
158
+ values: $spacers-extra,
159
+ ),
160
+ // Letter spacing
161
+ "spacing":
162
+ (
163
+ property: letter-spacing,
164
+ class: tracking,
165
+ values: (
166
+ tight: $spacing-tight,
167
+ normal: $spacing-normal,
168
+ wide: $spacing-wide,
169
+ ),
170
+ ),
171
+ "width": (
172
+ property: width,
173
+ class: w,
174
+ values: $spacers-extra,
175
+ ),
176
+ "height": (
177
+ property: height,
178
+ class: h,
179
+ values: $spacers-extra,
180
+ ),
181
+ "filter": (
182
+ property: filter,
183
+ class: filter,
184
+ values: (
185
+ grayscale: grayscale(100%),
186
+ ),
187
+ ),
188
+ "gutter-x": (
189
+ responsive: true,
190
+ css-var: true,
191
+ css-variable-name: gutter-x,
192
+ class: gx,
193
+ values: $spacers-extra,
194
+ ),
195
+ "gutter-y": (
196
+ responsive: true,
197
+ css-var: true,
198
+ css-variable-name: gutter-y,
199
+ class: gy,
200
+ values: $spacers-extra,
201
+ ),
202
+ "gutter": (
203
+ responsive: true,
204
+ css-var: true,
205
+ css-variable-name: gutter-x,
206
+ class: g,
207
+ values: $spacers-extra,
208
+ )
209
+ );
@@ -6,6 +6,11 @@ $border-values: (
6
6
  0: 0,
7
7
  );
8
8
 
9
+ $utilities-border-colors: map-loop((
10
+ "red": red,
11
+ "green": green,
12
+ ), rgba-css-var, "$key", "border") !default;
13
+
9
14
  //Utilities
10
15
  $utilities: (
11
16
  "object": (
@@ -19,15 +24,6 @@ $utilities: (
19
24
  none: none,
20
25
  ),
21
26
  ),
22
- "spacing": (
23
- property: letter-spacing,
24
- class: tracking,
25
- values: (
26
- tight: -0.05em,
27
- normal: 0,
28
- wide: 0.05em,
29
- ),
30
- ),
31
27
  "cursor": (
32
28
  property: cursor,
33
29
  class: cursor,
File without changes
@@ -7,7 +7,7 @@ $enable-gradients: false !default;
7
7
  $enable-shadows: true !default;
8
8
  $enable-navbar-vertical: true !default;
9
9
  $enable-dark-mode: true !default;
10
- $enable-negative-margins: false !default;
10
+ $enable-negative-margins: true !default;
11
11
  $enable-rfs: false !default;
12
12
  $enable-cssgrid: true !default;
13
13
 
@@ -26,7 +26,7 @@ $font-icons: () !default;
26
26
  /* prettier-ignore */
27
27
  $font-family-sans-serif: unquote("#{if($font-local, "#{$font-local}, ", ' ')}#{if($font-google, "#{$font-google}, ", ' ')}") 'Inter Var', Inter, -apple-system, BlinkMacSystemFont, San Francisco, Segoe UI, Roboto, Helvetica Neue, sans-serif !default;
28
28
  /* prettier-ignore */
29
- $font-family-monospace: unquote("#{if($font-google-monospaced, "#{$font-google-monospaced}, ", '')}") Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
29
+ $font-family-monospace: unquote("#{if($font-google-monospaced, "#{$font-google-monospaced}, ", '')}") Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace !default;
30
30
  $font-family-serif: "Georgia", "Times New Roman", times, serif !default;
31
31
 
32
32
  //Icons
@@ -52,22 +52,29 @@ $line-height-600: 2.5rem !default;
52
52
  $line-height-700: 3rem !default;
53
53
 
54
54
  $font-size-base: 0.875rem !default;
55
+
56
+ $spacing-wide: .04em !default;
57
+ $spacing-normal: 0 !default;
58
+ $spacing-tight: -.04em !default;
59
+
55
60
  $body-letter-spacing: 0 !default;
56
61
 
57
62
  $font-weight-light: 300 !default;
58
63
  $font-weight-normal: 400 !default;
59
64
  $font-weight-medium: 500 !default;
60
65
  $font-weight-bold: 600 !default;
66
+ $font-weight-black: 700 !default;
61
67
 
62
68
  $headings-font-weight: var(--#{$prefix}font-weight-bold) !default;
63
69
  $headings-margin-bottom: var(--#{$prefix}spacer) !default;
64
70
 
65
71
  $font-weights: (
66
- light: $font-weight-light,
67
- normal: $font-weight-normal,
68
- medium: $font-weight-medium,
69
- bold: $font-weight-bold,
70
- headings: $headings-font-weight,
72
+ 'light': $font-weight-light,
73
+ 'normal': $font-weight-normal,
74
+ 'medium': $font-weight-medium,
75
+ 'bold': $font-weight-bold,
76
+ 'black': $font-weight-black,
77
+ 'headings': $headings-font-weight,
71
78
  ) !default;
72
79
 
73
80
  $line-height-base: divide(1.25rem, $font-size-base) !default;
@@ -293,6 +300,12 @@ $border-radius: 4px !default;
293
300
  $border-radius-lg: 8px !default;
294
301
  $border-radius-pill: 100rem !default;
295
302
 
303
+ $border-values: (
304
+ null: var(--#{$prefix}border-width) var(--#{$prefix}border-style) $border-color-translucent,
305
+ wide: $border-width-wide var(--#{$prefix}border-style) $border-color-translucent,
306
+ 0: 0,
307
+ );
308
+
296
309
  // Icons
297
310
  $icon-color: var(--#{$prefix}gray-400) !default;
298
311
 
@@ -331,13 +344,13 @@ $avatar-sizes: (
331
344
  "xs": (
332
345
  size: 1.25rem,
333
346
  font-size: $h6-font-size,
334
- icon-size: 1rem,
347
+ icon-size: .75rem,
335
348
  status-size: .375rem
336
349
  ),
337
350
  "sm": (
338
351
  size: 2rem,
339
352
  font-size: $h5-font-size,
340
- icon-size: 1.25rem,
353
+ icon-size: 1.5rem,
341
354
  status-size: .5rem
342
355
  ),
343
356
  "md": (
@@ -396,7 +409,7 @@ $grid-gutter-width: 1rem !default;
396
409
  $container-variations: (
397
410
  slim: 16rem,
398
411
  tight: 30rem,
399
- narrow: 45rem,
412
+ narrow: 61.875rem,
400
413
  ) !default;
401
414
 
402
415
  // Spacers
@@ -406,9 +419,14 @@ $spacer-2: 0.5rem !default;
406
419
  $spacer-3: 1rem !default;
407
420
  $spacer-4: 1.5rem !default;
408
421
  $spacer-5: 2rem !default;
409
- $spacer-6: 3rem !default;
410
- $spacer-7: 5rem !default;
411
- $spacer-8: 8rem !default;
422
+ $spacer-6: 2.5rem !default;
423
+
424
+ $spacer-7: 3rem !default;
425
+ $spacer-8: 4rem !default;
426
+ $spacer-9: 5rem !default;
427
+ $spacer-10: 6rem !default;
428
+ $spacer-11: 7rem !default;
429
+ $spacer-12: 8rem !default;
412
430
 
413
431
  $spacer: $spacer-3 !default;
414
432
 
@@ -420,11 +438,18 @@ $spacers: (
420
438
  4: $spacer-4,
421
439
  5: $spacer-5,
422
440
  6: $spacer-6,
441
+ ) !default;
442
+
443
+ $spacers-extra: (
423
444
  7: $spacer-7,
424
445
  8: $spacer-8,
446
+ 9: $spacer-9,
447
+ 10: $spacer-10,
448
+ 11: $spacer-11,
449
+ 12: $spacer-12,
425
450
  ) !default;
426
451
 
427
- $negative-spacers: if($enable-negative-margins, negativify-map($spacers), null) !default;
452
+ $negative-spacers: null !default;
428
453
 
429
454
  // Sizes
430
455
  $size-spacers: (
@@ -453,6 +478,8 @@ $aspect-ratios: (
453
478
  "1x2": calc(2 / 1 * 100%),
454
479
  "3x1": calc(1 / 3 * 100%),
455
480
  "1x3": calc(3 / 1 * 100%),
481
+ "4x1": calc(1 / 4 * 100%),
482
+ "1x4": calc(4 / 1 * 100%),
456
483
  "4x3": calc(3 / 4 * 100%),
457
484
  "3x4": calc(4 / 3 * 100%),
458
485
  "16x9": calc(9 / 16 * 100%),
@@ -541,15 +568,20 @@ $badge-bg-color: var(--#{$prefix}bg-surface-secondary) !default;
541
568
  $input-btn-line-height: $line-height-base !default;
542
569
  $input-btn-font-size: $font-size-base !default;
543
570
  $input-btn-font-family: var(--#{$prefix}font-sans-serif) !default;
544
- $input-btn-padding-y: 0.625rem - 0.0625rem !default;
571
+ $input-btn-padding-y: 0.5rem - 0.0625rem !default;
572
+ $input-btn-icon-size: $icon-size !default;
545
573
 
546
574
  $input-btn-font-size-sm: $h5-font-size !default;
547
575
  $input-btn-padding-x-sm: 0.25rem !default;
548
- $input-btn-padding-y-sm: 0.125rem !default;
576
+ $input-btn-padding-y-sm: 0.125rem - 0.0625rem !default;
577
+ $input-btn-line-height-sm: 1rem !default;
578
+ $input-btn-icon-size-sm: 1rem !default;
549
579
 
550
580
  $input-btn-font-size-lg: $h2-font-size !default;
551
- $input-btn-padding-x-lg: 0.75rem !default;
552
- $input-btn-padding-y-lg: 0.5rem !default;
581
+ $input-btn-padding-x-lg: 1.5rem !default;
582
+ $input-btn-padding-y-lg: 0.75rem - 0.0625rem !default;
583
+ $input-btn-line-height-lg: 2rem !default;
584
+ $input-btn-icon-size-lg: 2rem !default;
553
585
 
554
586
  $input-btn-focus-width: 0.25rem !default;
555
587
 
@@ -563,7 +595,10 @@ $input-focus-color: var(--#{$prefix}body-color) !default;
563
595
  $input-box-shadow: var(--#{$prefix}box-shadow-input) !default;
564
596
 
565
597
  // Buttons
566
- $btn-disabled-opacity: 0.4 !default;
598
+ $btn-border-radius-sm: var(--#{$prefix}border-radius-sm) !default;
599
+ $btn-border-radius-lg: var(--#{$prefix}border-radius-lg) !default;
600
+
601
+ $btn-disabled-opacity: .4 !default;
567
602
  $btn-padding-x: 1rem !default;
568
603
  $btn-font-weight: var(--#{$prefix}font-weight-medium) !default;
569
604
  $btn-border-color: var(--#{$prefix}border-color) !default;
@@ -605,8 +640,6 @@ $card-header-tabs-bg: var(--#{$prefix}bg-surface-tertiary) !default;
605
640
  $cards-grid-gap: var(--#{$prefix}page-padding) !default;
606
641
  $cards-grid-breakpoint: lg !default;
607
642
 
608
- $zindex-dropdown: 1;
609
-
610
643
  // Carousel
611
644
  $carousel-control-color: $white !default;
612
645
  $carousel-control-icon-width: 1.5rem !default;
@@ -722,6 +755,7 @@ $nav-tabs-bg: var(--#{$prefix}bg-surface-tertiary) !default;
722
755
  // Navbar
723
756
  $navbar-height: 3.5rem !default;
724
757
  $navbar-padding-y: 0.25rem !default;
758
+ $navbar-light-color: var(--#{$prefix}muted) !default;
725
759
 
726
760
  $navbar-hover-color: $white !default;
727
761
 
@@ -731,8 +765,9 @@ $navbar-border-color: var(--#{$prefix}border-color) !default;
731
765
  $navbar-light-color: var(--#{$prefix}body-color) !default;
732
766
  $navbar-light-brand-color: var(--#{$prefix}body-color) !default;
733
767
  $navbar-light-active-color: var(--#{$prefix}body-color) color !default;
768
+ $navbar-light-hover-color: var(--#{$prefix}body-color) color !default;
734
769
  $navbar-light-disabled-color: var(--#{$prefix}disabled-color) !default;
735
- $navbar-light-active-bg: rgba(0, 0, 0, 0.06) !default;
770
+ $navbar-light-active-bg: rgba(0, 0, 0, 0.2) !default;
736
771
 
737
772
  $navbar-dark-color: rgba($white, $text-secondary-opacity) !default;
738
773
  $navbar-dark-brand-color: $white !default;
@@ -59,4 +59,5 @@
59
59
  to {
60
60
  opacity: 0;
61
61
  }
62
- }
62
+ }
63
+
@@ -82,7 +82,6 @@ Navbar
82
82
  --#{$prefix}navbar-border-width: #{$navbar-border-width};
83
83
  --#{$prefix}navbar-active-border-color: #{$navbar-active-border-color};
84
84
  --#{$prefix}navbar-active-bg: #{$navbar-light-active-bg};
85
- --#{$prefix}navbar-color: var(--#{$prefix}body-color);
86
85
  --#{$prefix}navbar-border-color: #{$navbar-border-color};
87
86
  align-items: stretch;
88
87
  min-height: $navbar-height;
@@ -0,0 +1,67 @@
1
+ //
2
+ // Browser
3
+ //
4
+ .browser {
5
+ border-radius: var(--#{$prefix}border-radius-lg);
6
+ box-shadow: 0 0 0 1px var(--#{$prefix}border-color);
7
+ background: var(--#{$prefix}bg-surface-secondary);
8
+ overflow: hidden;
9
+ }
10
+
11
+ .browser-header {
12
+ padding: .25rem 1rem;
13
+ background: var(--#{$prefix}border-color-light) linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .03));
14
+ border-bottom: 1px solid var(--#{$prefix}border-color);
15
+ border-radius: calc(var(--#{$prefix}border-radius-lg) - 1px) calc(var(--#{$prefix}border-radius-lg) - 1px) 0 0;
16
+ }
17
+
18
+ .browser-dots {
19
+ margin-right: 3rem;
20
+ display: flex;
21
+ }
22
+
23
+ .browser-dots-colored {
24
+ .browser-dot {
25
+ &:nth-child(1) {
26
+ background: #fb6058;
27
+ }
28
+
29
+ &:nth-child(2) {
30
+ background: #fcbe3b;
31
+ }
32
+
33
+ &:nth-child(3) {
34
+ background: #2ccb4c;
35
+ }
36
+ }
37
+ }
38
+
39
+ .browser-dot {
40
+ margin-right: .5rem;
41
+ width: .75rem;
42
+ min-width: .75rem;
43
+ height: .75rem;
44
+ background: var(--#{$prefix}border-color);
45
+ border-radius: 50%;
46
+ border: 1px solid var(--#{$prefix}border-color-dark);
47
+ }
48
+
49
+ .browser-input {
50
+ flex: 1;
51
+ display: flex;
52
+ align-items: center;
53
+ justify-content: center;
54
+ text-decoration: none;
55
+ padding: .25rem;
56
+ color: var(--#{$prefix}muted);
57
+ font-size: var(--#{$prefix}font-size-h5);
58
+ border-radius: var(--#{$prefix}border-radius);
59
+ line-height: 1;
60
+ cursor: pointer;
61
+ box-shadow: 0 0 0 1px rgba(0, 0, 0, .05), 0 1px 2px 0 rgba(0, 0, 0, 0.05);
62
+ background-image: linear-gradient(to bottom, var(--#{$prefix}bg-surface), var(--#{$prefix}bg-surface-secondary));
63
+
64
+ &:hover {
65
+ text-decoration: none;
66
+ }
67
+ }
@@ -0,0 +1,8 @@
1
+ .body-marketing {
2
+ --#{$prefix}body-font-size: 1rem;
3
+ --#{$prefix}body-line-height: 1.75;
4
+ }
5
+
6
+ .body-gradient {
7
+ background: var(--tblr-bg-surface) linear-gradient(to bottom, var(--tblr-bg-surface-secondary) 12%, var(--tblr-bg-surface) 99%) repeat-x top center/100% 100vh;
8
+ }
File without changes
@@ -0,0 +1,69 @@
1
+ //
2
+ // Hero
3
+ //
4
+ .hero {
5
+ text-align: center;
6
+ padding: 6.5rem 0;
7
+ }
8
+
9
+ .hero-title {
10
+ font-size: 3rem;
11
+ font-weight: var(--#{$prefix}font-weight-black);
12
+ letter-spacing: $spacing-tight;
13
+ line-height: $headings-line-height;
14
+
15
+ @include media-breakpoint-down(md) {
16
+ font-size: 2rem;
17
+ }
18
+ }
19
+
20
+ .hero-description {
21
+ color: var(--#{$prefix}muted);
22
+ font-size: var(--#{$prefix}font-size-h2);
23
+ line-height: 1.5;
24
+ margin: 0 auto;
25
+ max-width: 45rem;
26
+
27
+ @include media-breakpoint-down(sm) {
28
+ font-size: var(--#{$prefix}font-size-h3);
29
+ }
30
+ }
31
+
32
+ .hero-description-wide {
33
+ max-width: 61.875rem;
34
+ }
35
+
36
+ //
37
+ // Hero subheader
38
+ //
39
+ .hero-subheader {
40
+ @include subheader;
41
+ margin-bottom: 0.5rem;
42
+ }
43
+
44
+ .hero-img {
45
+ margin: 4rem auto;
46
+ max-width: 65rem;
47
+ border-radius: $border-radius-lg;
48
+ position: relative;
49
+ z-index: 1;
50
+ //box-shadow: 0 10px 15px -3px rgba($color-text, 0.1),
51
+ // 0 4px 6px -2px rgba($color-text, 0.05);
52
+
53
+ img,
54
+ svg {
55
+ max-width: 100%;
56
+ height: auto;
57
+ display: block;
58
+ position: relative;
59
+ }
60
+ }
61
+ //
62
+ //.hero-img-side {
63
+ // img,
64
+ // svg {
65
+ // max-width: 100%;
66
+ // height: auto;
67
+ // display: block;
68
+ // }
69
+ //}