- Updated accent color logic to support dark mode by utilizing a new color mapping.
- Refactored components to apply the correct accent color based on the current theme.
- Improved styling consistency across the application by integrating dark and light color variants.
This change enhances the user experience by ensuring that the accent colors adapt to the selected theme.
Signed-off-by: Innei <tukon479@gmail.com>
- Introduced accent color setting to allow users to customize the app's interface.
- Updated various components to utilize the new accent color, including buttons, sliders, and text elements.
- Added translations for accent color settings in English, Japanese, and Chinese.
- Refactored related styles in Tailwind CSS configuration to support the new accent color feature.
Signed-off-by: Innei <tukon479@gmail.com>
- Removed redundant link handling logic in the EntryItemWrapper component.
- Streamlined navigation logic to improve clarity and maintainability.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated multiple components to consistently use getRouteParams() when calling markAllByRoute.
- Enhanced the markAllByRoute function to accept structured data for improved clarity and maintainability.
Signed-off-by: Innei <tukon479@gmail.com>
* fix(desktop): improve action bar's visibility logic
* feat: hide the action bar when menu is open and click outside
* chore: comment
* chore: transition
* chore: update
- Updated FeedIcon component to remove margin and added noMargin prop for better alignment.
- Modified description span to include padding for improved spacing.
Signed-off-by: Innei <tukon479@gmail.com>
- Added functionality to fetch and save image dimensions from entries.
- Introduced type definitions for images to improve type safety.
- Included console logging for debugging item dimensions in MasonryItemFixedDimensionWrapper.
Signed-off-by: Innei <tukon479@gmail.com>
- Modified the EntryCommandShortcutRegister component to accept a view parameter of type FeedViewType.
- Updated the EntryContent component to pass the view prop to EntryCommandShortcutRegister.
- Adjusted the StarCommand type definition to require the view parameter.
Signed-off-by: Innei <tukon479@gmail.com>
- Removed the deprecated `components.tsx` file and its associated code.
- Updated imports in `EntryContent.tsx` to reflect new component structure.
- Simplified command binding logic in `EntryHeaderActions` by removing unused hooks.
- Adjusted shortcut handling for command buttons to disable trigger shortcuts globally.
Signed-off-by: Innei <tukon479@gmail.com>
- Introduced a new setting 'dimRead' to allow users to diminish the color of read entries in the timeline.
- Updated the ListItem component to apply the dimming effect based on the new setting.
- Added corresponding translations for the new setting in the English locale.
- Set default value for 'dimRead' to false in the general settings defaults.
Signed-off-by: Innei <tukon479@gmail.com>