mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 13:09:33 -06:00
a3e8c3cd7b
This feature introduces the concept of themes. Themes are an evolution of site customizations. Themes introduce two very big conceptual changes: - A theme may include other "child themes", children can include grand children and so on. - A theme may specify a color scheme The change does away with the idea of "enabled" color schemes. It also adds a bunch of big niceties like - You can source a theme from a git repo - History for themes is much improved - You can only have a single enabled theme. Themes can be selected by users, if you opt for it. On a technical level this change comes with a whole bunch of goodies - All CSS is now compiled using a custom pipeline that uses libsass see /lib/stylesheet - There is a single pipeline for css compilation (in the past we used one for customizations and another one for the rest of the app - The stylesheet pipeline is now divorced of sprockets, there is no reliance on sprockets for CSS bundling - CSS is generated with source maps everywhere (including themes) this makes debugging much easier - Our "live reloader" is smarter and avoid a flash of unstyled content we run a file watcher in "puma" in dev so you no longer need to run rake autospec to watch for CSS changes |
||
---|---|---|
.. | ||
admin | ||
about_controller_spec.rb | ||
application_controller_spec.rb | ||
badges_controller_spec.rb | ||
categories_controller_spec.rb | ||
category_hashtags_controller_spec.rb | ||
clicks_controller_spec.rb | ||
composer_messages_controller_spec.rb | ||
directory_items_controller_spec.rb | ||
draft_controller_spec.rb | ||
email_controller_spec.rb | ||
embed_controller_spec.rb | ||
export_csv_controller_spec.rb | ||
extra_locales_controller_spec.rb | ||
finish_installation_controller_spec.rb | ||
groups_controller_spec.rb | ||
invites_controller_spec.rb | ||
list_controller_spec.rb | ||
metadata_controller_spec.rb | ||
notifications_controller_spec.rb | ||
omniauth_callbacks_controller_spec.rb | ||
onebox_controller_spec.rb | ||
permalinks_controller_spec.rb | ||
post_action_users_controller_spec.rb | ||
post_actions_controller_spec.rb | ||
posts_controller_spec.rb | ||
queued_posts_controller_spec.rb | ||
robots_txt_controller_spec.rb | ||
search_controller_spec.rb | ||
session_controller_spec.rb | ||
similar_topics_controller_spec.rb | ||
site_controller_spec.rb | ||
static_controller_spec.rb | ||
steps_controller_spec.rb | ||
stylesheets_controller_spec.rb | ||
tags_controller_spec.rb | ||
topics_controller_spec.rb | ||
uploads_controller_spec.rb | ||
user_actions_controller_spec.rb | ||
user_api_keys_controller_spec.rb | ||
user_avatars_controller_spec.rb | ||
user_badges_controller_spec.rb | ||
users_controller_spec.rb | ||
users_email_controller_spec.rb | ||
webhooks_controller_spec.rb | ||
wizard_controller_spec.rb |