mirror of
https://github.com/pybricks/pybricks-code.git
synced 2026-07-28 04:08:05 +00:00
index.scss: use pybricks blue for info toasts
This makes toasts fit better in the color scheme.
This commit is contained in:
@@ -101,6 +101,21 @@ body {
|
||||
.#{bp.$ns}-toast {
|
||||
user-select: text;
|
||||
max-width: 700px;
|
||||
|
||||
&.#{bp.$ns}-intent-primary {
|
||||
background-color: color.adjust(pb.$pybricks-blue, $lightness: -10%);
|
||||
|
||||
& .#{bp.$ns}-button {
|
||||
background-color: color.adjust(
|
||||
pb.$pybricks-blue,
|
||||
$lightness: -10%
|
||||
) !important;
|
||||
|
||||
&:hover {
|
||||
background: pb.$pybricks-blue !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.#{bp.$ns}-button {
|
||||
|
||||
Reference in New Issue
Block a user