Skip to content

Commit

Permalink
Revert "Dress up for Xmas"
Browse files Browse the repository at this point in the history
This reverts commit 3176651.
  • Loading branch information
NoelDeMartin committed Jan 7, 2024
1 parent eda60b1 commit 3af085f
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 14 deletions.
1 change: 0 additions & 1 deletion src/assets/icons/umai-xmas.svg

This file was deleted.

2 changes: 1 addition & 1 deletion src/components/AppHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
aria-label="Umai"
class="flex ring-primary-100 justify-center items-center space-x-2 focus-visible:outline-none focus-visible:bg-primary-100 focus-visible:ring-8"
>
<i-app-umai-xmas class="mr-2 w-36 h-12 fill-primary-500" />
<i-app-umai class="mr-2 w-36 h-12 fill-primary-500" />
</router-link>
</div>
<div
Expand Down
2 changes: 1 addition & 1 deletion src/routing/pages/home/components/HomeOnboarding.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Umai
</h1>

<i-app-umai-xmas v-if="!$auth.ongoing" class="h-auto w-[250px] max-w-[60vw] fill-primary-500" aria-hidden="true" />
<i-app-umai v-if="!$auth.ongoing" class="h-auto w-[250px] max-w-[60vw] fill-primary-500" aria-hidden="true" />

<div class="mt-4 flex flex-col items-center justify-center">
<HomeOnboardingCreateRecipe v-if="creatingNewRecipe" @cancel="creatingNewRecipe = false" />
Expand Down
2 changes: 1 addition & 1 deletion src/routing/pages/viewer/components/ViewerForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</p>
</div>
<template v-else>
<i-app-umai-xmas class="h-auto w-[250px] max-w-[60vw] fill-primary-500 flex-shrink-0" aria-hidden="true" />
<i-app-umai class="h-auto w-[250px] max-w-[60vw] fill-primary-500 flex-shrink-0" aria-hidden="true" />
<h1 id="viewer-form-title" class="text-2xl font-medium mt-6">
{{ $t('viewer.form.title') }}
</h1>
Expand Down
2 changes: 1 addition & 1 deletion src/routing/pages/viewer/components/ViewerRecipes.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
focus-visible:outline-none focus-visible:bg-primary-100 focus-visible:ring-8
"
>
<i-app-umai-xmas class="mr-2 w-36 h-12 fill-primary-500" />
<i-app-umai class="mr-2 w-36 h-12 fill-primary-500" />
</router-link>
<h1 id="viewer-recipes-collection-title" class="mt-4 text-xl font-semibold">
{{ $viewer.collection.name ?? $t('viewer.collection.titleFallback') }}
Expand Down
12 changes: 3 additions & 9 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,9 @@ export default defineConfig(({ mode }) => {
app: FileSystemIconLoader('./src/assets/icons'),
},
iconCustomizer(_, icon, props) {
switch (icon) {
case 'umai':
props.width = '1.2em';
props.height = `${(1.2 * 369) / 1047}em`;
break;
case 'umai-xmas':
props.width = '1.2em';
props.height = `${(1.2 * 484.781) / 1044.344}em`;
break;
if (icon === 'umai') {
props.width = '1.2em';
props.height = `${(1.2 * 369) / 1047}em`;
}
},
}),
Expand Down

0 comments on commit 3af085f

Please sign in to comment.