Skip to content

Commit e3cfe85

Browse files
committed
index.scss: use pybricks blue for info toasts
This makes toasts fit better in the color scheme.
1 parent 8ac59f3 commit e3cfe85

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/index.scss

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,21 @@ body {
101101
.#{bp.$ns}-toast {
102102
user-select: text;
103103
max-width: 700px;
104+
105+
&.#{bp.$ns}-intent-primary {
106+
background-color: color.adjust(pb.$pybricks-blue, $lightness: -10%);
107+
108+
& .#{bp.$ns}-button {
109+
background-color: color.adjust(
110+
pb.$pybricks-blue,
111+
$lightness: -10%
112+
) !important;
113+
114+
&:hover {
115+
background: pb.$pybricks-blue !important;
116+
}
117+
}
118+
}
104119
}
105120

106121
.#{bp.$ns}-button {

0 commit comments

Comments
 (0)