Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions dist/lombok.css
Original file line number Diff line number Diff line change
Expand Up @@ -986,6 +986,19 @@ select {
padding-inline: 2.2em 0.8em;
}

/* The option list is a native popup that cannot be translucent: with a
see-through --lc-surface (glassmorphism) it falls back to the UA's white
while still inheriting a light --lc-text, so options become invisible.
Pin options to the opaque page colours, which every style defines as a
readable pair. */
.select option,
.select optgroup,
select option,
select optgroup {
color: var(--lc-text);
background-color: var(--lc-bg);
}

/* checkbox / radio use accent-color for native theming */
input[type="checkbox"],
input[type="radio"] {
Expand Down
2 changes: 1 addition & 1 deletion dist/lombok.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/assets/lombok.min.css

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions src/components.css
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,19 @@ select {
padding-inline: 2.2em 0.8em;
}

/* The option list is a native popup that cannot be translucent: with a
see-through --lc-surface (glassmorphism) it falls back to the UA's white
while still inheriting a light --lc-text, so options become invisible.
Pin options to the opaque page colours, which every style defines as a
readable pair. */
.select option,
.select optgroup,
select option,
select optgroup {
color: var(--lc-text);
background-color: var(--lc-bg);
}

/* checkbox / radio use accent-color for native theming */
input[type="checkbox"],
input[type="radio"] {
Expand Down
Loading