Skip to content

Commit

Permalink
Add ultra components (#541)
Browse files Browse the repository at this point in the history
* Set up basic button

* Fix large button

* Clean up button styling

* Add border

* Revert prime removals

* Add back prime classes

* Remove unneeded space

* Update title

* Update button color scheme

* Fix border

* Add ultra badge

* Update button

* Update button design

* Fix ultra button styles on day mode
  • Loading branch information
twalton83 authored Oct 20, 2022
1 parent bef5f6a commit 57df19e
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions src/components/Button.vue
Original file line number Diff line number Diff line change
Expand Up @@ -829,26 +829,30 @@ export default class Button extends Vue {
.s-button--ultra {
border: 0px solid transparent;
color: @ultra-black;
// .btn-variant(@white, @ultra-gradient);
background: @ultra-gradient;
&::before {
background: @ultra-gradient;
}
border-radius: 8px;
//TODO: add border for regular buttons
.icon-ultra {
.icon-ultra-solid(@ultra-black);
}
&.s-button--large {
border-radius: 32px;
background: @ultra-gradient;
border: 0;
border: none;
padding: 0px 64px;
.icon-ultra {
.icon-ultra-solid();
}
&::before {
border-radius: 32px;
border: none;
}
}
&.s-button-square {
Expand Down Expand Up @@ -1056,8 +1060,7 @@ export default class Button extends Vue {
.s-button--ultra {
background: linear-gradient(270deg, #FFFFFF 0%, rgba(255, 255, 255, 0.16) 100%),
linear-gradient(123.53deg, #2DE8B0 25.56%, #CBE953 60.27%, #FFAB48 79.52%, #FF5151 96.69%);
// .night-btn-variant(@ultra-gradient, @ultra-black);
linear-gradient(123.53deg, #2DE8B0 25.56%, #CBE953 60.27%, #FFAB48 79.52%, #FF5151 96.69%);
color: @ultra-black;
border-radius: 8px;
.icon-ultra {
Expand Down

0 comments on commit 57df19e

Please sign in to comment.