2022-06-08 18:56:59 +02:00
|
|
|
{{-- 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 {
|
2023-01-28 18:49:48 +01:00
|
|
|
color: {{ setting('app-link') }};
|
2022-06-08 18:56:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
blockquote {
|
|
|
|
border-left-color: {{ setting('app-color') }};
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
@endif
|