mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 22:43:33 +08:00
DEV: Revert stylesheet refactors (#13584)
* Revert "FIX: Clear appropriate cache when updating font settings (#13582)" This reverts commit de6cc7a92412538b2460e1b6f4855da343054899. * Revert "DEV: Improve output of `Stylesheet::Mananger.precompile_theme_css`." This reverts commit 95038856c9ddeee7d0d8083a75006a5e3492dd54. * Revert "FIX: Child themes being precompiled multiple times." This reverts commit 6986b36985fa242cb3d346b05f84d3878573c354. * Revert "Update spec/components/stylesheet/manager_spec.rb" This reverts commit ddaa7cc7eac2850f9a8614077c1170942ebc0311. * Revert "Refactor scss live refreshing" This reverts commit a838293aaf1e3b21c34c1964603e1b85c5673935. * Revert "Precompile core stylesheets independently of themes" This reverts commit 99d259d39bdaade6d20951c84def890dc91246a5. * Revert "DEV: Add simple digest for core stylesheets" This reverts commit d82c58e6cc5dd43b8bfb062838a24cac85ac9ca2.
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user