Skip to content

Commit

Permalink
creation of divide table + format & lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jwatts777 committed Dec 3, 2023
1 parent df93770 commit d3949b0
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions sites/skeleton.dev/src/routes/(inner)/docs/tokens/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@
head: headings,
body: [
['<code class="code">.border-token</code>', '', "Implements your theme's configured border size."],
['<code class="code">.border-[color]-[pairings]-token</code>', `${vColorsAll}<br>${vPairings}`, descPairings],
['<code class="code">.divide-[color]-[pairings]-token</code>', `${vColorsAll}<br>${vPairings}`, descPairings]
['<code class="code">.border-[color]-[pairings]-token</code>', `${vColorsAll}<br>${vPairings}`, descPairings]
]
};
const tableFills: TableSource = {
Expand Down Expand Up @@ -75,6 +74,10 @@
head: headings,
body: [['<code class="code">.decoration-[color]-[pairings]-token</code>', `${vColorsAll}<br>${vPairings}`, descPairings]]
};
const tableDivide: TableSource = {
head: headings,
body: [['<code class="code">.divide-[color]-[pairings]-token</code>', `${vColorsAll}<br>${vPairings}`, descPairings]]
};
const tableMisc: TableSource = {
head: headings,
body: [
Expand Down Expand Up @@ -154,6 +157,11 @@
<h2 class="h2">Borders</h2>
<Table source={tableBorder} />
</section>
<!-- Divides -->
<section class="space-y-4">
<h2 class="h2">Divide</h2>
<Table source={tableFills} />
</section>
<!-- Fills -->
<section class="space-y-4">
<h2 class="h2">SVG Fill Color</h2>
Expand Down

0 comments on commit d3949b0

Please sign in to comment.