Skip to content

Commit

Permalink
add support for DarkLogic
Browse files Browse the repository at this point in the history
  • Loading branch information
AF-1 committed Jun 9, 2024
1 parent a9f3dd5 commit 09e22f0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
[% END -%]
[% PROCESS pageheader.html %]
<style>
[% IF systemSkin == "material" || systemSkin == "DarkDefault" %]
[% IF systemSkin == "material" || systemSkin == "DarkDefault" || systemSkin == "DarkLogic" %]
.updatebutton {font-size: 12px !important;}
.info-circle {stroke: rgb(240, 240, 240);}
.info-i {fill: rgb(240, 240, 240);}
Expand All @@ -17,7 +17,7 @@
.info-circle {stroke: rgb(0, 0, 0);}
.info-i {fill: rgb(0, 0, 0);}
[% END %]
[% IF systemSkin == "Default" || systemSkin == "Logic" || systemSkin == "DarkDefault" %]
[% IF systemSkin == "Default" || systemSkin == "Logic" || systemSkin == "DarkDefault" || systemSkin == "DarkLogic" %]
.pagetitle {padding-top: 6px;}
#headerSearch {padding-top: 3px;}
[% END %]
Expand All @@ -27,7 +27,7 @@
var colorSchemeLight = false;
[% ELSE %]
if(top != self) top.location.replace(location);
[% IF systemSkin == "DarkDefault" %]
[% IF systemSkin == "DarkDefault" || systemSkin == "DarkLogic" %]
var colorSchemeLight = false;
[% ELSE %]
var colorSchemeLight = true;
Expand Down Expand Up @@ -1470,7 +1470,7 @@
</script>
<script type="text/javascript" src="js/showchart.min.js"></script>
<script type="text/javascript">
[% IF systemSkin == "material" || systemSkin == "DarkDefault" %]
[% IF systemSkin == "material" || systemSkin == "DarkDefault" || systemSkin == "DarkLogic" %]
document.getElementById('colorscheme_value').innerHTML = '[% "PLUGIN_VISUALSTATISTICS_CHARTSCOLORSCHEME_DARK" | string %]';
var toggle = document.getElementById('toggleswitch_colorscheme');
toggle.checked = !toggle.checked;
Expand Down
2 changes: 1 addition & 1 deletion VisualStatistics/install.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<id>af8d4c02-48a4-093b-c831-0a9a7f7ae652</id>
<name>PLUGIN_VISUALSTATISTICS</name>
<module>Plugins::VisualStatistics::Plugin</module>
<version>1.7.2</version>
<version>1.7.3</version>
<description>PLUGIN_VISUALSTATISTICS_DESC</description>
<creator>AF</creator>
<icon>plugins/VisualStatistics/html/images/visualstatistics_svg.png</icon>
Expand Down

0 comments on commit 09e22f0

Please sign in to comment.