Skip to content

Commit

Permalink
Fix tabbed panel colors (#1567)
Browse files Browse the repository at this point in the history
  • Loading branch information
gabalafou authored Nov 17, 2023
1 parent 38ef477 commit 9803c5e
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ html[data-theme="light"] {
transparent; // top LR bottom
border-width: 0.125rem 0.125rem 0;
border-radius: 0.125rem 0.125rem 0 0;
background-color: var(--pst-color-background);
background-color: var(--pst-color-on-background);
transform: translateY(0.125rem);
color: var(--pst-color-primary);
}
Expand Down Expand Up @@ -207,6 +207,10 @@ html[data-theme="light"] {
padding: 0 0.75em;
margin-inline-end: 0.25rem;
line-height: 1.95;

html[data-theme="dark"] & {
background-color: var(--pst-color-on-background);
}
}

// panel
Expand All @@ -215,6 +219,7 @@ html[data-theme="light"] {
border-radius: 0.1875rem;
box-shadow: unset;
padding: 0.625rem;
background-color: var(--pst-color-on-background);
}
}

Expand Down

0 comments on commit 9803c5e

Please sign in to comment.