Skip to content

Commit

Permalink
feat: Screwdriver style mixin for Bootstrap buttons (#1082)
Browse files Browse the repository at this point in the history
  • Loading branch information
minghay authored Jul 4, 2024
1 parent 6f694e0 commit bcf7f11
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions app/styles/screwdriver-button.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
@use 'screwdriver-colors' as colors;

@mixin styles {
.btn-primary {
color: colors.$sd-white;
background-color: colors.$sd-running;
border-color: colors.$sd-running;

&:hover {
background-color: rgba(colors.$sd-running, 0.75);
border-color: transparent;
}
}

.btn-outline-primary {
color: colors.$sd-running;
border-color: colors.$sd-running;

&:hover {
background-color: rgba(colors.$sd-running, 0.1);
}
}
}

0 comments on commit bcf7f11

Please sign in to comment.