summaryrefslogtreecommitdiff
path: root/src/components/jet/item/ParagraphShelfItem.svelte
blob: 9adf09cc0444d72628a8602c0cb5345a03bcaa81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<script lang="ts">
    import type { Paragraph } from '@jet-app/app-store/api/models';
    import he from 'he';

    export let item: Paragraph;
</script>

<p>
    {@html he.decode(item.text)}
</p>

<style>
    p {
        font: var(--title-2-medium);
        color: var(--systemSecondary);
    }

    p :global(b) {
        color: var(--systemPrimary);
    }
</style>