• Peng Xiao's avatar
    fix(component): theme flickering (#5238)
    · 5979162a
    Peng Xiao создал
    Add color-scheme to html so that the web will use system scheme when scripts has not being loaded;
    Use `(prefers-color-scheme: dark)` so that the css vars do not defer load based on `data-theme`, which is set by next-themes (which is deferred).
    5979162a