Fix timeline colors

This commit is contained in:
Yannik Rödel 2022-04-19 17:52:31 +02:00
parent d9f4c8d437
commit ea0ee905a0

View file

@ -83,23 +83,24 @@
} }
&:hover { &:hover {
$color: colors.$blue-800; @mixin stamp-hover($color) {
> .stamp {
@include colors.coderdojo-theme { border-color: $color;
$color: colors.$orange-500;
}
> .stamp {
border-color: $color;
background-color: $color;
color: colors.$inverse-text;
}
> .content {
&::before,
> h3:first-child::after {
background-color: $color; background-color: $color;
color: colors.$inverse-text;
} }
> .content {
&::before,
> h3:first-child::after {
background-color: $color;
}
}
}
@include stamp-hover(colors.$blue-800);
@include colors.coderdojo-theme {
@include stamp-hover(colors.$orange-500);
} }
} }