Skip to content

Commit

Permalink
Merge pull request #1010 from SwedbankPay/feature/pfe-1827-update-but…
Browse files Browse the repository at this point in the history
…tons-dg

Feature/pfe 1827 update buttons dg
  • Loading branch information
goldenraphti authored Oct 30, 2024
2 parents 0599973 + 1dc013e commit a70c635
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 5 deletions.
26 changes: 21 additions & 5 deletions src/less/components/payex/button.less
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
@import "../button.less";

&.btn {
font-family: var(--brand-default);
.btn {
font-family: var(--brand-default-buttons);

&:active {
border: 3px solid var(--brand-secondary);
}

&.btn-primary {
&:active {
border: @brand-primary;
box-shadow: none;
}

Expand All @@ -27,16 +30,29 @@
}

&.btn-secondary {
border: 1px solid var(--brand-secondary-light-3);

&:focus {
border: 2px solid @brand-primary;
box-shadow: none;
}

&:active {
border: 1px solid var(--brand-primary);
border: 3px solid var(--brand-secondary);
}

&:hover {
background-color: var(--light-gray) !important;
color: var(--brand-secondary) !important;
}
}

&.btn-tertiary {
&:hover {
background-color: var(--soft-brown) !important;
border: 3px solid var(--soft-brown);
}
}

&.btn-guiding-destructive {
background: var(--btn-destructive-color);
border-color: var(--btn-destructive-bg);
Expand Down
1 change: 1 addition & 0 deletions src/less/variables-payex.less
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ body {
/* Brand fonts */
--brand-black: "Futura PT W08 Medium", sans-serif;
--brand-default: "Futura PT W08 Book", sans-serif;
--brand-default-buttons: "Futura PT W08 Demi", sans-serif;
--brand-monofont: monospace;
--brand-headline: "Futura PT W08 Demi", sans-serif;
--brand-font-default: "Futura PT W08 Book", sans-serif;
Expand Down

0 comments on commit a70c635

Please sign in to comment.