debian-mirror-gitlab/app/views/layouts/component_preview.html.haml
2023-01-12 18:35:48 +00:00

14 lines
408 B
Text

%head
- if params[:lookbook][:display][:theme] == 'light'
= stylesheet_link_tag "application"
= stylesheet_link_tag "application_utilities"
- else
= stylesheet_link_tag "application_dark"
= stylesheet_link_tag "application_utilities_dark"
%body
.container.gl-mt-6
- if params[:lookbook][:display][:bg_dark]
.bg-dark.rounded.shadow.p-4
= yield
- else
= yield