fix: add class-based dark mode fallback styling
Add .dark class on html element with direct element styling as fallback for when CSS custom properties don't work. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
0852707df0
commit
29cda763eb
2 changed files with 26 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{{define "base"}}
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" data-theme="{{.Theme}}">
|
||||
<html lang="en" data-theme="{{.Theme}}" class="{{.Theme}}">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue