mirror of
https://github.com/discourse/discourse.git
synced 2026-08-09 21:45:25 +08:00
This saves loading unnecessary bytes for non-staff users. Aligns with the existing core system for admin CSS. Also makes use of the feature for some obviously-admins-specific CSS files in gamification and ai plugins. More conversions are likely to come in follow-up commits.
11 lines
397 B
Ruby
Vendored
11 lines
397 B
Ruby
Vendored
# frozen_string_literal: true
|
|
|
|
# name: stylesheet-targets-plugin
|
|
# about: fixture used to exercise per-target plugin stylesheet registration
|
|
# version: 0.1
|
|
# authors: Discourse
|
|
|
|
register_asset "stylesheets/common/common.scss"
|
|
register_asset "stylesheets/mobile/mobile.scss", :mobile
|
|
register_asset "stylesheets/desktop/desktop.scss", :desktop
|
|
register_asset "stylesheets/admin/admin.scss", :admin
|