@latte-macchiat-io/latte-vanilla-components 0.0.433 → 0.0.435

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.433",
3
+ "version": "0.0.435",
4
4
  "description": "Beautiful components for amazing projects, with a touch of Vanilla 🥤",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
@@ -33,8 +33,8 @@ export const modalContentRecipe = recipe(
33
33
  left: '50%',
34
34
  display: 'flex',
35
35
  position: 'fixed',
36
+ overflowY: 'auto',
36
37
  flexDirection: 'column',
37
-
38
38
  color: themeContract.colors.text,
39
39
  transform: 'translate(-50%, -50%)',
40
40
  borderRadius: themeContract.modal.borderRadius,
@@ -1,7 +1,6 @@
1
1
  import { globalStyle } from '@vanilla-extract/css';
2
2
  import { recipe, RecipeVariants } from '@vanilla-extract/recipes';
3
3
 
4
- import { queries } from '../../styles/mediaqueries';
5
4
  import { themeContract } from '../../theme/contract.css';
6
5
  import { generateResponsiveMedia } from '../../utils/generateResponsiveMedia';
7
6
 
@@ -46,12 +45,10 @@ globalStyle('p:last-of-type', {
46
45
  });
47
46
 
48
47
  globalStyle('p + ul', {
49
- paddingTop: 15,
50
-
51
48
  '@media': {
52
- [queries.sm]: {
53
- paddingTop: 30,
54
- },
49
+ ...generateResponsiveMedia({
50
+ paddingBottom: themeContract.paragraph.plusList.paddingBottom,
51
+ }),
55
52
  },
56
53
  });
57
54
 
@@ -8,6 +8,14 @@ const themeParagraphBase = {
8
8
  xl: '50px',
9
9
  '2xl': '50px',
10
10
  },
11
+ plusList: {
12
+ mobile: '15px',
13
+ sm: '15px',
14
+ md: '30px',
15
+ lg: '30px',
16
+ xl: '50px',
17
+ '2xl': '50px',
18
+ },
11
19
  },
12
20
  };
13
21
 
@@ -383,6 +383,16 @@ export const themeContract = createGlobalThemeContract({
383
383
  xl: 'latte-paragraph-paddingBottom-xl',
384
384
  '2xl': 'latte-paragraph-paddingBottom-2xl',
385
385
  },
386
+ plusList: {
387
+ paddingBottom: {
388
+ mobile: 'latte-paragraph-plusList-paddingBottom-mobile',
389
+ sm: 'latte-paragraph-plusList-paddingBottom-sm',
390
+ md: 'latte-paragraph-plusList-paddingBottom-md',
391
+ lg: 'latte-paragraph-plusList-paddingBottom-lg',
392
+ xl: 'latte-paragraph-plusList-paddingBottom-xl',
393
+ '2xl': 'latte-paragraph-plusList-paddingBottom-2xl',
394
+ },
395
+ },
386
396
  },
387
397
 
388
398
  logo: {