init commit
This commit is contained in:
21
src/components/jet/item/ParagraphShelfItem.svelte
Normal file
21
src/components/jet/item/ParagraphShelfItem.svelte
Normal file
@@ -0,0 +1,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>
|
||||
Reference in New Issue
Block a user