feat: add font size toggle functionality

- Implemented a FontSizeToggle component in HomePageClient for adjusting task font sizes in kanban views.
- Updated TaskCard to apply dynamic font size classes based on user preferences.
- Enhanced user preferences to include font size settings, defaulting to 'medium'.
- Modified TODO.md to mark the font size toggle task as complete.
This commit is contained in:
Julien Froidefond
2025-09-18 09:51:40 +02:00
parent 4a4eb9c8ad
commit 7394b16999
7 changed files with 91 additions and 7 deletions

View File

@@ -70,7 +70,8 @@ export interface ViewPreferences {
showFilters: boolean;
objectivesCollapsed: boolean;
theme: 'light' | 'dark';
[key: string]: boolean | 'tags' | 'priority' | 'light' | 'dark' | undefined;
fontSize: 'small' | 'medium' | 'large';
[key: string]: boolean | 'tags' | 'priority' | 'light' | 'dark' | 'small' | 'medium' | 'large' | undefined;
}
export interface ColumnVisibility {