mirror of
https://github.com/arsvendg/Stirling-PDF.git
synced 2026-07-14 18:44:05 +02:00
SaaS fixes (#6578)
Co-authored-by: Claude Opus 4.8 <[email protected]> Co-authored-by: James Brunton <[email protected]> Co-authored-by: Reece Browne <[email protected]> Co-authored-by: ConnorYoh <[email protected]> Co-authored-by: Reece <[email protected]> Co-authored-by: EthanHealy01 <[email protected]> Co-authored-by: Ludy <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 4.8
James Brunton
Reece Browne
ConnorYoh
Reece
EthanHealy01
Ludy
parent
96accea984
commit
ddf78d11ae
@@ -44,6 +44,25 @@
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
/*
|
||||
* The native option popup is OS-rendered: without explicit colours it falls
|
||||
* back to the UA scheme (white) while the option text inherits the themed
|
||||
* (light) colour — i.e. white-on-white in dark mode wherever the surrounding
|
||||
* app keeps color-scheme: light (e.g. the editor, whose dark mode is driven by
|
||||
* Mantine, not color-scheme). Theme the options explicitly and pin the
|
||||
* select's color-scheme to the active SUI theme so the popup is always legible.
|
||||
*/
|
||||
.sui-select__el option {
|
||||
background-color: var(--color-surface);
|
||||
color: var(--color-text-1);
|
||||
}
|
||||
[data-theme="dark"] .sui-select__el {
|
||||
color-scheme: dark;
|
||||
}
|
||||
[data-theme="light"] .sui-select__el {
|
||||
color-scheme: light;
|
||||
}
|
||||
|
||||
.sui-select--sm .sui-select__el {
|
||||
font-size: 0.8125rem;
|
||||
padding-left: var(--space-2);
|
||||
|
||||
Reference in New Issue
Block a user