Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ultra components #541

Merged
merged 17 commits into from
Oct 20, 2022
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