reafactor: body text

This commit is contained in:
Arman
2023-04-03 14:33:45 +02:00
parent a46783e469
commit 260f7232d1
20 changed files with 26 additions and 26 deletions
+1 -1
View File
@@ -41,7 +41,7 @@
<slot>
<div class="u-text-center">
<Heading size="7" tag="h2">Create your first {target} to get started.</Heading>
<p class="body-text-2 u-margin-block-start-4">
<p class="body-text-2 u-bold u-margin-block-start-4">
Need a hand? Check out our documentation.
</p>
</div>
+1 -1
View File
@@ -36,7 +36,7 @@
<section class="drop-section">
<header class="u-flex u-main-space-between u-gap-16">
<h4 class="body-text-1">How can we improve?</h4>
<h4 class="body-text-1 u-bold">How can we improve?</h4>
<button
type="button"
class="button is-text is-only-icon u-margin-inline-start-auto"
+1 -1
View File
@@ -33,7 +33,7 @@
<section class="drop-section">
<header class="u-flex u-main-space-between u-gap-16">
<h4 class="body-text-1">How are we doing?</h4>
<h4 class="body-text-1 u-bold">How are we doing?</h4>
<button
type="button"
class="button is-text is-only-icon u-margin-inline-start-auto"
+1 -1
View File
@@ -11,7 +11,7 @@
<div class="modal-form">
<header class="modal-header">
<div class="u-flex u-main-space-between u-cross-center u-gap-16">
<h4 class="modal-title body-text-1">
<h4 class="modal-title body-text-1 u-bold">
<slot name="title" />
</h4>
{#if closable}
+1 -1
View File
@@ -31,7 +31,7 @@
bind:group
on:click />
<div class="u-flex u-flex-vertical u-gap-4">
<h4 class="body-text-2"><slot name="title" /></h4>
<h4 class="body-text-2 u-bold"><slot name="title" /></h4>
<p class="u-color-text-gray u-small">
<slot />
</p>
+2 -2
View File
@@ -98,7 +98,7 @@
<label class="u-flex u-cross-center u-gap-8" for={team.$id}>
<AvatarInitials size={32} name={team.name} />
<div class="u-line-height-1-5">
<div class="body-text-2">{team.name}</div>
<div class="body-text-2 u-bold">{team.name}</div>
<div class="u-x-small">{team.$id}</div>
</div>
</label>
@@ -116,7 +116,7 @@
<EmptySearch hidePages>
<div class="common-section">
<div class="u-text-center common-section">
<b class="body-text-2">Sorry we couldn't find "{search}"</b>
<b class="body-text-2 u-bold">Sorry we couldn't find "{search}"</b>
<p>There are no teams that match your search.</p>
</div>
<div class="u-flex u-gap-16 common-section u-main-center">
+4 -4
View File
@@ -93,7 +93,7 @@
{#if user.name}
<AvatarInitials size={32} name={user.name} />
<div class="u-line-height-1-5">
<div class="body-text-2">
<div class="body-text-2 u-bold">
{user.name}
</div>
<div class="u-x-small">{user.$id}</div>
@@ -103,7 +103,7 @@
<span class="icon-minus-sm" aria-hidden="true" />
</div>
<div class="u-line-height-1-5">
<div class="body-text-2">
<div class="body-text-2 u-bold">
{user.email ? user.email : user.phone}
</div>
<div class="u-x-small">{user.$id}</div>
@@ -114,7 +114,7 @@
<span class="icon-anonymous" aria-hidden="true" />
</div>
<div class="u-line-height-1-5">
<div class="body-text-2">
<div class="body-text-2 u-bold">
{user.name ? user.name : '-'}
</div>
<div class="u-x-small">{user.$id}</div>
@@ -135,7 +135,7 @@
<EmptySearch hidePages>
<div class="common-section">
<div class="u-text-center common-section">
<b class="body-text-2">Sorry we couldn't find "{search}"</b>
<b class="body-text-2 u-bold">Sorry we couldn't find "{search}"</b>
<p>There are no Users that match your search.</p>
</div>
<div class="u-flex u-gap-16 common-section u-main-center">
+1 -1
View File
@@ -93,7 +93,7 @@
<div class="u-flex u-main-center u-cross-center u-gap-16 u-flex-vertical-mobile">
{#if maxSize}
{@const readableMaxSize = humanFileSize(maxSize)}
<p class="upload-file-box-info body-text-2 u-normal">
<p class="upload-file-box-info body-text-2">
Max file size: {readableMaxSize.value + readableMaxSize.unit}
</p>
{/if}
+1 -1
View File
@@ -9,7 +9,7 @@
class:is-only-desktop={onlyDesktop}
class="table-thead-col"
role="columnheader">
<span class={eyebrow ? 'eyebrow-heading-3' : 'body-text-2'}>
<span class={eyebrow ? 'eyebrow-heading-3' : 'body-text-2 u-bold'}>
<slot />
</span>
</div>
+3 -3
View File
@@ -49,7 +49,7 @@
{#if $log.data}
<section class="cover-frame" data-private>
<header class="cover-frame-header u-flex u-gap-16 u-main-space-between u-cross-center">
<h1 class="body-text-1">Function ID: {$log.func.$id}</h1>
<h1 class="body-text-1 u-bold">Function ID: {$log.func.$id}</h1>
<button
on:click={() => ($log.show = false)}
class="button is-text is-only-icon"
@@ -73,7 +73,7 @@
</div>
<div>
<div class="u-flex u-gap-12 u-cross-center">
<h2 class="body-text-2">Deployment ID:</h2>
<h2 class="body-text-2 u-bold">Deployment ID:</h2>
<Output value={$log.data.$id}>
{$log.data.$id}
</Output>
@@ -145,7 +145,7 @@
</div>
<div>
<div class="u-flex u-gap-12 u-cross-center">
<h2 class="body-text-2">Execution ID:</h2>
<h2 class="body-text-2 u-bold">Execution ID:</h2>
<Output value={$log.data.$id}>
{$log.data.$id}
</Output>
+1 -1
View File
@@ -95,7 +95,7 @@
<div class="wizard-end-bg" />
<header class="wizard-header">
<div class="body-text-1">{title}</div>
<div class="body-text-1 u-bold">{title}</div>
<slot name="header" />
<button
@@ -6,5 +6,5 @@
<Container>
<Heading size="1" tag="h3">{$page.status}</Heading>
<p class="body-text-2 u-margin-block-start-4">{$page.error.message}</p>
<p class="body-text-2 u-bold u-margin-block-start-4">{$page.error.message}</p>
</Container>
@@ -68,7 +68,7 @@
<Empty single target="attribute" on:click={() => (showCreateDropdown = true)}>
<div class="u-text-center">
<Heading size="7" tag="h2">Create your first attribute to get started.</Heading>
<p class="body-text-2 u-margin-block-start-4">
<p class="body-text-2 u-bold u-margin-block-start-4">
Need a hand? Check out our documentation.
</p>
</div>
@@ -165,7 +165,7 @@
<Empty single target="attribute" on:click={() => (showEmptyCreateDropdown = true)}>
<div class="u-text-center">
<Heading size="7" tag="h2">Create your first attribute to get started.</Heading>
<p class="body-text-2 u-margin-block-start-4">
<p class="body-text-2 u-bold u-margin-block-start-4">
Need a hand? Check out our documentation.
</p>
</div>
@@ -124,7 +124,7 @@
<Empty single target="attribute" on:click={() => (showCreateDropdown = true)}>
<div class="u-text-center">
<Heading size="7" tag="h2">Create your first attribute to get started.</Heading>
<p class="body-text-2 u-margin-block-start-4">
<p class="body-text-2 u-bold u-margin-block-start-4">
Need a hand? Check out our documentation.
</p>
</div>
@@ -254,7 +254,7 @@
<div class="u-text-center">
<Heading size="7" tag="h2"
>You have no inactive deployments. Create one to see it here.</Heading>
<p class="body-text-2 u-margin-block-start-4">
<p class="body-text-2 u-bold u-margin-block-start-4">
Learn more about deployments in our Documentation.
</p>
</div>
@@ -187,7 +187,7 @@
<img src={GithubLight} alt="github" />
{/if}
<div class="u-flex u-flex-vertical u-gap-24">
<h3 class="body-text-1">Coming Soon!</h3>
<h3 class="body-text-1 u-bold">Coming Soon!</h3>
<p>
Creating deployments will be easier than ever with our upcoming Git Integration.
Just set up a repository and we'll do the rest.
@@ -119,7 +119,7 @@
<div class="grid-item-1-end-start">
<div class="heading-level-4">
{storage.value}
<span class="body-text-2">{storage.unit}</span>
<span class="body-text-2 u-bold">{storage.unit}</span>
</div>
<div>Storage</div>
</div>
@@ -28,7 +28,7 @@
<div>
<div class="heading-level-4">
{bandwith.value}
<span class="body-text-2">{bandwith.unit}</span>
<span class="body-text-2 u-bold">{bandwith.unit}</span>
</div>
<div>Bandwidth</div>
</div>
@@ -141,7 +141,7 @@
<slot>
<div class="u-text-center">
<Heading size="7" tag="h4">Create your first platform to get started.</Heading>
<p class="body-text-2 u-margin-block-start-4">
<p class="body-text-2 u-bold u-margin-block-start-4">
Need a hand? Check out our documentation.
</p>
</div>