Add a non-js placeholder for the theme picker
This commit is contained in:
@@ -24,9 +24,10 @@ const THEME_NAMES: Record<string, string> = {
|
||||
|
||||
export function ThemePicker() {
|
||||
return (
|
||||
<div className="themePicker sheet-background">
|
||||
<div className="themePicker sheet-background">
|
||||
<noscript>Enable Javascript to select a theme</noscript>
|
||||
<label htmlFor="theme" className="hidden">Theme</label>
|
||||
<div className="theme-controls">
|
||||
<div className="theme-controls hidden">
|
||||
<div className="theme-mode-toggle">
|
||||
<button
|
||||
className="mode-btn active"
|
||||
|
||||
Reference in New Issue
Block a user