Skip to content

Commit

Permalink
Card token refinement
Browse files Browse the repository at this point in the history
  • Loading branch information
taysea committed Apr 19, 2024
1 parent 2a67b4f commit df643a0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions sandbox/native-web/css/components.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ div {
flex-direction: column;
align-items: stretch;
}

/* */
/* Button */
button {
--button-backgroundColor: transparent;
Expand Down Expand Up @@ -82,16 +82,17 @@ button.active {

/* Card */
.card {
--card-elevation: var(--elevation-small);
background-color: var(--color-background-front);
border-radius: var(--radius-large);
box-shadow: var(--elevation-small);
box-shadow: var(--card-elevation);
padding: var(--spacing-medium);
transition: box-shadow var(--motion-duration-short-3)
var(--motion-easing-simple-default);
}

.card.interactive:hover {
box-shadow: var(--elevation-medium);
--card-elevation: var(--elevation-medium);
cursor: pointer;
}

Expand Down

0 comments on commit df643a0

Please sign in to comment.