mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-01 05:11:34 +02:00
Merge pull request #21692 from overleaf/jdt-premium-secondary-button
Add premium-secondary button style GitOrigin-RevId: 79ac9004a0b081eb1e7ac2af88ca1f976b997fe0
This commit is contained in:
committed by
Copybot
parent
3281ebe238
commit
199ee41c23
@@ -32,5 +32,6 @@ export type ButtonProps = {
|
||||
| 'danger'
|
||||
| 'danger-ghost'
|
||||
| 'premium'
|
||||
| 'premium-secondary'
|
||||
| 'link'
|
||||
}
|
||||
|
||||
@@ -41,6 +41,7 @@ const meta: Meta<typeof Button> = {
|
||||
'danger',
|
||||
'danger-ghost',
|
||||
'premium',
|
||||
'premium-secondary',
|
||||
],
|
||||
},
|
||||
},
|
||||
|
||||
@@ -91,6 +91,17 @@
|
||||
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
|
||||
|
||||
@@ -132,6 +132,11 @@
|
||||
}
|
||||
}
|
||||
|
||||
.btn-premium-secondary {
|
||||
.btn-bordered();
|
||||
.button-variant(@blue-60, @white, @blue-60);
|
||||
}
|
||||
|
||||
.reset-btns {
|
||||
// reset all buttons back to their original colors
|
||||
.btn-danger {
|
||||
|
||||
Reference in New Issue
Block a user