@linktr.ee/create-link-app 0.3.0-next.13 → 0.3.0-next.14

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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.3.0-next.13",
2
+ "version": "0.3.0-next.14",
3
3
  "commands": {
4
4
  "build": {
5
5
  "id": "build",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@linktr.ee/create-link-app",
3
- "version": "0.3.0-next.13",
3
+ "version": "0.3.0-next.14",
4
4
  "description": "Create a Link App on Linktr.ee.",
5
5
  "license": "UNLICENSED",
6
6
  "author": "Linktree",
@@ -1,8 +1,8 @@
1
1
  import { SettingsData } from '../types'
2
2
 
3
3
  const baseStyle = {
4
- backgroundColor: 'var(--lt-button-color)',
5
- color: 'var(--lt-primary-color)',
4
+ backgroundColor: 'var(--lt-color-primary)',
5
+ color: 'var(--lt-color-on-primary)',
6
6
  } as React.CSSProperties
7
7
 
8
8
  const Featured = (props: SettingsData) => {
@@ -11,7 +11,7 @@ const Featured = (props: SettingsData) => {
11
11
  className="px-6 pt-12 pb-11 h-full"
12
12
  style={{
13
13
  ...baseStyle,
14
- borderRadius: 'var(--lt-feature-container-radius',
14
+ borderRadius: 'var(--lt-feature-container-radius)',
15
15
  }}
16
16
  >
17
17
  Featured
@@ -25,7 +25,7 @@ const Carousel = (props: SettingsData) => {
25
25
  className="px-4 pt-16 pb-10 h-full"
26
26
  style={{
27
27
  ...baseStyle,
28
- borderRadius: 'var(--lt-carousel-container-radius',
28
+ borderRadius: 'var(--lt-carousel-container-radius)',
29
29
  }}
30
30
  >
31
31
  Carousel
@@ -35,7 +35,7 @@ const Carousel = (props: SettingsData) => {
35
35
 
36
36
  const Grid = (props: SettingsData) => {
37
37
  return (
38
- <div className="px-3 py-10 h-full" style={{ ...baseStyle, borderRadius: 'var(--lt-grid-container-radius' }}>
38
+ <div className="px-3 py-10 h-full" style={{ ...baseStyle, borderRadius: 'var(--lt-grid-container-radius)' }}>
39
39
  Grid
40
40
  </div>
41
41
  )
@@ -43,7 +43,7 @@ const Grid = (props: SettingsData) => {
43
43
 
44
44
  const Stack = (props: SettingsData) => {
45
45
  return (
46
- <div className="flex p-2 h-full gap-2 w-full" style={{ ...baseStyle, borderRadius: 'var(--lt-stack-container-radius' }}>
46
+ <div className="flex p-2 h-full gap-2 w-full" style={{ ...baseStyle, borderRadius: 'var(--lt-stack-container-radius)' }}>
47
47
  <div className="w-16 aspect-square"></div>
48
48
  <h2 className="mr-16">Stack</h2>
49
49
  </div>