diff options
Diffstat (limited to 'web/pw-server/src/lib')
-rw-r--r-- | web/pw-server/src/lib/components/docs/TocEntry.svelte | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/web/pw-server/src/lib/components/docs/TocEntry.svelte b/web/pw-server/src/lib/components/docs/TocEntry.svelte new file mode 100644 index 0000000..b28e7fd --- /dev/null +++ b/web/pw-server/src/lib/components/docs/TocEntry.svelte @@ -0,0 +1,21 @@ +<script lang="ts"> + export let href: string; + export let text: string; +</script> + +<div class="toc-entry"> + <a {href}>{text}</a> +</div> + +<style scoped lang="scss"> + @use "src/styles/variables"; + + .toc-entry { + font-size: 16px; + padding: 4px; + } + + .toc-entry a { + color: variables.$blue-primary; + } +</style> |