mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-21 14:20:42 +08:00
In preparation for merging radicle-desktop into radicle-gui. It's a pure rename, so git can follow every file across the move.
38 lines
675 B
Svelte
38 lines
675 B
Svelte
<script lang="ts">
|
|
import {
|
|
decreaseFontSize,
|
|
fontSettings,
|
|
increaseFontSize,
|
|
} from "@app/lib/appearance.svelte";
|
|
|
|
import Button from "@app/components/Button.svelte";
|
|
import Icon from "@app/components/Icon.svelte";
|
|
</script>
|
|
|
|
<style>
|
|
</style>
|
|
|
|
<div class="global-flex" style:gap="0">
|
|
<Button
|
|
variant="ghost"
|
|
flatRight
|
|
onclick={() => {
|
|
decreaseFontSize();
|
|
}}>
|
|
<Icon name="minus" />
|
|
</Button>
|
|
|
|
<Button variant="ghost" flatRight flatLeft active>
|
|
{fontSettings.size}
|
|
</Button>
|
|
|
|
<Button
|
|
variant="ghost"
|
|
flatLeft
|
|
onclick={() => {
|
|
increaseFontSize();
|
|
}}>
|
|
<Icon name="plus" />
|
|
</Button>
|
|
</div>
|