@luxfi/core 4.3.12 → 4.3.14

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,15 +1,15 @@
1
- import { Inter } from 'next/font/google'
1
+ // import { Inter } from 'next/font/google'
2
2
  import localFont from 'next/font/local'
3
3
 
4
4
  import type { TwFontDesc } from '@hanzo/ui/tailwind' // TODO
5
5
  import type NextFontDesc from './next-font-desc'
6
6
 
7
- import twFonts from '../../tailwind/lux-tw-fonts'
7
+ import twFonts from '../../tailwind/lux-tw-fonts'
8
8
 
9
9
  /*
10
- Creating NextFontDesc's and TwFontDesc's has to be seperated because they are needed
11
- at different times during the next compile / build. Otherwise a nasty
12
- race condition happens!
10
+ Creating NextFontDesc's and TwFontDesc's has to be seperated because they are needed
11
+ at different times during the next compile / build. Otherwise a nasty
12
+ race condition happens!
13
13
 
14
14
  Also, requires that "Font loaders must be called and assigned to a const in the module scope"
15
15
 
@@ -29,14 +29,21 @@ const drukWide = localFont({
29
29
  },
30
30
  ],
31
31
  display: 'swap',
32
- variable: '--font-druk-wide' ,
32
+ variable: '--font-druk-wide',
33
33
  })
34
34
 
35
- const inter = Inter({
36
- subsets: ["latin"],
37
- variable: "--font-inter",
35
+ const inter = localFont({
36
+ src: './local/GeistVF.ttf',
37
+ display: 'swap',
38
+ variable: '--font-inter',
38
39
  })
39
-
40
+
41
+ //const inter = localFont({
42
+ // src: './local/InterVariable.ttf',
43
+ // display: 'swap',
44
+ // variable: '--font-inter',
45
+ //})
46
+
40
47
  export default [
41
48
  {
42
49
  font: inter,
@@ -49,7 +56,7 @@ export default [
49
56
  {
50
57
  font: drukWide,
51
58
  twName: 'heading'
52
- }
59
+ }
53
60
  ].map (
54
61
  (el) => {
55
62
  const twFont: TwFontDesc | undefined = twFonts.find((twf: TwFontDesc) => (el.twName === twf.twName))
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luxfi/core",
3
- "version": "4.3.12",
3
+ "version": "4.3.14",
4
4
  "description": "Library that contains shared UI primitives, support for a common design system, and other boilerplate support.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",
@@ -39,8 +39,8 @@
39
39
  "./conf": "./conf/index.ts"
40
40
  },
41
41
  "dependencies": {
42
- "@hanzo/auth": "2.3.5",
43
- "@hanzo/commerce": "6.3.2",
42
+ "@hanzo/auth": "2.3.6",
43
+ "@hanzo/commerce": "6.3.3",
44
44
  "@hanzo/ui": "3.6.3",
45
45
  "@next/third-parties": "^14.1.0",
46
46
  "embla-carousel-autoplay": "^8.0.1",