aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/appearance
Commit message (Collapse)AuthorAge
* feat: add eslint-plugin-unicorn (#1936)Libravatar Markus Hatvan2021-09-14
|
* chore: codebase improvements (#1930)Libravatar Markus Hatvan2021-09-14
|
* Fix height of horizontal sidebar (getferdi/ferdi#1894) (#1896)Libravatar CSY542021-09-09
| | | Co-authored-by: Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com>
* style: consistent syntax style [skip ci]Libravatar Vijay A2021-08-21
|
* Minor refactoring to move all runtime configs from 'config.js' into ↵Libravatar Vijay Raghavan Aravamudhan2021-07-03
| | | | 'environment.js'. (#1588)
* Fix active Todos service behaviour (#1481)Libravatar kytwb2021-06-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Return false instead of null in isTodosServiceAdded * Resolve from TODOS_RECIPES_ID instead of hardcoded TODOS_RECIPE_ID * Fix TodosWebview width toggling when isTodosServiceActive * Add more todo service recipe IDs * Refactor todos state management * Moved todos service URL and recipe ID computation logic to todos/store * Simplified TodosWebview by delegating to the store for the URL and removing the (unused) payment logic * Made the todos service computation logic in the Service model depend on the logic in todos/store * Made ServicesStore depend on the todos service logic from the Service model * Todos appearance fixes * Hide double horizontal rules if todo settings are hidden due to an added todo service * Hide todos panel border when the panel is hidden or expanded * Make expanded todos panel obey sidebar width and vertical style settings * Make todos/store use isValidExternalURL * Harden isValidExternalURL against malformed URLs * Reduce todo URL string duplication in config.js Co-authored-by: Kristóf Marussy <kristof@marussy.com>
* Fix color adjustment confusionLibravatar Kristóf Marussy2021-05-30
| | | | | | | | | | | | SCSS functions apply absolute change to the color lightness values, but the 'color' npm package does relative changes. This lead to inconsistent behavior between the default and custom accent colors. See also https://github.com/Qix-/color/issues/53#issuecomment-656590710 We use relative adjustment for buttons. For the service switcher in light mode, we use relative adjustment instead, because absolute adjustment made the buttons too hard to see (#235).
* Fix some appearance issues (#1398)Libravatar Kristóf Marussy2021-05-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix property spelling in Sidebar component * Fix typo in todos partition name * Use the FerdiDev setting.json in dev mode The app.setPath calls are still a mess and need to be fixed, but this at least allows me to experiment locally. * Make @meetfranz/theme follow the accent color We inject the value of the accent color into the themes, so the buttons show the appropriate color. This allows removing some existing css hacks. In order to do this, the themes had to be turned into functions that take the brand color (accent color) as an argument instead of hard-coding it. The css-based accent color for legacy components is left unchanged. * Remove superfluous scrollbars While overflow: scroll doesn't look ugly on macs, because the system hides scrollbars by default (except on hower), on Linux and Windows, the disabled scrollbars appearing by default look ugly. We set overflow-y: auto instead to display a scrollbar only when needed. * Simplify theme generation in @meetfranz/themes * Remove default accent color code duplication * Apply accent color to styles not in themeInfo.json Some colors are darkened/lightened versions of the primary brand color, so they are not caught by build-theme-info. We create these styles with `color` manually. * Inset shadow on sidebar This creates a more flat look that projecting a shadow over the service, and avoid compositing a shadow over the webview. * Apply accent color to vertical style tab bar * Workspace drawer styling in vertical mode * Fix sidebar layout In vertical mode, the top of the service was clipped by the sidebar Also removes unnecessary whitespace in sidebar * Fix 1px wide line on right when todos are hidden * Fix window menu When building the menu bar, the File / app menu is added later, so we must be careful about indexing the menu bar. * Update locale files * Report the default accent color accurately * Fix inverted button with dark theme * Fix crash with invalid accent color Fall back to the default accent color instead * Darker secondary buttons in dark mode * Vertical workspace drawer style outside debug mode In order to reliably apply the style, we need to add a class name to the drawer manually, as component names only appear in class names in debug mode.
* Add vertical style and "Always show workspace drawer" setting (#567)Libravatar Bennett2020-10-11
|
* #304 Add option to show draggable window area (#532)Libravatar Bennett2020-04-05
| | | | | | | | | * #304 Add option to show draggable window area * Address merge conflicts * Re-apply npm run manage-translations Co-authored-by: Amine Mouafik <amine@mouafik.fr>
* #153 Add ability to change service icon sizeLibravatar vantezzen2020-02-24
|
* Add ability to change sidebar widthLibravatar vantezzen2020-02-24
|
* Rename server to internal-server to avoid confusionLibravatar Amine Mouafik2019-11-29
|
* Add appearance feature handlerLibravatar vantezzen2019-11-28