Make sure headings etc. also gets inverted in boxes. Add classes or extend handlers to some components missing them.

This commit is contained in:
Fredrik Jonsson 2023-04-26 13:09:04 +02:00
commit 205f7e7834
3 changed files with 10 additions and 1 deletions

View file

@ -44,6 +44,11 @@
@extend %link-inverted;
background: var(--color-border);
color: var(--color-text-bg);
// Make sure headings etc. also gets inverted.
* {
color: inherit;
}
}
> * {

View file

@ -1,5 +1,6 @@
// Lists with a straight left margin.
.ul-straight-left,
%ul-straight-left {
display: table;
list-style: none;
@ -17,6 +18,7 @@
}
}
.ol-straight-left,
%ol-straight-left {
display: table;
list-style: none;
@ -36,6 +38,7 @@
}
}
.ul-straight-left--off,
%ul-straight-left--off {
display: block;
list-style: inherit;

View file

@ -1,6 +1,7 @@
// Messages
.message {
.message,
%message {
padding: 10px;
border-width: 1px;
border-style: solid;