OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Set data attributes on the preview body to ensure that the correct Primer variables are loaded
Henriette Dargeba68d44df14b
diff --git a/app/views/layouts/component_preview.html.erb b/app/views/layouts/component_preview.html.erbindex 0174edef64d..23829c7e3dc 100644--- a/app/views/layouts/component_preview.html.erb+++ b/app/views/layouts/component_preview.html.erb@@ -38,7 +38,11 @@ See COPYRIGHT and LICENSE files for more details.<%= content_tag :body,class: 'viewcomponent-preview',- data: { controller: "application" },+ data: {+ controller: "application",+ "color-mode": "auto",+ "light-theme": "light",+ },style: styles.join(";") do %><section class="viewcomponent-preview--content"><%= yield %>