@latte-macchiat-io/latte-vanilla-components 0.0.209 → 0.0.210

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@latte-macchiat-io/latte-vanilla-components",
3
- "version": "0.0.209",
3
+ "version": "0.0.210",
4
4
  "description": "Beautiful components for amazing projects, with a touch of Vanilla 🥤",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
@@ -23,6 +23,21 @@ export const sectionRecipe = recipe({
23
23
  ],
24
24
 
25
25
  variants: {
26
+ variant: {
27
+ transparent: {
28
+ color: themeContract.section.variant.transparent.color,
29
+ backgroundColor: themeContract.section.variant.transparent.backgroundColor,
30
+ },
31
+ primary: {
32
+ color: themeContract.section.variant.primary.color,
33
+ backgroundColor: themeContract.section.variant.primary.backgroundColor,
34
+ },
35
+ secondary: {
36
+ color: themeContract.section.variant.secondary.color,
37
+ backgroundColor: themeContract.section.variant.secondary.backgroundColor,
38
+ },
39
+ },
40
+
26
41
  align: {
27
42
  left: {
28
43
  textAlign: 'left',
@@ -83,6 +98,7 @@ export const sectionRecipe = recipe({
83
98
  isFullHeight: false,
84
99
  withPaddingTop: true,
85
100
  withPaddingBottom: true,
101
+ variant: 'transparent',
86
102
  },
87
103
  });
88
104
 
@@ -30,11 +30,41 @@ const themeSectionBase = {
30
30
  export const themeSectionLight = {
31
31
  section: {
32
32
  ...themeSectionBase.section,
33
+
34
+ variant: {
35
+ transparent: {
36
+ color: '',
37
+ backgroundColor: '',
38
+ },
39
+ primary: {
40
+ color: '',
41
+ backgroundColor: '',
42
+ },
43
+ secondary: {
44
+ color: '',
45
+ backgroundColor: '',
46
+ },
47
+ },
33
48
  },
34
49
  };
35
50
 
36
51
  export const themeSectionDark = {
37
52
  section: {
38
53
  ...themeSectionBase.section,
54
+
55
+ variant: {
56
+ transparent: {
57
+ color: '',
58
+ backgroundColor: '',
59
+ },
60
+ primary: {
61
+ color: '',
62
+ backgroundColor: '',
63
+ },
64
+ secondary: {
65
+ color: '',
66
+ backgroundColor: '',
67
+ },
68
+ },
39
69
  },
40
70
  };
@@ -112,6 +112,20 @@ export const themeContract = createGlobalThemeContract({
112
112
  },
113
113
 
114
114
  section: {
115
+ variant: {
116
+ transparent: {
117
+ color: 'latte-section-variant-transparent-color',
118
+ backgroundColor: 'latte-section-variant-transparent-backgroundColor',
119
+ },
120
+ primary: {
121
+ color: 'latte-section-variant-primary-color',
122
+ backgroundColor: 'latte-section-variant-primary-backgroundColor',
123
+ },
124
+ secondary: {
125
+ color: 'latte-section-variant-secondary-color',
126
+ backgroundColor: 'latte-section-variant-secondary-backgroundColor',
127
+ },
128
+ },
115
129
  gap: {
116
130
  mobile: 'latte-section-gap-mobile',
117
131
  sm: 'latte-section-gap-sm',