Skip to content

Commit

Permalink
THEMES-1173: header nav | Update button component to match new design (
Browse files Browse the repository at this point in the history
…#1712)

-  Fixes logo hover aplha to 70%
  -  Includes changes for links when hover
  • Loading branch information
GioLopWP authored Aug 3, 2023
1 parent 155a30d commit d66758f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .storybook/themes/news.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1246,7 +1246,6 @@
line-height: var(--body-line-height),
transform: translateZ(0),
min-height: var(--header-nav-chain-height),
// Hardware acceleration performance on height adjustments
justify-content: center,
display: flex,
align-items: center,
Expand Down Expand Up @@ -1403,6 +1402,11 @@
header-nav-chain-links-list-item: (
display: flex,
gap: var(--global-spacing-2),
components: (
link-hover: (
color: var(--global-neutral-3),
),
),
),
header-nav-chain-scrolled-flyout-overlay: (
margin-top: var(--header-nav-chain-height-scrolled),
Expand All @@ -1427,7 +1431,6 @@
width: 100%,
),
header-nav-chain-flyout-overlay-closed: (
// hide vertical overflow when closed
overflow-y: hidden,
width: 0,
),
Expand Down
7 changes: 6 additions & 1 deletion blocks/header-nav-chain-block/themes/news.json
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,12 @@
"styles": {
"default": {
"display": "flex",
"gap": "var(--global-spacing-2)"
"gap": "var(--global-spacing-2)",
"components": {
"link-hover": {
"color": "var(--global-neutral-3)"
}
}
},
"desktop": {}
}
Expand Down

0 comments on commit d66758f

Please sign in to comment.