Skip to content

Commit

Permalink
fix(theme): color field group compat
Browse files Browse the repository at this point in the history
  • Loading branch information
dackmin committed Apr 30, 2024
1 parent 03cbef3 commit 9bc6726
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion packages/theme/lib/FieldGroup.sass
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@
width: fit-content
gap: 2px

.junipero.select-field .field
.junipero.select-field .field,
.junipero.color-field .field
position: relative
z-index: 2

.junipero.text-field,
.junipero.select-field,
.junipero.date-field,
.junipero.color-field,
.junipero.button
position: relative
z-index: 2
Expand Down Expand Up @@ -56,3 +58,13 @@
&:active
&:not(:disabled):not(.disabled)
box-shadow: 0 0 0 2px var(--active-color)

.junipero.focused
z-index: 3

.junipero .pigment
z-index: 4

.junipero.tooltip,
.junipero.dropdown-menu
z-index: 5

0 comments on commit 9bc6726

Please sign in to comment.