Change core:ui:compose:demo module to `app-ui-catalog

This commit is contained in:
Wolf Montwé 2023-03-14 13:06:29 +01:00
parent 9900fd4394
commit 63a8d67abf
No known key found for this signature in database
GPG key ID: 6D45B21512ACBF72
26 changed files with 23 additions and 14 deletions

7
app-ui-catalog/README.md Normal file
View file

@ -0,0 +1,7 @@
# Thunderbird UI Catalog
Uses [`:core:ui:compose:designsystem`](../core/ui/compose/designsystem/README.md)
This is a catalog of all the components in the Thunderbird design system.
It is a work in progress, and will be updated as the design system evolves.

View file

@ -3,10 +3,10 @@ plugins {
}
android {
namespace = "app.k9mail.core.ui.compose.demo"
namespace = "app.k9mail.ui.catalog"
defaultConfig {
applicationId = "app.k9mail.core.ui.compose.demo"
applicationId = "app.k9mail.ui.catalog"
versionCode = 1
versionName = "1.0"
}

View file

@ -7,7 +7,7 @@
android:roundIcon="@mipmap/ic_launcher_round"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/Theme.K9"
android:theme="@style/Theme.Thunderbird"
>
<activity
android:name=".MainActivity"

View file

@ -1,9 +1,8 @@
package app.k9mail.core.ui.compose.demo
package app.k9mail.ui.catalog
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
class MainActivity : ComponentActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)

View file

@ -1,4 +1,4 @@
package app.k9mail.core.ui.compose.demo
package app.k9mail.ui.catalog
import androidx.compose.foundation.Image
import androidx.compose.foundation.layout.Column

View file

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

View file

Before

Width:  |  Height:  |  Size: 5 KiB

After

Width:  |  Height:  |  Size: 5 KiB

View file

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

View file

Before

Width:  |  Height:  |  Size: 3 KiB

After

Width:  |  Height:  |  Size: 3 KiB

View file

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

View file

Before

Width:  |  Height:  |  Size: 7.2 KiB

After

Width:  |  Height:  |  Size: 7.2 KiB

View file

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 6.6 KiB

View file

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View file

Before

Width:  |  Height:  |  Size: 9.5 KiB

After

Width:  |  Height:  |  Size: 9.5 KiB

View file

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

View file

@ -0,0 +1,3 @@
<resources>
<string name="app_name">Thunderbird Catalog</string>
</resources>

View file

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="Theme.Thunderbird" parent="android:Theme.Material.Light.NoActionBar" />
</resources>

View file

@ -1,3 +0,0 @@
<resources>
<string name="app_name">K-9 Compose Demo</string>
</resources>

View file

@ -1,4 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="Theme.K9" parent="android:Theme.Material.Light.NoActionBar" />
</resources>

View file

@ -21,6 +21,10 @@ rootProject.name = "k-9"
includeBuild("build-plugin")
include(
":app-ui-catalog",
)
include(
":app:k9mail",
":app:ui:base",
@ -42,7 +46,6 @@ include(
":core:common",
":core:testing",
":core:android:common",
":core:ui:compose:demo",
":core:ui:compose:designsystem",
":core:ui:compose:theme",
)