Commit Graph

20 Commits

Author SHA1 Message Date
David Langley
cc3f938ef4 Clean up and make an application target so that debug works in live preview. 2021-09-01 14:28:47 +01:00
David Langley
862f30102f Finish extraction
- Moves SwiftUI code out of Riot and into RiotSwiftUI which has no dependency on Matrix SDK.
- Git wasn't smart enough to see the file moves. Most feature function has remain unchanged. 1 change I did make was remove NotificationSettingsViewModel's dependence on MxPushRule, so that the view model could be moved into RiotSwiftUI.
- Add LocaleProvider to abstract VectorL10n's use of Matrix SDK language so it can be used in RiotSwiftUI.
- Split Theme into UKit/SwiftUI version to remove RiotSwiftUI's dependence on ThemeService and ThemeV1.
- Migrated from ThemeObserver to ThemePublisher. We push updates to ThemePublisher so that we can remove ThemeService as dependency.
- Add .DS_Store to .gitignore
2021-09-01 12:34:38 +01:00
David Langley
087f848ec5 Extract and start to split theme. 2021-08-27 16:26:56 +01:00
David Langley
90bebceb9b Merge branch 'develop' of github.com:vector-im/element-ios into langleyd/4669_room_notification_settings_swiftui 2021-08-16 13:00:41 +01:00
SBiOSoftWhare
085ac6e25a Include AppVersion.xcconfig in all Common.xcconfig. 2021-08-16 11:35:09 +02:00
David Langley
7464614ff4 Add theming support, and support for other top level configuration to swiftui views with VectorHostingViewController, VectorContentModifier. Add VisibilityModifier. Move from List to VStack. 2021-08-12 11:52:06 +01:00
Gil Eluard
7cdf820edb Merge branch 'develop' into element_4090 2021-06-30 09:22:18 +02:00
Gil Eluard
37ae52006e #4090 - fixed small theme issues 2021-06-29 17:05:01 +02:00
SBiOSoftWhare
a9c3137d5a DesignKit: Update ElementFonts with new Fonts protocol. 2021-06-24 15:49:38 +02:00
SBiOSoftWhare
24e0f239c7 DesignKit: Update Fonts protocol. 2021-06-24 15:48:32 +02:00
SBiOSoftWhare
6dff0ae3c2 DesignKit: Add Fonts implementation. 2021-06-21 21:11:51 +02:00
SBiOSoftWhare
2c9fb07509 DesignKit: Add Fonts protocol. 2021-06-21 21:07:31 +02:00
SBiOSoftWhare
be029c48f6 DesignKit: Move color files. 2021-06-21 21:06:30 +02:00
ismailgulek
0f1d90ce5e Update class name to LightColors 2021-05-04 18:30:15 +03:00
ismailgulek
0844a3825c Update DesignKit/Release.xcconfig
Co-authored-by: manuroe <manuroe@users.noreply.github.com>
2021-05-03 11:24:06 +03:00
ismailgulek
041a70e701 Update DesignKit/Debug.xcconfig
Co-authored-by: manuroe <manuroe@users.noreply.github.com>
2021-05-03 11:24:01 +03:00
ismailgulek
2698403b47 Update DesignKit/Common.xcconfig
Co-authored-by: manuroe <manuroe@users.noreply.github.com>
2021-05-03 11:23:54 +03:00
ismailgulek
493e97a4d8 Remove toast color, add comments for colors 2021-04-30 16:08:44 +03:00
ismailgulek
2d135a7460 Create Theme v2 and define colors in palette 2021-04-30 15:59:24 +03:00
ismailgulek
377fab2560 Create DesignKit framework target 2021-04-30 15:48:56 +03:00