mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-12-01 21:35:16 +08:00
7751022c66
Updated export to use link color for link. Export will now copy primary color to link color options for stable upgrades.
20 lines
561 B
PHP
20 lines
561 B
PHP
{{-- Fetch in our standard export styles --}}
|
|
<style>
|
|
@if (!app()->runningUnitTests())
|
|
{!! file_get_contents(public_path('/dist/export-styles.css')) !!}
|
|
@endif
|
|
</style>
|
|
|
|
{{-- Apply any additional styles that can't be applied via our standard SCSS export styles --}}
|
|
@if ($format === 'pdf')
|
|
<style>
|
|
/* Patches for CSS variable colors within PDF exports */
|
|
a {
|
|
color: {{ setting('app-link') }};
|
|
}
|
|
|
|
blockquote {
|
|
border-left-color: {{ setting('app-color') }};
|
|
}
|
|
</style>
|
|
@endif |