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; @extend %link-inverted;
background: var(--color-border); background: var(--color-border);
color: var(--color-text-bg); 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. // Lists with a straight left margin.
.ul-straight-left,
%ul-straight-left { %ul-straight-left {
display: table; display: table;
list-style: none; list-style: none;
@ -17,6 +18,7 @@
} }
} }
.ol-straight-left,
%ol-straight-left { %ol-straight-left {
display: table; display: table;
list-style: none; list-style: none;
@ -36,6 +38,7 @@
} }
} }
.ul-straight-left--off,
%ul-straight-left--off { %ul-straight-left--off {
display: block; display: block;
list-style: inherit; list-style: inherit;

View file

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