mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-14 20:40:17 -05:00
Merge pull request #21692 from overleaf/jdt-premium-secondary-button
Add premium-secondary button style GitOrigin-RevId: 79ac9004a0b081eb1e7ac2af88ca1f976b997fe0
This commit is contained in:
parent
6e8cfb769f
commit
ad634c7e88
4 changed files with 18 additions and 0 deletions
|
@ -32,5 +32,6 @@ export type ButtonProps = {
|
||||||
| 'danger'
|
| 'danger'
|
||||||
| 'danger-ghost'
|
| 'danger-ghost'
|
||||||
| 'premium'
|
| 'premium'
|
||||||
|
| 'premium-secondary'
|
||||||
| 'link'
|
| 'link'
|
||||||
}
|
}
|
||||||
|
|
|
@ -41,6 +41,7 @@ const meta: Meta<typeof Button> = {
|
||||||
'danger',
|
'danger',
|
||||||
'danger-ghost',
|
'danger-ghost',
|
||||||
'premium',
|
'premium',
|
||||||
|
'premium-secondary',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
@ -91,6 +91,17 @@
|
||||||
background: var(--blue-70);
|
background: var(--blue-70);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.btn-premium-secondary {
|
||||||
|
@include ol-button-variant(
|
||||||
|
$color: var(--blue-60),
|
||||||
|
$background: var(--bg-light-primary),
|
||||||
|
$border: var(--blue-60),
|
||||||
|
$hover-background: var(--bg-info-03),
|
||||||
|
$hover-border: var(--blue-60),
|
||||||
|
$borderless: false
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Link buttons
|
// Link buttons
|
||||||
|
|
|
@ -132,6 +132,11 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.btn-premium-secondary {
|
||||||
|
.btn-bordered();
|
||||||
|
.button-variant(@blue-60, @white, @blue-60);
|
||||||
|
}
|
||||||
|
|
||||||
.reset-btns {
|
.reset-btns {
|
||||||
// reset all buttons back to their original colors
|
// reset all buttons back to their original colors
|
||||||
.btn-danger {
|
.btn-danger {
|
||||||
|
|
Loading…
Reference in a new issue