@latte-macchiat-io/latte-vanilla-components 0.0.304 → 0.0.305
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,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { style } from '@vanilla-extract/css';
|
2
2
|
import { recipe } from '@vanilla-extract/recipes';
|
3
3
|
|
4
4
|
import { themeContract } from '../../theme/contract.css';
|
@@ -23,12 +23,3 @@ export const navLegalRecipe = recipe(
|
|
23
23
|
);
|
24
24
|
|
25
25
|
export const navLegalLink = style({}, 'nav-social-link');
|
26
|
-
|
27
|
-
globalStyle(`${navLegalLink} svg path`, {
|
28
|
-
transition: themeContract.navLegal.transition,
|
29
|
-
fill: themeContract.navLegal.colors.default,
|
30
|
-
});
|
31
|
-
|
32
|
-
globalStyle(`${navLegalLink}:hover svg path`, {
|
33
|
-
fill: themeContract.navLegal.colors.defaultHover,
|
34
|
-
});
|
@@ -1,6 +1,5 @@
|
|
1
1
|
const themeNavLegalBase = {
|
2
2
|
navLegal: {
|
3
|
-
transition: 'all 0.5s ease-in-out',
|
4
3
|
gap: {
|
5
4
|
mobile: '5px',
|
6
5
|
sm: '5px',
|
@@ -15,19 +14,11 @@ const themeNavLegalBase = {
|
|
15
14
|
export const themeNavLegalLight = {
|
16
15
|
navLegal: {
|
17
16
|
...themeNavLegalBase.navLegal,
|
18
|
-
colors: {
|
19
|
-
default: '#FF7377',
|
20
|
-
defaultHover: '#000000',
|
21
|
-
},
|
22
17
|
},
|
23
18
|
};
|
24
19
|
|
25
20
|
export const themeNavLegalDark = {
|
26
21
|
navLegal: {
|
27
22
|
...themeNavLegalBase.navLegal,
|
28
|
-
colors: {
|
29
|
-
default: '#FF7377',
|
30
|
-
defaultHover: '#000000',
|
31
|
-
},
|
32
23
|
},
|
33
24
|
};
|
@@ -666,11 +666,6 @@ export const themeContract = createGlobalThemeContract({
|
|
666
666
|
},
|
667
667
|
|
668
668
|
navSocial: {
|
669
|
-
transition: 'latte-navSocial-transition',
|
670
|
-
colors: {
|
671
|
-
defaultIcon: 'latte-navSocial-colors-defaultIcon',
|
672
|
-
defaultIconHover: 'latte-navSocial-colors-defaultIconHover',
|
673
|
-
},
|
674
669
|
gap: {
|
675
670
|
mobile: 'latte-navSocial-gap-mobile',
|
676
671
|
sm: 'latte-navSocial-gap-sm',
|