Skip to content

Commit

Permalink
chore: changing font sizes and weights in the provider card on the da…
Browse files Browse the repository at this point in the history
…shboard

Signed-off-by: emma kidney <ekidney@redhat.com>
  • Loading branch information
ekidneyrh authored and benoitf committed Apr 8, 2024
1 parent 0b77cf2 commit 1506b5f
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions packages/renderer/src/lib/dashboard/ProviderCard.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ export let provider: ProviderInfo;
<div class="flex flex-row">
<div class="flex flex-row">
<IconImage image="{provider?.images?.icon}" class="mx-auto max-h-12" alt="{provider.name}"></IconImage>
<div class="flex flex-col text-gray-400 ml-3 whitespace-nowrap" aria-label="context-name">
<div class="flex flex-col text-gray-400 text-lg font-bold ml-3 whitespace-nowrap" aria-label="context-name">
<div class="flex flex-row items-center">
{provider.name}
{#if provider.version}
<div class="text-gray-800 text-sm pl-1" aria-label="Provider Version">
<div class="text-gray-800 text-base font-light pl-1" aria-label="Provider Version">
v{provider.version}
</div>
{/if}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ onMount(() => {

<ProviderCard provider="{provider}">
<svelte:fragment slot="content">
<p class="text-base text-gray-700">
<p class="text-sm text-gray-700">
To start working with containers, {provider.name}
{#if provider.version}
v{provider.version}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ function onInstallationClick() {

<ProviderCard provider="{provider}">
<svelte:fragment slot="content">
<p class="text-base text-gray-700" aria-label="Suggested Actions">
<p class="text-sm text-gray-700" aria-label="Suggested Actions">
To start working with containers, {provider.name} needs to be initialized.
</p>

Expand Down
2 changes: 1 addition & 1 deletion packages/renderer/src/lib/dashboard/ProviderLinks.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export let provider: ProviderInfo;
<div class="mt-2 flex flex-row justify-around">
{#each provider.links as link}
{#if link.group === undefined}
<Link class="text-sm" externalRef="{link.url}">
<Link class="text-base" externalRef="{link.url}">
{link.title}
</Link>
{/if}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ let preflightChecks: CheckStatus[] = [];

<ProviderCard provider="{provider}">
<svelte:fragment slot="content">
<p class="text-base text-gray-700" aria-label="Suggested Actions">
<p class="text-sm text-gray-700" aria-label="Suggested Actions">
Could not find an installation. To start working with containers, {provider.name} needs to be detected/installed.
</p>
<div class="mt-5 mb-1 w-full flex justify-around">
Expand Down
2 changes: 1 addition & 1 deletion packages/renderer/src/lib/dashboard/ProviderReady.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ let preflightChecks: CheckStatus[] = [];
<ProviderCard provider="{provider}">
<svelte:fragment slot="content">
{#if provider.containerConnections.length > 0}
<div class="flex flex-row text-xs text-gray-900 mt-4">
<div class="flex flex-row text-sm text-gray-900 mt-4">
<p>
{provider.containerConnections.map(c => c.name).join(', ')}
</p>
Expand Down
2 changes: 1 addition & 1 deletion packages/renderer/src/lib/ui/ProviderStatus.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ interface connectionStatusStyle {
| 'configured'
| 'unknown';*/
const roundIconStyle = 'my-auto w-3 h-3 rounded-full';
const labelStyle = 'my-auto ml-1 font-bold text-[9px]';
const labelStyle = 'my-auto ml-1 text-base font-medium';
const statusesStyle = new Map<string, connectionStatusStyle>([
[
'ready',
Expand Down

0 comments on commit 1506b5f

Please sign in to comment.