Add data-mx-theme to theme css for hot-reload

This commit is contained in:
Dariusz Niemczyk
2021-08-01 16:17:58 +02:00
committed by Dariusz Niemczyk
parent 2504c062f1
commit 4b12b711ee

View File

@@ -43,7 +43,7 @@
if (match) {
var title = match[1].charAt(0).toUpperCase() + match[1].slice(1);
%>
<link rel="stylesheet" disabled="disabled" title="<%= title %>" href="<%= file %>">
<link rel="stylesheet" disabled="disabled" data-mx-theme="<%= title %>" title="<%= title %>" href="<%= file %>">
<% } else { %>
<link rel="stylesheet" href="<%= file %>">
<% }