@hanzo/ui 0.5.10

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 (166) hide show
  1. package/assets/lux-site-icons/android-chrome-192x192.png +0 -0
  2. package/assets/lux-site-icons/android-chrome-512x512.png +0 -0
  3. package/assets/lux-site-icons/apple-touch-icon.png +0 -0
  4. package/assets/lux-site-icons/favicon-16x16.png +0 -0
  5. package/assets/lux-site-icons/favicon-32x32.png +0 -0
  6. package/assets/lux-site-icons/favicon.ico +0 -0
  7. package/assets/standard-docs/LUX-NFT-Terms-and-Conditions.pdf +0 -0
  8. package/assets/standard-docs/LUX-Privacy-Policy.pdf +0 -0
  9. package/blocks/components/accordian-block.tsx +48 -0
  10. package/blocks/components/block-component-props.ts +11 -0
  11. package/blocks/components/bullet-cards-block.tsx +43 -0
  12. package/blocks/components/card-block.tsx +213 -0
  13. package/blocks/components/carte-blanche-block/index.tsx +98 -0
  14. package/blocks/components/content.tsx +70 -0
  15. package/blocks/components/cta-block.tsx +98 -0
  16. package/blocks/components/enh-heading-block.tsx +194 -0
  17. package/blocks/components/grid-block/grid-block-mutator.ts +12 -0
  18. package/blocks/components/grid-block/index.tsx +83 -0
  19. package/blocks/components/grid-block/mutator-registry.ts +10 -0
  20. package/blocks/components/grid-block/table-borders.mutator.ts +47 -0
  21. package/blocks/components/group-block.tsx +83 -0
  22. package/blocks/components/heading-block.tsx +88 -0
  23. package/blocks/components/image-block.tsx +108 -0
  24. package/blocks/components/index.ts +30 -0
  25. package/blocks/components/screenful-block/content.tsx +115 -0
  26. package/blocks/components/screenful-block/index.tsx +77 -0
  27. package/blocks/components/screenful-block/poster-background.tsx +34 -0
  28. package/blocks/components/screenful-block/video-background.tsx +45 -0
  29. package/blocks/components/space-block.tsx +66 -0
  30. package/blocks/components/video-block.tsx +137 -0
  31. package/blocks/def/accordian-block.ts +14 -0
  32. package/blocks/def/block.ts +7 -0
  33. package/blocks/def/bullet-cards-block.ts +20 -0
  34. package/blocks/def/card-block.ts +24 -0
  35. package/blocks/def/carte-blanche-block.ts +20 -0
  36. package/blocks/def/cta-block.ts +19 -0
  37. package/blocks/def/element-block.ts +11 -0
  38. package/blocks/def/enh-heading-block.ts +45 -0
  39. package/blocks/def/grid-block.ts +16 -0
  40. package/blocks/def/group-block.ts +11 -0
  41. package/blocks/def/heading-block.ts +15 -0
  42. package/blocks/def/image-block.ts +36 -0
  43. package/blocks/def/index.ts +35 -0
  44. package/blocks/def/screenful-block.ts +51 -0
  45. package/blocks/def/space-block.ts +64 -0
  46. package/blocks/def/video-block.ts +28 -0
  47. package/blocks/index.ts +2 -0
  48. package/common/chat-widget.tsx +75 -0
  49. package/common/contact-dialog/contact-form.tsx +111 -0
  50. package/common/contact-dialog/disclaimer.tsx +13 -0
  51. package/common/contact-dialog/index.tsx +48 -0
  52. package/common/copyright.tsx +21 -0
  53. package/common/drawer-menu.tsx +51 -0
  54. package/common/footer.tsx +77 -0
  55. package/common/head-metadata/from-next/metadata-types.ts +158 -0
  56. package/common/head-metadata/from-next/opengraph-types.ts +267 -0
  57. package/common/head-metadata/from-next/twitter-types.ts +92 -0
  58. package/common/head-metadata/index.tsx +208 -0
  59. package/common/header/index.tsx +57 -0
  60. package/common/header/mobile-nav.tsx +72 -0
  61. package/common/header/theme-toggle.tsx +26 -0
  62. package/common/icons/github.tsx +14 -0
  63. package/common/icons/index.tsx +34 -0
  64. package/common/icons/lux-logo.tsx +10 -0
  65. package/common/icons/secure-delivery.tsx +13 -0
  66. package/common/icons/social-icon.tsx +35 -0
  67. package/common/icons/youtube-logo.tsx +59 -0
  68. package/common/index.ts +14 -0
  69. package/common/logo.tsx +71 -0
  70. package/common/mini-chart/index.tsx +8 -0
  71. package/common/mini-chart/mini-chart-props.ts +44 -0
  72. package/common/mini-chart/mini-chart.tsx +76 -0
  73. package/common/mini-chart/wrapper.tsx +23 -0
  74. package/context-providers/index.ts +1 -0
  75. package/context-providers/theme-provider.tsx +20 -0
  76. package/next/README.md +11 -0
  77. package/next/determine-device-middleware.ts +16 -0
  78. package/next/fonts/DrukTextWide-Bold-Trial.otf +0 -0
  79. package/next/fonts/DrukTextWide-Heavy-Trial.otf +0 -0
  80. package/next/fonts/DrukTextWide-Medium-Trial.otf +0 -0
  81. package/next/get-app-router-font-classes.ts +12 -0
  82. package/next/load-and-return-lux-next-fonts-on-import.ts +68 -0
  83. package/next/next-font-desc.ts +28 -0
  84. package/next/not-found-content.mdx +4 -0
  85. package/next/not-found.tsx +23 -0
  86. package/next/pages-router-font-vars.tsx +18 -0
  87. package/next/root-layout.tsx +53 -0
  88. package/package.json +105 -0
  89. package/primitives/accordion.tsx +61 -0
  90. package/primitives/action-button.tsx +46 -0
  91. package/primitives/apply-typography.tsx +55 -0
  92. package/primitives/avatar.tsx +49 -0
  93. package/primitives/badge.tsx +36 -0
  94. package/primitives/button.tsx +73 -0
  95. package/primitives/calendar.tsx +72 -0
  96. package/primitives/card.tsx +83 -0
  97. package/primitives/checkbox.tsx +32 -0
  98. package/primitives/command.tsx +155 -0
  99. package/primitives/dialog-video-controller.tsx +38 -0
  100. package/primitives/dialog.tsx +152 -0
  101. package/primitives/form.tsx +179 -0
  102. package/primitives/index.ts +144 -0
  103. package/primitives/inline-icon.tsx +37 -0
  104. package/primitives/input.tsx +30 -0
  105. package/primitives/label.tsx +28 -0
  106. package/primitives/link-element.tsx +104 -0
  107. package/primitives/main.tsx +17 -0
  108. package/primitives/mdx-link.tsx +22 -0
  109. package/primitives/nav-items.tsx +48 -0
  110. package/primitives/popover.tsx +35 -0
  111. package/primitives/progress.tsx +27 -0
  112. package/primitives/scroll-area.tsx +47 -0
  113. package/primitives/select.tsx +169 -0
  114. package/primitives/separator.tsx +29 -0
  115. package/primitives/sheet.tsx +175 -0
  116. package/primitives/skeleton.tsx +15 -0
  117. package/primitives/switch.tsx +33 -0
  118. package/primitives/table.tsx +117 -0
  119. package/primitives/tabs.tsx +60 -0
  120. package/primitives/tailwind-indicator.tsx +19 -0
  121. package/primitives/text-area.tsx +26 -0
  122. package/primitives/toast.tsx +129 -0
  123. package/primitives/toaster.tsx +37 -0
  124. package/primitives/use-toast.ts +192 -0
  125. package/primitives/video-player.tsx +26 -0
  126. package/primitives/youtube-embed.tsx +83 -0
  127. package/siteDef/footer/community.tsx +67 -0
  128. package/siteDef/footer/company.ts +37 -0
  129. package/siteDef/footer/ecosystem.ts +37 -0
  130. package/siteDef/footer/index.tsx +26 -0
  131. package/siteDef/footer/legal.ts +28 -0
  132. package/siteDef/footer/network.ts +33 -0
  133. package/siteDef/footer/svg/warpcast-logo.svg +12 -0
  134. package/siteDef/main-nav.ts +35 -0
  135. package/style/globals.css +13 -0
  136. package/style/hanzo-common.css +32 -0
  137. package/style/hanzo-default-colors.css +79 -0
  138. package/style/social-svg.css +3 -0
  139. package/tailwind/colors.tailwind.js +46 -0
  140. package/tailwind/fonts.tailwind.ts +31 -0
  141. package/tailwind/index.ts +18 -0
  142. package/tailwind/lux-tw-fonts.ts +32 -0
  143. package/tailwind/safelist.tailwind.js +26 -0
  144. package/tailwind/screens.tailwind.js +8 -0
  145. package/tailwind/spacing.tailwind.js +57 -0
  146. package/tailwind/tailwind.config.base.js +905 -0
  147. package/tailwind/tw-font-desc.ts +15 -0
  148. package/tailwind/typo-plugin/get-plugin-styles.js +676 -0
  149. package/tailwind/typo-plugin/index.d.ts +9 -0
  150. package/tailwind/typo-plugin/index.js +141 -0
  151. package/tailwind/typo-plugin/utils.js +60 -0
  152. package/tailwind/typography-test.mdx +36 -0
  153. package/types/breakpoints.ts +11 -0
  154. package/types/bullet-item.ts +10 -0
  155. package/types/button-def.ts +39 -0
  156. package/types/contact-info.ts +11 -0
  157. package/types/dimensions.ts +20 -0
  158. package/types/grid-def.ts +37 -0
  159. package/types/icon.ts +10 -0
  160. package/types/image-def.ts +28 -0
  161. package/types/index.ts +29 -0
  162. package/types/link-def.ts +59 -0
  163. package/types/site-def.ts +31 -0
  164. package/types/t-shirt-size.ts +5 -0
  165. package/util/index.ts +76 -0
  166. package/util/specifier.ts +43 -0
