Add legacy designsystem module

This commit is contained in:
Wolf-Martell Montwé 2024-03-07 15:38:32 +01:00
parent eb01bc569c
commit 08781102e0
No known key found for this signature in database
GPG key ID: 6D45B21512ACBF72
5 changed files with 37 additions and 0 deletions

View file

@ -5,6 +5,8 @@ plugins {
dependencies { dependencies {
api(projects.app.ui.base) api(projects.app.ui.base)
api(projects.core.ui.legacy.designsystem)
implementation(projects.app.core) implementation(projects.app.core)
implementation(projects.mail.common) implementation(projects.mail.common)
implementation(projects.uiUtils.toolbarBottomSheet) implementation(projects.uiUtils.toolbarBottomSheet)

11
core/ui/legacy/README.md Normal file
View file

@ -0,0 +1,11 @@
## Core - UI - Legacy
The modules in this section are dedicated to the legacy UI implementation based on XML-based layouts for Android.
> [!WARNING]
> It's not suggested to use the contained modules for new features!
>
> This is only maintained for the purpose of supporting the existing implementation.
> [!IMPORTANT]
> Use the Composable UI along our [theme 2](../compose/theme2) and [design system](../compose/designsystem) design system instead.

View file

@ -0,0 +1,11 @@
## Core - UI - Legacy - Design System
This is the design system dedicated to the legacy UI implementation based on XML-based layouts for Android.
> [!WARNING]
> It's not suggested to use this design system for new features!
>
> This is only maintained for the purpose of supporting the existing implementation.
> [!IMPORTANT]
> Use the Composable UI along our [theme 2](../compose/theme2) and [design system](../compose/designsystem) design system instead.

View file

@ -0,0 +1,12 @@
plugins {
id(ThunderbirdPlugins.Library.android)
}
android {
namespace = "app.k9mail.core.ui.legacy.designsystem"
}
dependencies {
// TODO Remove this dependency once the legacy theme is available
api(libs.android.material)
}

View file

@ -80,6 +80,7 @@ include(
":core:ui:compose:theme2:k9mail", ":core:ui:compose:theme2:k9mail",
":core:ui:compose:theme2:thunderbird", ":core:ui:compose:theme2:thunderbird",
":core:ui:compose:testing", ":core:ui:compose:testing",
":core:ui:legacy:designsystem",
) )
include( include(