]> BookStack Code Mirror - bookstack/blob - resources/views/exports/parts/styles.blade.php
Guest create page: name field autofocus
[bookstack] / resources / views / exports / parts / styles.blade.php
1 {{-- Fetch in our standard export styles --}}
2 <style>
3     @if (!app()->runningUnitTests())
4         {!! file_get_contents(public_path('/dist/export-styles.css')) !!}
5     @endif
6 </style>
7
8 {{-- Apply any additional styles that can't be applied via our standard SCSS export styles --}}
9 @if ($format === 'pdf')
10     <style>
11         /* Patches for CSS variable colors within PDF exports */
12         a {
13             color: {{ setting('app-color') }};
14         }
15
16         blockquote {
17             border-left-color: {{ setting('app-color') }};
18         }
19     </style>
20 @endif