Skip to content

Commit

Permalink
Add back styles to the preview layout
Browse files Browse the repository at this point in the history
  • Loading branch information
elia committed Jan 2, 2024
1 parent ed0c6cb commit c016d80
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions admin/app/views/layouts/solidus_admin/preview.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<!DOCTYPE html>
<html>
<head>
<%= stylesheet_link_tag SolidusAdmin::Config.theme_path(session[:admin_light_theme]), media: '(prefers-color-scheme: light)', "data-turbo-track": "reload" %>
<%= stylesheet_link_tag SolidusAdmin::Config.theme_path(session[:admin_dark_theme]), media: '(prefers-color-scheme: dark)', "data-turbo-track": "reload" %>
<%= javascript_importmap_tags "solidus_admin/application", shim: false, importmap: SolidusAdmin.importmap %>
</head>
<body class="p-3">
Expand Down

0 comments on commit c016d80

Please sign in to comment.