Skip to content

Commit

Permalink
metatip nits
Browse files Browse the repository at this point in the history
  • Loading branch information
argyleink committed Apr 1, 2024
1 parent 8b56d4d commit 2e7080c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
8 changes: 2 additions & 6 deletions app/components/metatip/metatip.element.css
Original file line number Diff line number Diff line change
Expand Up @@ -290,9 +290,11 @@
:host [contrast] {
display: grid;
justify-items: start;
gap: .25ch;

& > [value] {
font-size: 1.5em;
line-height: 1;
}
}

Expand Down Expand Up @@ -440,12 +442,6 @@
}

:host {

& [pass="true"] { color: green; }
& [pass="false"] { color: red; }

@media (prefers-color-scheme: dark) {
& [pass="true"] { color: hsl(120deg 50% 75%); }
& [pass="false"] { color: hsl(0deg 50% 65%); }
}
}
2 changes: 1 addition & 1 deletion app/components/metatip/metatip.element_dark.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
:host [score] {
:host {
&[pass="true"] { color: hsl(120deg 50% 75%); }
&[pass="false"] { color: hsl(0deg 50% 65%); }
}
2 changes: 1 addition & 1 deletion app/components/metatip/metatip.element_light.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
:host [score] {
:host {
&[pass="true"] { color: green; }
&[pass="false"] { color: red; }
}

0 comments on commit 2e7080c

Please sign in to comment.