Skip to content

Commit

Permalink
[C-2866] Undo secondary button style changes (#3777)
Browse files Browse the repository at this point in the history
  • Loading branch information
schottra committed Jul 20, 2023
1 parent c33d9c2 commit 35f1ea7
Showing 1 changed file with 9 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,13 +187,13 @@
/* Secondary Button */

.secondary {
border: 1px solid var(--neutral-light-5);
border: 1px solid var(--primary-dark-1);
border-radius: 4px;
background: var(--white);
}

.secondary .textLabel {
color: var(--text-default);
color: var(--primary);
font-size: var(--font-l);
font-weight: var(--font-bold);
}
Expand All @@ -210,35 +210,28 @@

.secondary .icon path,
.secondary .icon use {
fill: var(--text-default);
fill: var(--primary);
}

.secondary.includeHoverAnimations:hover:enabled {
transform: var(--grow);
border-color: var(--primary);
border: 1px solid var(--primary-dark-2);
background: var(--primary);
}

.secondary.includeHoverAnimations:hover:enabled .textLabel {
color: var(--primary);
color: var(--primary-secondary-text);
}

.secondary.includeHoverAnimations:hover:enabled .icon path,
.secondary.includeHoverAnimations:hover:enabled .icon use {
fill: var(--primary);
fill: var(--primary-secondary-text);
}

.secondary.includeHoverAnimations:active:enabled {
transform: perspective(1px) scale3d(0.99, 0.99, 0.99);
border-color: var(--primary-dark-2);
}

.secondary.includeHoverAnimations:active:enabled .textLabel {
color: var(--primary-dark-2)
}

.secondary.includeHoverAnimations:active:enabled .icon path,
.secondary.includeHoverAnimations:active:enabled .icon use {
fill: var(--primary-dark-2);
border: 1px solid var(--primary-dark-2);
background: var(--primary-dark-2);
}

/* Tertiary Button */
Expand Down

0 comments on commit 35f1ea7

Please sign in to comment.