-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Button and Coloring QoLs and hovering problems (#24)
* fix: Colors of text and cards failure, found config bugs * feat: Add color and themes to site and fix theme bugs * feat: css bases, themes * css base * feat: sidebar icon colors * fix: Wording of import export buttons in settings * fix: Button and Coloring QoLs and hovering problems --------- Co-authored-by: Pigeon <[email protected]>
- Loading branch information
1 parent
03dc2d9
commit 76c4003
Showing
3 changed files
with
44 additions
and
22 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,23 @@ | ||
src/routes/homepage/+page.svelte | ||
<script lang="ts"> | ||
import * as Card from '$lib/components/ui/card'; | ||
import { Button } from '$lib/components/ui/button'; | ||
import { settings } from '$lib/store/global_state'; | ||
import { get } from 'svelte/store'; | ||
import { type Settings, Convert as SettingsConvertor } from '$lib/structs/settings'; | ||
</script> | ||
|
||
<div class="col-span-2 row-span-2"> | ||
<Card.Root class="size-full text-white flex flex-col"> | ||
<Card.Header> | ||
<!--TODO: Replace this with i18n key--> | ||
<Card.Title>Changelog:</Card.Title> | ||
</Card.Header> | ||
<Card.Content class="flex-1"> | ||
<p class="whitespace-pre-line">Changelog TXT</p> | ||
</Card.Content> | ||
<Card.Footer class="flex-1 items-end justify-end"> | ||
<Button variant="default" class="rounded-xl border-2 border-gray-600">More</Button> | ||
<Button variant="link" class="rounded-xl border-2 border-gray-600 ml-5">Hide</Button> | ||
</Card.Footer> | ||
</Card.Root> | ||
</div> |
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