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

pull/18318/head
Dariusz Niemczyk 2021-08-01 16:17:58 +02:00 committed by Dariusz Niemczyk
parent 2504c062f1
commit 4b12b711ee
No known key found for this signature in database
GPG Key ID: 0AD2F70C94CA5B03
1 changed files with 1 additions and 1 deletions

View File

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