mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 23:26:18 +08: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 |
||
---|---|---|
.. | ||
about_serializer.rb | ||
admin_badge_serializer.rb | ||
admin_badges_serializer.rb | ||
admin_detailed_user_serializer.rb | ||
admin_email_template_serializer.rb | ||
admin_plugin_serializer.rb | ||
admin_post_serializer.rb | ||
admin_user_list_serializer.rb | ||
admin_user_serializer.rb | ||
admin_web_hook_event_serializer.rb | ||
admin_web_hook_serializer.rb | ||
api_key_serializer.rb | ||
application_serializer.rb | ||
archetype_serializer.rb | ||
backup_serializer.rb | ||
badge_grouping_serializer.rb | ||
badge_index_serializer.rb | ||
badge_serializer.rb | ||
badge_type_serializer.rb | ||
basic_category_serializer.rb | ||
basic_group_history_serializer.rb | ||
basic_group_serializer.rb | ||
basic_group_user_serializer.rb | ||
basic_post_serializer.rb | ||
basic_topic_serializer.rb | ||
basic_user_badge_serializer.rb | ||
basic_user_serializer.rb | ||
category_and_topic_lists_serializer.rb | ||
category_detailed_serializer.rb | ||
category_list_serializer.rb | ||
category_serializer.rb | ||
category_upload_serializer.rb | ||
color_scheme_color_serializer.rb | ||
color_scheme_serializer.rb | ||
current_user_serializer.rb | ||
detailed_user_badge_serializer.rb | ||
directory_item_serializer.rb | ||
directory_serializer.rb | ||
discourse_version_check_serializer.rb | ||
email_log_serializer.rb | ||
embeddable_host_serializer.rb | ||
embedding_serializer.rb | ||
emoji_serializer.rb | ||
flagged_topic_serializer.rb | ||
flagged_user_serializer.rb | ||
gap_serializer.rb | ||
group_post_serializer.rb | ||
group_post_user_serializer.rb | ||
group_show_serializer.rb | ||
group_user_serializer.rb | ||
grouped_screened_url_serializer.rb | ||
grouped_search_result_serializer.rb | ||
incoming_email_details_serializer.rb | ||
incoming_email_serializer.rb | ||
invite_serializer.rb | ||
invited_user_serializer.rb | ||
listable_topic_serializer.rb | ||
new_post_result_serializer.rb | ||
notification_serializer.rb | ||
permalink_serializer.rb | ||
post_action_type_serializer.rb | ||
post_action_user_serializer.rb | ||
post_revision_serializer.rb | ||
post_serializer.rb | ||
post_stream_serializer_mixin.rb | ||
post_wordpress_serializer.rb | ||
primary_group_serializer.rb | ||
queued_post_serializer.rb | ||
screened_email_serializer.rb | ||
screened_ip_address_serializer.rb | ||
screened_url_serializer.rb | ||
search_post_serializer.rb | ||
search_result_user_serializer.rb | ||
similar_topic_serializer.rb | ||
single_sign_on_record_serializer.rb | ||
site_serializer.rb | ||
site_text_serializer.rb | ||
suggested_topic_serializer.rb | ||
tag_group_serializer.rb | ||
theme_serializer.rb | ||
top_list_serializer.rb | ||
topic_embed_serializer.rb | ||
topic_flag_type_serializer.rb | ||
topic_link_serializer.rb | ||
topic_list_item_serializer.rb | ||
topic_list_serializer.rb | ||
topic_post_count_serializer.rb | ||
topic_poster_serializer.rb | ||
topic_status_update_serializer.rb | ||
topic_tracking_state_serializer.rb | ||
topic_view_posts_serializer.rb | ||
topic_view_serializer.rb | ||
topic_view_wordpress_serializer.rb | ||
trust_level_serializer.rb | ||
trust_level3_requirements_serializer.rb | ||
upload_serializer.rb | ||
user_action_serializer.rb | ||
user_badge_serializer.rb | ||
user_badges_serializer.rb | ||
user_field_serializer.rb | ||
user_history_serializer.rb | ||
user_name_serializer.rb | ||
user_option_serializer.rb | ||
user_serializer.rb | ||
user_summary_serializer.rb | ||
user_wordpress_serializer.rb | ||
web_hook_post_serializer.rb | ||
web_hook_topic_view_serializer.rb | ||
web_hook_user_serializer.rb | ||
wizard_field_choice_serializer.rb | ||
wizard_field_serializer.rb | ||
wizard_serializer.rb | ||
wizard_step_serializer.rb |