debian-mirror-gitlab/app/views/layouts/component_preview.html.haml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
492 B
Text
Raw Normal View History

2022-08-27 11:52:29 +05:30
%head
2023-05-27 22:25:52 +05:30
- if params[:lookbook][:display][:theme] == "light"
2023-01-13 00:05:48 +05:30
= stylesheet_link_tag "application"
= stylesheet_link_tag "application_utilities"
- else
= stylesheet_link_tag "application_dark"
= stylesheet_link_tag "application_utilities_dark"
%body
2023-05-27 22:25:52 +05:30
.gl-mt-6{ class: (params[:lookbook][:display][:layout] == "fluid" ? "container-fluid" : "container") }
2023-01-13 00:05:48 +05:30
- if params[:lookbook][:display][:bg_dark]
.bg-dark.rounded.shadow.p-4
= yield
- else
= yield