Add legacy designsystem module
This commit is contained in:
parent
eb01bc569c
commit
08781102e0
5 changed files with 37 additions and 0 deletions
|
@ -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
11
core/ui/legacy/README.md
Normal 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.
|
11
core/ui/legacy/designsystem/README.md
Normal file
11
core/ui/legacy/designsystem/README.md
Normal 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.
|
12
core/ui/legacy/designsystem/build.gradle.kts
Normal file
12
core/ui/legacy/designsystem/build.gradle.kts
Normal 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)
|
||||||
|
}
|
|
@ -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(
|
||||||
|
|
Loading…
Reference in a new issue