mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
fix: fixed colors
This commit is contained in:
1 parent
1228ee2a0f
commit
25300097ac
1 file changed
+27
-6
@@ -401,17 +401,38 @@
|
||||
{/if}
|
||||
</div>
|
||||
<div class="usage-text-section">
|
||||
<Typography.Text
|
||||
variant="m-400"
|
||||
color="--fgcolor-neutral-primary">
|
||||
{child.cells?.[col.id] ?? ''}
|
||||
</Typography.Text>
|
||||
{#if child.cells?.[col.id]?.includes(' / ')}
|
||||
{@const usageParts = (
|
||||
child.cells?.[col.id] ?? ''
|
||||
).split(' / ')}
|
||||
<Typography.Text
|
||||
variant="m-400"
|
||||
color="--fgcolor-neutral-secondary">
|
||||
{usageParts[0]}
|
||||
</Typography.Text>
|
||||
<Typography.Text
|
||||
variant="m-400"
|
||||
color="--fgcolor-neutral-tertiary">
|
||||
{' / '}
|
||||
</Typography.Text>
|
||||
<Typography.Text
|
||||
variant="m-400"
|
||||
color="--fgcolor-neutral-tertiary">
|
||||
{usageParts[1]}
|
||||
</Typography.Text>
|
||||
{:else}
|
||||
<Typography.Text
|
||||
variant="m-400"
|
||||
color="--fgcolor-neutral-secondary">
|
||||
{child.cells?.[col.id] ?? ''}
|
||||
</Typography.Text>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
{:else}
|
||||
<Typography.Text
|
||||
variant="m-400"
|
||||
color="--fgcolor-neutral-primary">
|
||||
color="--fgcolor-neutral-secondary">
|
||||
{child.cells?.[col.id] ?? ''}
|
||||
</Typography.Text>
|
||||
{/if}
|
||||
|
||||
Reference in new issue
Block a user