Refactor dark style
This commit is contained in:
parent
0230f2e39e
commit
ddae657108
2 changed files with 10 additions and 2 deletions
|
@ -1,5 +1,3 @@
|
|||
@import 'default/dark.css?v=0.7.1';
|
||||
|
||||
:root {
|
||||
--lineHeight: 1.4285;
|
||||
--wishPreviewHeight: min(30vh, 224px);
|
||||
|
|
|
@ -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';
|
||||
|
||||
|
|
Loading…
Reference in a new issue