generated from ryanatkn/fuz_template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
103 changed files
with
3,171 additions
and
249 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<script lang="ts"> | ||
export let lazy = true; | ||
export let open: boolean | null | undefined = undefined; | ||
</script> | ||
|
||
<!-- TODO svelte5 splat attrs --> | ||
<details bind:open> | ||
{#if lazy} | ||
<slot name="summary" /> | ||
{#if open} | ||
<slot /> | ||
{/if} | ||
{:else} | ||
<slot name="summary" /> | ||
<slot /> | ||
{/if} | ||
</details> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/* @ryanatkn/fuz/utility_classes.css */ | ||
|
||
/* TODO @multiple docs in library */ | ||
|
||
/* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/* @ryanatkn/fuz/variable_classes.css */ | ||
|
||
/* TODO @multiple docs in library */ | ||
|
||
/* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<script lang="ts"> | ||
import Code from '@ryanatkn/fuz_code/Code.svelte'; | ||
import Tome_Detail from '$lib/Tome_Detail.svelte'; | ||
import {get_tome} from '$lib/tome.js'; | ||
import utility_classes_text from '$lib/utility_classes.css?raw'; | ||
import variable_classes_text from '$lib/variable_classes.css?raw'; | ||
import semantic_classes_text from '$lib/semantic_classes.css?raw'; | ||
import Details from '$lib/Details.svelte'; | ||
const LIBRARY_ITEM_NAME = 'classes'; | ||
const tome = get_tome(LIBRARY_ITEM_NAME); | ||
</script> | ||
|
||
<Tome_Detail {tome}> | ||
<div class="prose"> | ||
<section> | ||
Fuz provides an arbitrary subset of utility classes for CSS, and defers to CSS in <a | ||
href="https://svelte.dev/docs/svelte-components#style">Svelte's <code>{'<'}style></code></a | ||
> for complex and uncommon patterns. This may change depending on build tool sophistication, like | ||
a compiler or Vite plugin to remove unused styles. | ||
</section> | ||
<section> | ||
<h3>Raw CSS</h3> | ||
<Details> | ||
<summary slot="summary">utility classes</summary> | ||
<Code content={utility_classes_text} lang="css" /> | ||
</Details> | ||
<Details> | ||
<summary slot="summary">variable classes</summary> | ||
<Code content={variable_classes_text} lang="css" /> | ||
</Details> | ||
<Details> | ||
<summary slot="summary">semantic classes</summary> | ||
<Code content={semantic_classes_text} lang="css" /> | ||
</Details> | ||
</section> | ||
</div> | ||
</Tome_Detail> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
_app/immutable/chunks/18.BYoWURj6.js → _app/immutable/chunks/18.DEu01MdX.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
_app/immutable/chunks/32.BHgGZOHi.js → _app/immutable/chunks/33.CBrwlYSj.js
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.