@latte-macchiat-io/latte-vanilla-components 0.0.285 → 0.0.287
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
@@ -19,10 +19,8 @@ export const sectionRecipe = recipe(
|
|
19
19
|
|
20
20
|
'@media': {
|
21
21
|
...generateResponsiveMedia({
|
22
|
-
paddingTop: themeContract.section.paddingTop,
|
23
22
|
paddingLeft: themeContract.global.paddingLeft,
|
24
23
|
paddingRight: themeContract.global.paddingRight,
|
25
|
-
paddingBottom: themeContract.section.paddingBottom,
|
26
24
|
}),
|
27
25
|
},
|
28
26
|
},
|
@@ -80,22 +78,24 @@ export const sectionRecipe = recipe(
|
|
80
78
|
true: {},
|
81
79
|
},
|
82
80
|
withPaddingTop: {
|
83
|
-
|
81
|
+
true: {
|
84
82
|
'@media': {
|
85
83
|
...generateResponsiveMedia({
|
86
|
-
paddingTop:
|
84
|
+
paddingTop: themeContract.section.paddingTop,
|
87
85
|
}),
|
88
86
|
},
|
89
87
|
},
|
88
|
+
false: { paddingTop: 'none' },
|
90
89
|
},
|
91
90
|
withPaddingBottom: {
|
92
|
-
|
91
|
+
true: {
|
93
92
|
'@media': {
|
94
93
|
...generateResponsiveMedia({
|
95
|
-
paddingBottom:
|
94
|
+
paddingBottom: themeContract.section.paddingBottom,
|
96
95
|
}),
|
97
96
|
},
|
98
97
|
},
|
98
|
+
false: { paddingBottom: 'none' },
|
99
99
|
},
|
100
100
|
},
|
101
101
|
|
@@ -117,6 +117,8 @@ export const sectionRecipe = recipe(
|
|
117
117
|
isDark: false,
|
118
118
|
isFullHeight: false,
|
119
119
|
isHeaderFixed: false,
|
120
|
+
withPaddingTop: true,
|
121
|
+
withPaddingBottom: true,
|
120
122
|
variant: 'transparent',
|
121
123
|
},
|
122
124
|
},
|