clove/pkviewer
web/src/lib/components/CustomStyle.svelte
back to web/src/lib/components
<!-- web/src/lib/components/CustomStyle.svelte -->
<script lang="ts">
// Already compiled by api/shared/css/sanitize.ts, which cannot emit "</style>".
// Deliberately not re-checked here: one boundary, on the write path.
let { css }: { css: string } = $props();
</script>
{#if css}
{@html `<style data-pkv-custom="">${css}</style>`}
{/if}