DEV: Add simple digest for core stylesheets

And move fonts + category_backgrounds to color definitions stylesheet.
This will let us use the same core + plugin stylesheets in multisite.
This commit is contained in:
Penar Musaraj
2021-06-21 13:54:42 -04:00
committed by Alan Guo Xiang Tan
parent e123476329
commit d82c58e6cc
4 changed files with 39 additions and 30 deletions

View File

@ -29,9 +29,6 @@ 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"
@ -39,6 +36,8 @@ 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