MapComplete/src/UI/StylesheetTestGui.svelte

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

49 lines
1.3 KiB
Svelte
Raw Normal View History

<script lang="ts">
2023-12-01 15:23:28 +01:00
import Loading from "./Base/Loading.svelte"
import Community from "../assets/svg/Community.svelte"
import Login from "../assets/svg/Login.svelte"
2024-04-23 23:06:04 +02:00
import Dropdown from "./Base/Dropdown.svelte"
import { UIEventSource } from "../Logic/UIEventSource"
import StylesheetTestUnit from "./StylesheetTestUnit.svelte"
</script>
<main class="w-full h-full p-4">
2024-06-20 04:21:29 +02:00
<div class="flex flex-col gap-y-2">
2024-06-16 16:06:26 +02:00
<h1>Stylesheet testing grounds</h1>
This document exists to explore the style hierarchy.
<div class="border-interactive m-2 p-2">
2024-06-17 04:27:08 +02:00
<h2>Normal background</h2>
There are a few styles, such as the
<span class="literal-code">normal-background</span>
-style which is used if there is nothing special going on. Some general information, with at most
<StylesheetTestUnit/>
</div>
2024-06-16 16:06:26 +02:00
<div class="low-interaction flex flex-col">
<h2>Low interaction</h2>
<p>
There are <span class="literal-code">low-interaction</span>
areas, where some buttons might appear.
</p>
<StylesheetTestUnit/>
2024-06-16 16:06:26 +02:00
</div>
2023-11-09 16:30:26 +01:00
2024-06-16 16:06:26 +02:00
<div class="interactive flex flex-col">
<h2>Interactive area</h2>
<p>
There are <span class="literal-code">interactive</span>
areas, where many buttons and input elements will appear.
</p>
<StylesheetTestUnit/>
2024-06-16 16:06:26 +02:00
</div>
</div>
</main>