mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 12:02:53 +08:00
DEV: Revert stylesheet refactors (#13584)
* Revert "FIX: Clear appropriate cache when updating font settings (#13582)" This reverts commitde6cc7a924
. * Revert "DEV: Improve output of `Stylesheet::Mananger.precompile_theme_css`." This reverts commit95038856c9
. * Revert "FIX: Child themes being precompiled multiple times." This reverts commit6986b36985
. * Revert "Update spec/components/stylesheet/manager_spec.rb" This reverts commitddaa7cc7ea
. * Revert "Refactor scss live refreshing" This reverts commita838293aaf
. * Revert "Precompile core stylesheets independently of themes" This reverts commit99d259d39b
. * Revert "DEV: Add simple digest for core stylesheets" This reverts commitd82c58e6cc
.
This commit is contained in:
parent
de6cc7a924
commit
128fdf9d9c
10 changed files with 156 additions and 165 deletions
|
@ -29,6 +29,9 @@ module Stylesheet
|
|||
file += File.read path
|
||||
|
||||
case asset.to_s
|
||||
when "desktop", "mobile"
|
||||
file += importer.category_backgrounds
|
||||
file += importer.font
|
||||
when "embed", "publish"
|
||||
file += importer.font
|
||||
when "wizard"
|
||||
|
@ -36,8 +39,6 @@ module Stylesheet
|
|||
when Stylesheet::Manager::COLOR_SCHEME_STYLESHEET
|
||||
file += importer.import_color_definitions
|
||||
file += importer.import_wcag_overrides
|
||||
file += importer.category_backgrounds
|
||||
file += importer.font
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue