Skip to content

Commit

Permalink
chore: use Table component from ui package (#1193)
Browse files Browse the repository at this point in the history
Signed-off-by: lstocchi <[email protected]>
  • Loading branch information
lstocchi authored Jun 11, 2024
1 parent b384a3d commit 1a8eade
Show file tree
Hide file tree
Showing 16 changed files with 62 additions and 737 deletions.
2 changes: 1 addition & 1 deletion packages/frontend/src/lib/NavPage.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export let contentBackground = '';
export let lastPage: TinroBreadcrumb | undefined = undefined;
</script>

<div class="flex flex-col w-full h-full shadow-pageheader bg-charcoal-600">
<div class="flex flex-col w-full h-full shadow-pageheader bg-charcoal-700">
<div class="flex flex-col w-full h-full pt-4" role="region" aria-label="{title}">
<div class="flex pb-2 px-5" role="region" aria-label="header">
<div class="flex flex-col w-full">
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/src/lib/RecipeCard.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { getIcon } from '/@/utils/categoriesUtils.js';
import Card from '/@/lib/Card.svelte';
import type { Recipe } from '@shared/src/models/IRecipe';
export let background: string = 'bg-charcoal-700';
export let background: string = 'bg-charcoal-600';
export let backgroundHover: string = 'hover:bg-charcoal-500';
export let recipe: Recipe;
Expand Down
4 changes: 2 additions & 2 deletions packages/frontend/src/lib/RecipeDetails.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ const deleteLocalClone = () => {
};
</script>

<div class="w-full bg-charcoal-600 rounded-md p-4">
<div class="w-full bg-charcoal-700 rounded-md p-4">
<div class="flex flex-row items-center">
{#if appState && appState.pod}
<div class="grow flex overflow-hidden whitespace-nowrap items-center" aria-label="app-status">
Expand Down Expand Up @@ -116,7 +116,7 @@ const deleteLocalClone = () => {
</div>
{/if}
</div>
<div class="flex flex-col w-full space-y-4 rounded-md bg-charcoal-600 p-4">
<div class="flex flex-col w-full space-y-4 rounded-md bg-charcoal-700 p-4">
{#if model}
<div class="flex flex-col space-y-2">
<div class="flex flex-row justify-between">
Expand Down
33 changes: 0 additions & 33 deletions packages/frontend/src/lib/table/SimpleColumn.spec.ts

This file was deleted.

7 changes: 0 additions & 7 deletions packages/frontend/src/lib/table/SimpleColumn.svelte

This file was deleted.

254 changes: 0 additions & 254 deletions packages/frontend/src/lib/table/Table.spec.ts

This file was deleted.

Loading

0 comments on commit 1a8eade

Please sign in to comment.