2023-01-28 12:11:15 -05:00
|
|
|
@php
|
|
|
|
$settingSuffix = setting()->getForCurrentUser('dark-mode-enabled') ? '-dark' : '';
|
|
|
|
@endphp
|
|
|
|
<style>
|
2019-08-25 07:40:04 -04:00
|
|
|
:root {
|
2023-01-28 10:20:08 -05:00
|
|
|
--color-primary: {{ setting('app-color' . $settingSuffix) }};
|
|
|
|
--color-primary-light: {{ setting('app-color-light' . $settingSuffix) }};
|
|
|
|
--color-link: {{ setting('link-color' . $settingSuffix) }};
|
|
|
|
--color-bookshelf: {{ setting('bookshelf-color' . $settingSuffix)}};
|
|
|
|
--color-book: {{ setting('book-color' . $settingSuffix)}};
|
|
|
|
--color-chapter: {{ setting('chapter-color' . $settingSuffix)}};
|
|
|
|
--color-page: {{ setting('page-color' . $settingSuffix)}};
|
|
|
|
--color-page-draft: {{ setting('page-draft-color' . $settingSuffix)}};
|
2016-06-12 08:37:15 -04:00
|
|
|
}
|
2019-10-17 14:46:18 -04:00
|
|
|
</style>
|