Refactor dark style

This commit is contained in:
grandeljay 2022-11-09 13:56:50 +01:00
parent 0230f2e39e
commit ddae657108
2 changed files with 10 additions and 2 deletions

View file

@ -1,5 +1,3 @@
@import 'default/dark.css?v=0.7.1';
:root {
--lineHeight: 1.4285;
--wishPreviewHeight: min(30vh, 224px);

View file

@ -309,6 +309,16 @@ class Page
/>
<?php
/** Default (Dark) */
$stylesheetDefaultDark = 'src/assets/css/default/dark.css';
$stylesheetDefaultDarkModified = filemtime($stylesheetDefaultDark);
?>
<link rel="stylesheet"
type="text/css"
href="/<?= $stylesheetDefaultDark ?>?m=<?= $stylesheetDefaultDarkModified ?>"
/>
<?php
/** Page */
$stylesheetPage = 'src/assets/css/' . $this->name . '.css';