@latte-macchiat-io/latte-vanilla-components 0.0.488 → 0.0.490

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.488",
3
+ "version": "0.0.490",
4
4
  "description": "Beautiful components for amazing projects, with a touch of Vanilla 🥤",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
@@ -54,8 +54,8 @@ globalStyle(`${collapseExpandItemOpen} .${collapseExpandTitleIcon}`, {
54
54
  });
55
55
 
56
56
  globalStyle(`${collapseExpandItemTitle} > h3`, {
57
- fontWeight: 400,
58
57
  paddingBottom: 0,
58
+ fontWeight: themeContract.expandCollapse.item.title.fontWeight,
59
59
  });
60
60
 
61
61
  export const collapseExpandContent = style({
@@ -66,6 +66,7 @@ const themeExpandCollapseBase = {
66
66
  },
67
67
 
68
68
  title: {
69
+ fontWeight: '500',
69
70
  gap: {
70
71
  mobile: '15px',
71
72
  sm: '15px',
@@ -108,7 +109,6 @@ const themeExpandCollapseBase = {
108
109
  },
109
110
 
110
111
  icon: {
111
- size: '30px',
112
112
  marginTop: {
113
113
  mobile: '15px',
114
114
  sm: '15px',
@@ -1337,6 +1337,7 @@ export const themeContract = createGlobalThemeContract({
1337
1337
  },
1338
1338
 
1339
1339
  title: {
1340
+ fontWeight: 'latte-expandCollapse-item-title-fontWeight',
1340
1341
  gap: {
1341
1342
  mobile: 'latte-expandCollapse-item-title-gap-mobile',
1342
1343
  sm: 'latte-expandCollapse-item-title-gap-sm',
@@ -1379,7 +1380,6 @@ export const themeContract = createGlobalThemeContract({
1379
1380
  },
1380
1381
 
1381
1382
  icon: {
1382
- size: 'latte-expandCollapse-item-title-icon-size',
1383
1383
  color: 'latte-expandCollapse-item-title-icon-color',
1384
1384
  marginTop: {
1385
1385
  mobile: 'latte-expandCollapse-item-title-icon-marginTop-mobile',