Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanatkn committed Feb 27, 2024
1 parent a138e47 commit bd7696d
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/routes/library/typography/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,13 @@
<div>
{#each {length: 3} as _, i}
{@const name = 'text_' + (i + 1)}
<Style_Variable_Button {name}
><span style:color="var(--{name})">
{name}
</span></Style_Variable_Button
>
<div class="row">
<Style_Variable_Button {name}
><span style:color="var(--{name})">
{name}
</span></Style_Variable_Button
> = <code>{computed_styles.getPropertyValue('--' + name)}</code>
</div>
{/each}
</div>
</section>
Expand Down

0 comments on commit bd7696d

Please sign in to comment.