-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(storefront): Add CSS tokens to components (#818)
Co-authored-by: Michael Marszalek <[email protected]>
- Loading branch information
Showing
28 changed files
with
191 additions
and
696 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,24 @@ | ||
.code-snippet { | ||
.codeSnippet { | ||
position: relative; | ||
} | ||
|
||
.code-snippet pre { | ||
/* border-radius: 4px; */ | ||
} | ||
|
||
.code-snippet__icon { | ||
.icon { | ||
position: absolute; | ||
top: 6px; | ||
right: 6px; | ||
color: white; | ||
height: 40px; | ||
width: 40px; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
background-color: #1a1a1a; | ||
border-radius: 4px; | ||
background-color: var(--fds-semantic-text-neutral-default); | ||
color: white; | ||
border-radius: var(--fds-border_radius-medium); | ||
border: none; | ||
transition: 0.15s all; | ||
cursor: pointer; | ||
} | ||
|
||
.code-snippet__icon:hover { | ||
background-color: #464646; | ||
.icon:hover { | ||
background-color: var(--fds-semantic-text-neutral-subtle); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.