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
408 B
Text
Raw Normal View History

2022-08-27 11:52:29 +05:30
%head
2023-01-13 00:05:48 +05:30
- 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