Commit Graph

52 Commits

Author SHA1 Message Date
Mayur Mahajan
b09f37e025
[FR] Create a new yellow theme for AppFlowy (#1539)
* feat: add dandelion color scheme

* feat: add dandelion to colorsheme

* feat: add setting for choosing theme

* refactor: make theme selection ui consistent

* refactor: remove duplicate  themeTypeLabel

* refactor: translate theme type setting

* refactor: use an extension method for themename

* refactor: change community theme name

* refactor: add theme name in app theme

* refactor: remove theme type from cubit

* refactor: allow theme change with themename

* test: getThemeNameForDisplaying method

* chore: refactor the theme name to const string

* refactor: remove theme translation logic

* fix: add translation for theme label

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2022-12-30 11:44:17 +08:00
Richard Shiue
60d9a6b3ab
refactor: appflowy themes (#1567)
* refactor: appflowy themes

* refactor: store ThemeData directly in cubit

* refactor: remove textStyles

* refactor: move AppTheme back into cubit
2022-12-18 16:02:18 +08:00
Richard Shiue
350c55e71d
style: rename theme extension file (#1562) 2022-12-10 19:00:46 +08:00
Richard Shiue
442dfe7ef8
feat: switch between light and dark theme based on system settings (#1523)
* feat: allow listening to system for light/dark theme

* chore: implement UI for theme mode setting

* chore: fix translations
2022-12-08 14:21:11 +08:00
Richard Shiue
cf42d8cd43 chore: remove unused getters for TextStyles 2022-12-01 14:45:59 +08:00
Nathan.fooo
fff4af53e2
Merge pull request #1510 from LucasXu0/fix_1488
fix: [Bug] Inconsistent font weights #1488
2022-11-30 20:31:39 +08:00
Lucas.Xu
086195d2cf fix: inconsistent font weight in Chinese #1488 2022-11-30 16:36:53 +08:00
Richard Shiue
f02e77fcd8
fix: onPrimary and onPrimary colors (#1499) 2022-11-30 15:00:14 +08:00
Lucas.Xu
d7783a6440 chore: remove duplicated svg function 2022-11-30 13:22:16 +08:00
Lucas.Xu
6d6e61956a feat: Customize Font Size In AppFlowy #1479 2022-11-28 15:34:55 +08:00
Richard Shiue
63059ea39d
chore: tints depend on light and dark theme (#1470) 2022-11-22 20:06:32 +08:00
Richard Shiue
f00a78746e
chore: add textTheme to AppTheme (#1448)
* chore: add textTheme to AppTheme

* chore: extend scaled font size options

* chore: add text styles to extension and rename extension to AFThemeExtension

* chore: use 2021 material design text style tokens
2022-11-17 15:28:57 +08:00
Richard Shiue
eb35fb25af
feat: initial steps to allow changing the app font (#1433)
* feat: initial steps to allow customizing app font

* chore: remove unnecessary factory constructor
2022-11-16 14:40:30 +08:00
Richard Shiue
bbd64fae81
refactor: appflowy theme system pt. 1 (#1407)
* refactor: port theme provider to bloc

* refactor: port from custom theme type enum to material design's brightness

* chore: add custom color extension to ThemeData

* refactor: use Theme.of(context) when trying to get theme colors

* refactor: toggle widget code refactor

* refactor: flowy hover style refactor

* refactor: flowy icon refactor

* fix: regression on sidebar tooltip text from #1210

* chore: read color from theme.of

* chore: quick access to custom color

* fix: dart test

* fix: scrollbar regression

* chore: fix flutter lint

* chore: fix grid bloc test

Co-authored-by: appflowy <annie@appflowy.io>
2022-11-10 14:22:18 +08:00
Richard Shiue
1e6c4a4d88
feat: introduce a default font (#1210)
* style: code auto-format

* feat: introduce default poppins font

* chore: port more const textstyles to shared styles
2022-10-25 19:49:58 +08:00
Åke Engelbrektson
aa8addf4a3
feat: Add Swedish translation (#1333)
* Create sv.json

* Update app_widget.dart

* Update language.dart
2022-10-23 13:14:08 +08:00
Minho Yi
68344ef718
Feat: Translation for Korean ko_KR (#1262)
* feat: add translation ko_KR.json

* feat: add ko Locale
2022-10-11 09:27:20 +08:00
Richard Shiue
e5f5169a39 style: code auto-format 2022-09-23 01:21:04 +08:00
Richard Shiue
fc1535696b fix: color code for tint 9 2022-09-23 01:20:01 +08:00
appflowy
c19b7cf856 chore: update packages's flutter_lint version 2022-08-31 11:15:35 +08:00
appflowy
a7349f43aa chore: add edit card button 2022-08-30 20:54:11 +08:00
David
8360dcdc82 feat: Add pl-PL translation
Add pl-PL.json including the new translation.
Updated app_widget.dart with the new language entry
Updated language.dart with the new language entry
2022-07-28 22:30:17 +02:00
kakzaki
22398985b6 fix: add indonesian translation 2022-07-25 13:35:16 +07:00
negiboudu
f04020eb08 feat: add ja-JP translation 2022-06-12 02:38:25 +09:00
Poly-Pixel
bfa3eb9577
fix: Fix various small issues 2022-05-29 15:27:18 -04:00
appflowy
3cc7c8e6de chore: cache row data 2022-04-16 21:05:41 +08:00
Nathan.fooo
65993b7205
Merge pull request #435 from AppFlowy-IO/grid_field_operation
Grid field operation
2022-04-07 21:26:20 +08:00
appflowy
5d007c5359 chore: grid setting list 2022-04-03 10:53:31 +08:00
hasanbeder
47e2571f38 feat: Update language.dart
Turkish language line is added.
2022-03-28 12:28:35 -04:00
appflowy
1f30a77f1d feat: save text cell data 2022-03-20 17:17:06 +08:00
Mike Wallace
8128283ad4
Merge pull request #396 from peter-gy/main
Add Hungarian translation
2022-02-28 20:09:13 -05:00
Mike Wallace
9112bbbcd3
Merge pull request #393 from ikipm/main
Add catalan translation
2022-02-28 19:59:45 -05:00
Péter Ferenc Gyarmati
d9f7b1047d feature: add Hungarian translation 2022-02-28 11:46:01 +01:00
ikipm
d00425d50b feature: Added catalan translation 2022-02-27 13:41:26 -05:00
Lays Rodrigues
8f50d0c6dc feat: add portuguese translation
Signed-off-by: Lays Rodrigues <laysrodriguessilva@gmail.com>
2022-02-27 10:28:58 -05:00
Mehdi Bertul
f8f77db79b
Fix the translation to fr-FR (Closes #369) (#371)
* fix: rename fr.json to fr-FR.json
* fix: the translation mistakes in fr-FR.json
* fix: added french language to system

Co-authored-by: MikeWallaceDev <mike@wallacehub.com>
2022-02-24 20:48:47 -05:00
appflowy
f872c6c1f8 ci: fix flutter warnings 2022-02-09 21:56:46 +08:00
MikeWallaceDev
5519dcd525 refactor: language settings to remove applanguage enum
Fixes: #290
app now uses Locale directly
list of languages is now generated from EasyLocalization
2022-02-04 20:09:41 -05:00
appflowy
728d60239a added reset appearance setting 2022-02-01 12:15:11 +08:00
appflowy
df5e178c6c remove unuse codes 2022-02-01 11:29:11 +08:00
appflowy
be806e301c read device locale as default locale setting 2022-02-01 09:12:59 +08:00
Harinandan
95247bc5fb Refactored Language file 2022-01-28 22:08:57 +05:30
Harinandan
6ea43cd5e5 Created AppLanguage class 2022-01-28 21:03:03 +05:30
appflowy
1c6b78e7d4 fix link button color on dark mode 2022-01-28 22:48:15 +08:00
appflowy
ef8624e87c update dark mode bg3 color 2022-01-28 21:32:45 +08:00
appflowy
1c2c1e6250 save theme setting 2022-01-28 18:38:13 +08:00
Sean RIley Hawkins
2ae4762de8 Removed unused imports & Refactored 2022-01-10 17:26:46 +02:00
Sean RIley Hawkins
5e56f5e0ec Fixed Dark Mode Bugs 2022-01-09 13:22:17 +02:00
AppFlowy.IO
2a134bcb40
fix light theme issues (#215)
* fix light theme issues
* rm hoverColor in ThemeData
2022-01-06 12:18:35 -05:00
Sean Riley Hawkins
6325bd300b
[FR] Dark Mode (#185)
* Rewrote to change with light and dark mode 🔧

* Changed files to match theme switches

* Fixed text color switch

* Configured accent color for trash page

* Configured hover color for dark mode

* Configured container colors for dark mode

* Configured text to switch with themes

* Added values to change with theme

* Configured to work with theme colors

* Text not affected by theme

* Theme can be changed here

* Used gray instead of white color

* Rewrote to change with light and dark mode 🔧

* Changed files to match theme switches

* Fixed text color switch

* Configured accent color for trash page

* Configured hover color for dark mode

* Configured container colors for dark mode

* Configured text to switch with themes

* Restored deleted file

* Rewrote to change with light and dark mode 🔧

* Changed files to match theme switches

* Fixed text color switch

* Configured accent color for trash page

* Configured hover color for dark mode

* Configured container colors for dark mode

* Configured text to switch with themes

* Rewrote to change with light and dark mode 🔧

* Changed files to match theme switches

* Configured accent color for trash page

* Removed file

* Used theme.dart colors

* Removed comments and added colors

* Refactored and added hover colors

* removed generated files
fixed warnings

Co-authored-by: MikeWallaceDev <mike@wallacehub.com>
2021-12-24 13:20:48 -05:00