@latte-macchiat-io/latte-vanilla-components 0.0.286 → 0.0.288

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.286",
3
+ "version": "0.0.288",
4
4
  "description": "Beautiful components for amazing projects, with a touch of Vanilla 🥤",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
@@ -1,4 +1,4 @@
1
- import { style } from '@vanilla-extract/css';
1
+ import { globalStyle, style } from '@vanilla-extract/css';
2
2
  import { recipe } from '@vanilla-extract/recipes';
3
3
  import { queries, themeContract } from '../..';
4
4
  import { generateResponsiveMedia } from '../../utils/generateResponsiveMedia';
@@ -123,5 +123,9 @@ export const headerToggleNav = recipe(
123
123
  'header-toggle-nav'
124
124
  );
125
125
 
126
+ globalStyle(`${headerRecipe} a `, {
127
+ color: themeContract.header.linkColor,
128
+ });
129
+
126
130
  export type HeaderToggleNavVariants = Parameters<typeof headerToggleNav>[0];
127
131
  export type HeaderOverlayVariants = Parameters<typeof headerOverlayRecipe>[0];
@@ -41,6 +41,7 @@ const themeHeaderBase = {
41
41
  export const themeHeaderLight = {
42
42
  header: {
43
43
  ...themeHeaderBase.header,
44
+ linkColor: '#FF7377',
44
45
  backgroundColor: '#FF7377',
45
46
  overlayBackgroundColor: 'rgba(0,0,0,0.6)',
46
47
  },
@@ -49,6 +50,7 @@ export const themeHeaderLight = {
49
50
  export const themeHeaderDark = {
50
51
  header: {
51
52
  ...themeHeaderBase.header,
53
+ linkColor: '#FF7377',
52
54
  backgroundColor: '#FF7377',
53
55
  overlayBackgroundColor: 'rgba(0,0,0,0.6)',
54
56
  },
@@ -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
  },
@@ -150,6 +150,7 @@ export const themeContract = createGlobalThemeContract({
150
150
  },
151
151
  header: {
152
152
  fontSize: 'latte-header-fontSize',
153
+ linkColor: 'latte-header-linkColor',
153
154
  backgroundColor: 'latte-header-backgroundColor',
154
155
  overlayBackgroundColor: 'latte-header-overlayBackgroundColor',
155
156
  overlayBackgroundTransition: 'latte-header-overlayBackgroundTransition',