Fix error pages not using the new theming infrastructure (#37524)

This commit is contained in:
Claire authored and GitHub committed 2026-01-16 14:44:58 +00:00
1 parent a9bdf5eef9
commit 5727b866b1
2 files changed
+3 -1

No files matched your search

@@ -0,0 +1 @@
import '../inline/theme-selection';
+2 -1
View File
@@ -1,5 +1,5 @@
!!!
%html{ lang: I18n.locale }
%html{ lang: I18n.locale, 'data-contrast': 'auto', 'data-color-scheme': 'auto' }
%head
%meta{ 'content' => 'text/html; charset=UTF-8', 'http-equiv' => 'Content-Type' }/
%meta{ charset: 'utf-8' }/
@@ -8,6 +8,7 @@
= vite_client_tag
= vite_react_refresh_tag
= vite_polyfills_tag
= vite_typescript_tag 'theme-selection.ts', crossorigin: 'anonymous', blocking: 'render'
= theme_style_tags Setting.default_settings['theme']
= vite_typescript_tag 'error.ts', crossorigin: 'anonymous'
%body.error