Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_startup_css.haml « layouts « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ea05157ed198c32f200c527329be24d772db715b (plain)
1
2
3
4
5
6
7
- return unless use_startup_css?

- startup_filename = current_path?("sessions#new") ? 'signin' : user_application_theme == 'gl-dark' ? 'dark' : 'general'

%style{ type: "text/css" }
  = Rails.application.assets_manifest.find_sources("themes/theme_#{user_application_theme_name}.css").first.to_s.html_safe
  = Rails.application.assets_manifest.find_sources("startup/startup-#{startup_filename}.css").first.to_s.html_safe