Skip to content

Commit

Permalink
fix(theme): fix global text color overriding everything
Browse files Browse the repository at this point in the history
  • Loading branch information
dackmin committed Mar 10, 2023
1 parent 64b0afc commit 6c6b87f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 1 addition & 2 deletions packages/theme/lib/reset.dark.sass
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
.junipero
&, & input, & textarea
color: var(--junipero-seashell)
--text-color: var(--junipero-seashell)
4 changes: 3 additions & 1 deletion packages/theme/lib/reset.sass
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,13 @@
--junipero-dark-shadow: transparent

.junipero
--text-color: var(--junipero-onyx)

&, & input, & textarea
font-family: var(--junipero-font-family)
font-size: var(--junipero-font-size)
line-height: var(--junipero-line-height)
color: var(--junipero-onyx)
color: var(--text-color)

&, & *, & *:before, & *:after
outline: none
Expand Down

0 comments on commit 6c6b87f

Please sign in to comment.