Rework calendar

This commit is contained in:
2026-04-04 16:54:42 +02:00
parent c11f184d1c
commit 20424b4ecb
10 changed files with 821 additions and 341 deletions

View File

@@ -1,9 +1,9 @@
import { getRecipeListHTML, setupRecipeList } from './views/RecipeList.js?v=2';
import { getFilterHTML, setupFilter } from './views/Filter.js?v=2';
import { getRecipeDetailHTML, setupRecipeDetail } from './views/RecipeDetailV2.js?v=2';
import { getMealPlannerHTML, setupMealPlanner } from './views/MealPlanner.js?v=2';
import { getMealPlannerHTML, setupMealPlanner } from './views/MealPlanner.js?v=4';
import { getPantryHTML, refreshPantry, setupPantry } from './views/Pantry.js?v=2';
import { getMealPlanEditorHTML, setupMealPlanEditor } from './ui/mealPlanEditor.js?v=3';
import { getMealPlanEditorHTML, setupMealPlanEditor } from './ui/mealPlanEditor.js?v=5';
function getAppToastHTML() {
return `
@@ -52,7 +52,7 @@ function setupThemeToggle() {
if (label) label.textContent = isDark ? 'Jasny' : 'Ciemny';
const meta = document.querySelector('meta[name="theme-color"]');
if (meta) meta.setAttribute('content', isDark ? '#0d0d0d' : '#ffffff');
if (meta) meta.setAttribute('content', isDark ? '#161513' : '#f3efe9');
});
}