Fix error pages not using the new theming infrastructure (#37524)
This commit is contained in:
parent
a9bdf5eef9
commit
5727b866b1
1
app/javascript/entrypoints/theme-selection.ts
Normal file
1
app/javascript/entrypoints/theme-selection.ts
Normal file
@ -0,0 +1 @@
|
||||
import '../inline/theme-selection';
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user