design: redesign credentials page
This commit is contained in:
1 parent
37b28cf8ab
commit
3ada11ea58
15 files changed
+558
-289
No files matched your search
@@ -14,7 +14,7 @@
|
||||
}[] = []
|
||||
</script>
|
||||
|
||||
<Material color="transparent" padding="none" rounding="xl">
|
||||
<Material color="transparent" padding="none" rounding="xl" {...$$restProps}>
|
||||
{#if banner}
|
||||
<div class="max-h-36 overflow-visible">
|
||||
<img
|
||||
@@ -34,7 +34,7 @@
|
||||
class="ring-4 ring-slate-25 dark:ring-zinc-925 bg-slate-25 dark:bg-zinc-925"
|
||||
/>
|
||||
<div>
|
||||
<span class="text-lg font-semibold">
|
||||
<span class="text-lg font-medium">
|
||||
{name}
|
||||
</span>
|
||||
<span
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
"
|
||||
>
|
||||
<h1
|
||||
class="text-3xl font-bold flex items-center gap-2 w-full
|
||||
class="text-3xl font-medium flex items-center gap-2 w-full
|
||||
{$userSettings.font == 'satoshi/nunito'
|
||||
? 'font-display'
|
||||
: ''} {$$props.class ?? ''}"
|
||||
|
||||
@@ -22,10 +22,8 @@
|
||||
on:click
|
||||
on:contextmenu
|
||||
class="font-normal {selected
|
||||
? 'text-primary-900 dark:!text-primary-100'
|
||||
: 'text-slate-600 dark:text-zinc-400'} {$userSettings.expandSidebar
|
||||
? ''
|
||||
: '//max-lg:!p-1 //[&>*]:max-lg:!justify-center'} {$$props.class}"
|
||||
? 'text-primary-900 dark:!text-primary-100 bg-slate-100 dark:bg-zinc-800'
|
||||
: 'text-slate-600 dark:text-zinc-400'} {$$props.class}"
|
||||
>
|
||||
<slot {selected} name="icon" slot="prefix">
|
||||
{#if icon}
|
||||
|
||||
@@ -197,7 +197,7 @@
|
||||
"user": "User",
|
||||
"settings": "Settings",
|
||||
"blocks": "Blocks",
|
||||
"credentials": "Credentials",
|
||||
"credentials": "Account",
|
||||
"moderates": "Moderating",
|
||||
"favorites": "Favorites",
|
||||
"upvoted": "Upvoted",
|
||||
@@ -205,6 +205,12 @@
|
||||
"media": {
|
||||
"title": "Media",
|
||||
"download": "Download"
|
||||
},
|
||||
"logins": "Logins",
|
||||
"welcome": "Welcome, {{default}}!",
|
||||
"delete": {
|
||||
"title": "Delete account",
|
||||
"warning": "This is permanent. Are you sure you want to do this?"
|
||||
}
|
||||
},
|
||||
"translators": "Translators",
|
||||
@@ -532,7 +538,8 @@
|
||||
"disable": "Disable",
|
||||
"add": "Add",
|
||||
"cancel": "Cancel",
|
||||
"send": "Send"
|
||||
"send": "Send",
|
||||
"general": "General"
|
||||
},
|
||||
"message": {
|
||||
"success": "Success",
|
||||
|
||||
Reference in new issue
Block a user