Commit Graph

10 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 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 24e0f239c7 DesignKit: Update Fonts protocol. 2021-06-24 15:48:32 +02:00
SBiOSoftWhare 2c9fb07509 DesignKit: Add Fonts protocol. 2021-06-21 21:07:31 +02: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