diff --git a/App.tsx b/App.tsx index 917384f..c554e46 100755 --- a/App.tsx +++ b/App.tsx @@ -13,14 +13,12 @@ import Wallpaper from './components/Wallpaper'; const defaultConfig: Config = { title: 'Vision Start', - subtitle: 'Your personal portal to the web.', currentWallpapers: ['Abstract'], wallpaperFrequency: '1d', wallpaperBlur: 0, wallpaperBrightness: 100, wallpaperOpacity: 100, titleSize: 'medium', - subtitleSize: 'medium', alignment: 'middle', horizontalAlignment: 'middle', clock: { diff --git a/README.md b/README.md index 9236697..5bec49c 100755 --- a/README.md +++ b/README.md @@ -82,7 +82,7 @@ npm run dev * Dynamic Wallpaper-Based Theming * Automatically adapt the UI's accent color to match the current wallpaper * Minimal feel toggle - * Disable title & subtitle and search widget + * Disable title and search widget * Tiles become small stylish lines From a technical side: diff --git a/components/ConfigurationModal.tsx b/components/ConfigurationModal.tsx index 2fa8e33..9190adf 100644 --- a/components/ConfigurationModal.tsx +++ b/components/ConfigurationModal.tsx @@ -18,7 +18,6 @@ const ConfigurationModal: React.FC = ({ onClose, onSave const [config, setConfig] = useState({ ...currentConfig, titleSize: currentConfig.titleSize || 'medium', - subtitleSize: currentConfig.subtitleSize || 'medium', alignment: currentConfig.alignment || 'middle', tileSize: currentConfig.tileSize || 'medium', horizontalAlignment: currentConfig.horizontalAlignment || 'middle', @@ -310,30 +309,6 @@ const ConfigurationModal: React.FC = ({ onClose, onSave ]} /> -
- - -
-
- - -
= ({ config }) => {
)}
- {(config.title || config.subtitle) && ( + {config.title && (

= ({ config }) => { > {config.title}

-

- {config.subtitle} -

)}
diff --git a/types.ts b/types.ts index 4f6ca9d..75db6a7 100755 --- a/types.ts +++ b/types.ts @@ -26,14 +26,12 @@ export interface Wallpaper { export interface Config { title: string; - subtitle: string; currentWallpapers: string[]; wallpaperFrequency: string; wallpaperBlur: number; wallpaperBrightness: number; wallpaperOpacity: number; titleSize: string; - subtitleSize: string; alignment: string; horizontalAlignment: string; clock: {