@@ -0,0 +1,12 @@
1
+ <svg viewBox="0 0 1260 1260" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0_1_2)">
3
+ <!-- path d="M947.747 1259.61H311.861C139.901 1259.61 0 1119.72 0 947.752V311.871C0 139.907 139.901 0.00541362 311.861 0.00541362H947.747C1119.71 0.00541362 1259.61 139.907 1259.61 311.871V947.752C1259.61 1119.72 1119.71 1259.61 947.747 1259.61Z" fill="#472A91"></path -->
4
+ <path d="M826.513 398.633L764.404 631.889L702.093 398.633H558.697L495.789 633.607L433.087 398.633H269.764L421.528 914.36H562.431L629.807 674.876L697.181 914.36H838.388L989.819 398.633H826.513Z" fill="currentColor">
5
+ </path>
6
+ </g>
7
+ <defs>
8
+ <clipPath id="clip0_1_2">
9
+ <rect width="1259.61" height="1259.61" fill="white"></rect>
10
+ </clipPath>
11
+ </defs>
12
+ </svg>
@@ -0,0 +1,35 @@
1
+ import type { LinkDef } from '../types'
2
+
3
+ export default [
4
+ {
5
+ title: "AI",
6
+ href: "https://lux.chat",
7
+ newTab: false,
8
+ },
9
+ {
10
+ title: "Credit",
11
+ href: "https://lux.credit",
12
+ newTab: false,
13
+ },
14
+ {
15
+ title: "Finance",
16
+ href: "https://lux.finance",
17
+ newTab: false,
18
+ },
19
+ {
20
+ title: "Market",
21
+ href: "https://lux.market",
22
+ newTab: false,
23
+ },
24
+ {
25
+ title: "Network",
26
+ href: "https://lux.network",
27
+ newTab: false,
28
+ },
29
+ {
30
+ title: "Exchange",
31
+ href: "https://lux.exchange",
32
+ newTab: false,
33
+ },
34
+ ] satisfies LinkDef[]
35
+
@@ -0,0 +1,13 @@
1
+ /* Note, preflight is applied first:
2
+ https://unpkg.com/tailwindcss@3.3.5/src/css/preflight.css
3
+ */
4
+ @import "tailwindcss/base";
5
+
6
+ /* see https://stackoverflow.com/questions/69746121/using-nextjs-how-can-you-import-in-css-using-tailwind-css */
7
+ @import "hanzo-common-layer";
8
+ @import "hanzo-default-colors";
9
+
10
+ @import "tailwindcss/components";
11
+ @import "tailwindcss/utilities";
12
+
13
+
@@ -0,0 +1,32 @@
1
+ @tailwind base;
2
+ /* see https://stackoverflow.com/questions/69746121/using-nextjs-how-can-you-import-in-css-using-tailwind-css */
3
+
4
+ @layer base {
5
+
6
+ * {
7
+ @apply border-muted-3;
8
+ box-sizing: inherit;
9
+ }
10
+
11
+ /*
12
+ using this approach:
13
+ https://stackoverflow.com/a/76066443/11645689
14
+ see src/app/(home)/scroll-snap
15
+ */
16
+
17
+ html {
18
+ scroll-snap-type: y mandatory;
19
+ height: 100vh;
20
+
21
+ overflow-y: scroll;
22
+ box-sizing: border-box;
23
+
24
+ scrollbar-width: none;
25
+ }
26
+
27
+ body {
28
+ font-feature-settings: "rlig" 1, "calt" 1;
29
+ font-size: 16px;
30
+ letter-spacing: 0.15px;
31
+ }
32
+ }
@@ -0,0 +1,79 @@
1
+ @tailwind base;
2
+ /* see https://stackoverflow.com/questions/69746121/using-nextjs-how-can-you-import-in-css-using-tailwind-css */
3
+
4
+ @layer base {
5
+
6
+ :root, .lux-light-theme {
7
+ --hz-ui-fg-0: hsl(0 0% 0%);
8
+ --hz-ui-fg-body: hsl(0 0% 10%);
9
+ --hz-ui-fg-1: hsl(0 0% 20%);
10
+ --hz-ui-fg-2: hsl(0 0% 35%);
11
+ --hz-ui-fg-3: hsl(0 0% 50%);
12
+ --hz-ui-fg-4: hsl(0 0% 70%);
13
+ --hz-ui-fg-5: hsl(0 0% 90%);
14
+
15
+ --hz-ui-bg-0: hsl(0 0% 100%);
16
+ --hz-ui-bg-1: hsl(0 0% 90%);
17
+ --hz-ui-bg-2: hsl(0 0% 75%);
18
+ --hz-ui-bg-3: hsl(0 0% 55%);
19
+
20
+ --hz-ui-bg-inverted: var(--hz-ui-fg-0);
21
+ --hz-ui-bg-inverted-hover: hsla(0, 0%, 0%, 0.85);
22
+
23
+ --hz-ui-fg-inverted: var(--hz-ui-bg-0);
24
+
25
+ --hz-ui-secondary-0: hsl(266, 79%, 80%);
26
+ --hz-ui-secondary-1: hsl(266, 79%, 70%);
27
+ --hz-ui-secondary-2: hsl(266, 79%, 60%);
28
+ --hz-ui-secondary-3: hsl(266, 79%, 50%);
29
+
30
+ --hz-ui-primary: var(--hz-ui-bg-inverted);
31
+ --hz-ui-primary-hover: var(--hz-ui-bg-inverted-hover);
32
+ --hz-ui-primary-fg: var(--hz-ui-fg-inverted);
33
+
34
+ --hz-ui-secondary: var(--hz-ui-secondary-0);
35
+ --hz-ui-secondary-hover: var(--hz-ui-secondary-2);
36
+ --hz-ui-secondary-fg: var(--hz-ui-fg-0);
37
+
38
+ --hz-ui-nav: var(--hz-ui-fg-4);
39
+ --hz-ui-nav-current: var(--hz-ui-fg-0);
40
+ --hz-ui-nav-hover: var(--hz-ui-fg-0);
41
+
42
+ --hz-ui-destructive: hsl(0 62.8% 45%);
43
+ --hz-ui-destructive-hover: hsl(0 62.8% 25%);
44
+ --hz-ui-destructive-fg: hsl(0 0% 100%);
45
+
46
+ --hz-ui-input: var(--hz-ui-bg-1);
47
+ --hz-ui-ring: var(--hz-ui-fg-1);
48
+
49
+ --hz-ui-radius: 0.5rem;
50
+ }
51
+
52
+ .lux-dark-theme {
53
+
54
+ --hz-ui-fg-0: hsl(0 0% 100%);
55
+ --hz-ui-fg-body: hsl(0, 0%, 97%);
56
+ --hz-ui-fg-1: hsl(0 0% 85%);
57
+ --hz-ui-fg-2: hsl(0 0% 70%);
58
+ --hz-ui-fg-3: hsl(0 0% 55%);
59
+ --hz-ui-fg-4: hsl(0 0% 40%);
60
+ --hz-ui-fg-5: hsl(0 0% 25%);
61
+
62
+ --hz-ui-bg-inverted: var(--hz-ui-fg-0);
63
+ --hz-ui-bg-inverted-hover: hsla(0, 0%, 100%, 0.85);
64
+
65
+ --hz-ui-bg-3: hsl(0 0% 25%);
66
+ --hz-ui-bg-2: hsl(0 0% 18%);
67
+ --hz-ui-bg-1: hsl(0 0% 12%);
68
+ --hz-ui-bg-0: hsl(0 0% 0%);
69
+
70
+ --hz-ui-fg-inverted: var(--hz-ui-bg-0);
71
+
72
+ --hz-ui-secondary-0: hsl(266, 79%, 40%);
73
+ --hz-ui-secondary-1: hsl(266, 79%, 50%);
74
+ --hz-ui-secondary-2: hsl(266, 79%, 60%);
75
+ --hz-ui-secondary-3: hsl(266, 79%, 70%);
76
+ }
77
+
78
+ }
79
+
@@ -0,0 +1,3 @@
1
+ .social-icon svg {
2
+ transform: scale(1.25);
3
+ }
@@ -0,0 +1,46 @@
1
+ export default ({ colors }) => ({
2
+ inherit: colors.inherit,
3
+ current: colors.current,
4
+ transparent: colors.transparent,
5
+ input: "var(--hz-ui-input)",
6
+ ring: "var(--hz-ui-ring)",
7
+ background: 'var(--hz-ui-bg-0)',
8
+ // levels forward in z-index (a la Material Design)
9
+ level: {
10
+ DEFAULT: "var(--hz-ui-bg-0)",
11
+ '0': "var(--hz-ui-bg-0)",
12
+ '1': "var(--hz-ui-bg-1)",
13
+ '2': "var(--hz-ui-bg-2)",
14
+ '3': "var(--hz-ui-bg-3)",
15
+ },
16
+ accent: "var(--hz-ui-fg-0)", // full contrast (darkTheme:white) : heading and links hover
17
+ foreground: "var(--hz-ui-fg-body)", // body text off-white (bright enough to contrast to bg-level-1)
18
+ muted: {
19
+ DEFAULT: "var(--hz-ui-fg-2)", // de-emphasized: fine print
20
+ '1': "var(--hz-ui-fg-2)", // synonymous ^^^
21
+ '2': "var(--hz-ui-fg-3)", // disabled or very de-emphasized
22
+ '3': "var(--hz-ui-fg-4)", // very disabled ;)
23
+ '4': "var(--hz-ui-fg-5)", // disabled border
24
+ },
25
+ primary: {
26
+ DEFAULT: "var(--hz-ui-primary)",
27
+ lux: "var(--hz-ui-primary)", // in case there are two configs
28
+ hover: "var(--hz-ui-primary-hover)",
29
+ fg: "var(--hz-ui-primary-fg)",
30
+ },
31
+ secondary: {
32
+ DEFAULT: "var(--hz-ui-secondary)",
33
+ lux: "var(--hz-ui-secondary)", // in case there are two configs
34
+ hover: "var(--hz-ui-secondary-hover)",
35
+ fg: "var(--hz-ui-secondary-fg)",
36
+ },
37
+ destructive: {
38
+ DEFAULT: "var(--hz-ui-destructive)",
39
+ fg: "var(--hz-ui-destructive-fg)",
40
+ },
41
+ nav: {
42
+ DEFAULT: "var(--hz-ui-nav)",
43
+ hover: "var(--hz-ui-nav-hover)",
44
+ current: "var(--hz-ui-nav-current)",
45
+ },
46
+ })
@@ -0,0 +1,31 @@
1
+ import luxTwFonts from './lux-tw-fonts'
2
+ import type TwFontDesc from './tw-font-desc'
3
+
4
+ export const fontFamily = (ignoreTheme: any): {
5
+ [key: string]: string[]
6
+ } => {
7
+
8
+ let result: any = {}
9
+ luxTwFonts.forEach((font: TwFontDesc) => {
10
+ result[font.twName] = font.fontFamily
11
+ // eg: heading: ['var(--font-druk-text-wide)']
12
+ })
13
+
14
+ return result as {
15
+ [key: string]: string[]
16
+ }
17
+ }
18
+
19
+ export const fontSize = {
20
+ xxs: ['0.7rem', { lineHeight: '0.9rem' }], // very fine print
21
+ xs: ['0.8rem', { lineHeight: '1rem' }], // fine print
22
+ sm: ['0.9rem', { lineHeight: '1.2rem' }], // 'standard' some news article cards (set manually when using typography-sm)
23
+ base: ['1rem', { lineHeight: 1.4 }],
24
+ lg: ['1.125rem', { lineHeight: '1.75rem' }],
25
+ xl: ['1.25rem', { lineHeight: '1.75rem' }],
26
+ '2xl': ['1.5rem', { lineHeight: '2rem' }],
27
+ '3xl': ['1.875rem', { lineHeight: '2.25rem' }],
28
+ '4xl': ['2.25rem', { lineHeight: '2.5rem' }],
29
+ '5xl': ['3rem', { lineHeight: '1' }],
30
+ '6xl': ['3.75rem', { lineHeight: '1' }],
31
+ }
@@ -0,0 +1,18 @@
1
+ import colors from './colors.tailwind'
2
+ import { fontFamily, fontSize } from './fonts.tailwind'
3
+ import safelist from './safelist.tailwind'
4
+ import screens from './screens.tailwind'
5
+ import spacing from './spacing.tailwind'
6
+ import typographyPlugin from './typo-plugin'
7
+ import config from './tailwind.config.base'
8
+
9
+ export {
10
+ colors,
11
+ config,
12
+ fontFamily,
13
+ fontSize,
14
+ safelist,
15
+ screens,
16
+ spacing,
17
+ typographyPlugin
18
+ }
@@ -0,0 +1,32 @@
1
+ import type TwFontDesc from './tw-font-desc'
2
+
3
+ export default [
4
+ {
5
+ fontFamily: ['var(--font-inter)'], // do not provide fall-backs due to next bug
6
+ cssVar: '--font-inter',
7
+ twName: 'sans'
8
+ },
9
+ {
10
+ fontFamily: ['var(--font-druk-text-wide)'], // do not provide fall-backs due to next bug
11
+ cssVar: '--font-druk-text-wide',
12
+ twName: 'heading'
13
+ },
14
+ {
15
+ twName: 'serif',
16
+ fontFamily: ['ui-serif', 'Georgia', 'Cambria', '"Times New Roman"', 'Times']
17
+ },
18
+ {
19
+ twName: 'mono',
20
+ fontFamily: [
21
+ 'ui-monospace',
22
+ 'SFMono-Regular',
23
+ 'Menlo',
24
+ 'Monaco',
25
+ 'Consolas',
26
+ '"Liberation Mono"',
27
+ '"Courier New"',
28
+ 'monospace',
29
+ ]
30
+ }
31
+
32
+ ] as TwFontDesc[]
@@ -0,0 +1,26 @@
1
+ // https://tailwindcss.com/docs/content-configuration#dynamic-class-names
2
+ // https://tailwindcss.com/docs/content-configuration#safelisting-classes
3
+ export default [
4
+
5
+ 'font-sans',
6
+ {
7
+ pattern: /grid-cols-[1-6]/,
8
+ variants: [ 'xs', 'sm', 'md', 'lg', 'xl', '2xl' ]
9
+ },
10
+ { // SpaceBlock
11
+ pattern: /h-([0-9]|[1-3][0-9]|40)/,
12
+ variants: [ 'xs', 'sm', 'md', 'lg', 'xl', '2xl' ]
13
+ },
14
+ {
15
+ pattern: /order-[0-6]/
16
+ },
17
+ { // EnhHeadingBlock
18
+ pattern: /mb-([1-9]|1[0-2])/
19
+ },
20
+ 'md:text-left', // EnhHeadingBlock
21
+ 'md:text-center',
22
+ 'md:text-right',
23
+ 'md:self-start',
24
+ 'md:self-center',
25
+ 'md:self-end',
26
+ ]
@@ -0,0 +1,8 @@
1
+ export default {
2
+ xs: '0px', // <-- phone
3
+ sm: '480px', // phone --><-- sm tablets / narrow
4
+ md: '768px', // sm tablets / narrow -->
5
+ lg: '1024px',
6
+ xl: '1280px',
7
+ '2xl': '1500px', // to match other sites
8
+ }
@@ -0,0 +1,57 @@
1
+ export default {
2
+ px: '1px',
3
+ 0: '0px',
4
+ 0.5: '0.125rem',
5
+ 1: '0.25rem',
6
+ 1.5: '0.375rem',
7
+ 2: '0.5rem',
8
+ 2.5: '0.625rem',
9
+ 3: '0.75rem',
10
+ 3.5: '0.875rem',
11
+ 4: '1rem',
12
+ 5: '1.25rem',
13
+ 6: '1.5rem',
14
+ 7: '1.75rem',
15
+ 8: '2rem',
16
+ 9: '2.25rem',
17
+ 10: '2.5rem',
18
+ 11: '2.75rem',
19
+ 12: '3rem',
20
+ 13: '3.25rem',
21
+ 14: '3.5rem',
22
+ 15: '3.75rem',
23
+ 16: '4rem',
24
+ 17: '4.25rem',
25
+ 18: '4.5rem',
26
+ 19: '4.75rem',
27
+ 20: '5rem',
28
+ 21: '5.25rem',
29
+ 22: '5.5rem',
30
+ 23: '5.75rem',
31
+ 24: '6rem',
32
+ 25: '5.25rem',
33
+ 26: '5.5rem',
34
+ 27: '5.75rem',
35
+ 28: '7rem',
36
+ 29: '7.25rem',
37
+ 30: '7.5rem',
38
+ 31: '7.75rem',
39
+ 32: '8rem',
40
+ 33: '8.25rem',
41
+ 34: '8.5rem',
42
+ 35: '8.75rem',
43
+ 36: '9rem',
44
+ 37: '9.25rem',
45
+ 38: '9.5rem',
46
+ 39: '9.75rem',
47
+ 40: '10rem',
48
+ 44: '11rem',
49
+ 48: '12rem',
50
+ 52: '13rem',
51
+ 56: '14rem',
52
+ 60: '15rem',
53
+ 64: '16rem',
54
+ 72: '18rem',
55
+ 80: '20rem',
56
+ 96: '24rem',
57
+ }