discourse/lib/theme_store
David Taylor b1924c3524
DEV: Allow stylesheet entrypoints to use @use (#31905)
Previously we would prepend extra content to developer-authored files,
which means adding `@use` in some files would throw an error because
`@use` must be at the top of any compiled file.

Instead, we can ensure any developer-authored files are on the load
path, and then `@import` them into the synthetic entrypoint.

Plugin color_definitions stylesheets are an edge case here, and will
need to be handled separately (or... wait until we move to native css
relative-color syntax, then we can drop color-definition stylesheets
altogether)
2025-03-26 09:15:32 +00:00
..
base_importer.rb SECURITY: Add limits for themes and theme assets 2023-09-12 15:31:31 -03:00
directory_importer.rb DEV: Filter files included by theme DirectoryImporter (#23842) 2023-10-09 12:03:02 +01:00
git_importer.rb DEV: Replace silent theme-install fails with exceptions (#28485) 2024-08-22 12:09:56 +01:00
zip_exporter.rb DEV: Allow stylesheet entrypoints to use @use (#31905) 2025-03-26 09:15:32 +00:00
zip_importer.rb SECURITY: Add limits for themes and theme assets 2023-09-12 15:31:31 -03:00