Skip to content

Commit a95178e

Browse files
committed
Fix theme-auto loading
Fix regression from go-gitea#23481. The conditional CSS import was being stripped away by webpack's `css-loader`, resulting in the dark theme always loading. Unfortunately, we have to re-introduce postcss to the CSS pipeline to fix this and I loaded only the minimal plugins to make it work. Related: webpack-contrib/css-loader#1503
1 parent 6f9cc61 commit a95178e

File tree

3 files changed

+312
-54
lines changed

3 files changed

+312
-54
lines changed

0 commit comments

Comments
 (0)