-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Expand file tree
/
Copy pathcustom-styles.blade.php
More file actions
22 lines (22 loc) · 1007 Bytes
/
custom-styles.blade.php
File metadata and controls
22 lines (22 loc) · 1007 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<style>
:root {
--color-primary: {{ setting('app-color') }};
--color-primary-light: {{ setting('app-color-light') }};
--color-link: {{ setting('link-color') }};
--color-bookshelf: {{ setting('bookshelf-color') }};
--color-book: {{ setting('book-color') }};
--color-chapter: {{ setting('chapter-color') }};
--color-page: {{ setting('page-color') }};
--color-page-draft: {{ setting('page-draft-color') }};
}
:root.dark-mode {
--color-primary: {{ setting('app-color-dark') }};
--color-primary-light: {{ setting('app-color-light-dark') }};
--color-link: {{ setting('link-color-dark') }};
--color-bookshelf: {{ setting('bookshelf-color-dark') }};
--color-book: {{ setting('book-color-dark') }};
--color-chapter: {{ setting('chapter-color-dark') }};
--color-page: {{ setting('page-color-dark') }};
--color-page-draft: {{ setting('page-draft-color-dark') }};
}
</style>