diff --git a/app/k9mail/build.gradle b/app/k9mail/build.gradle
index dd0bf54db17b3267dcc8f1fc27bfd0ebb9d1f95e..f1bcc112c2a647dcbfef01708d0078dce314bf3b 100644
--- a/app/k9mail/build.gradle
+++ b/app/k9mail/build.gradle
@@ -6,7 +6,6 @@ if (rootProject.testCoverage) {
}
dependencies {
- compileOnly files("../../e-ui-sdk.jar")
implementation project(":app:ui:legacy")
implementation project(":app:core")
implementation project(":app:storage")
@@ -39,6 +38,8 @@ dependencies {
testImplementation "org.mockito.kotlin:mockito-kotlin:${versions.mockitoKotlin}"
testImplementation "io.insert-koin:koin-test:${versions.koin}"
testImplementation "io.insert-koin:koin-test-junit4:${versions.koin}"
+
+ implementation 'foundation.e:elib:0.0.1-alpha11'
}
android {
@@ -150,10 +151,6 @@ android {
includeAndroidResources = true
}
}
-
- aaptOptions {
- additionalParameters '-I', 'e-ui-sdk.jar'
- }
}
if (project.hasProperty('keyAlias')) {
diff --git a/app/k9mail/src/main/res/values-night/colors.xml b/app/k9mail/src/main/res/values-night/colors.xml
deleted file mode 100644
index 9eb56540ccb004a434df2a03f233e15f0d7c6673..0000000000000000000000000000000000000000
--- a/app/k9mail/src/main/res/values-night/colors.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
-
-
- #121212
- #2F2F2F
- #1FFFFFFF
- #DEFFFFFF
- #99FFFFFF
- #61FFFFFF
-
- #383838
- #4b4b4b
-
\ No newline at end of file
diff --git a/app/k9mail/src/main/res/values/colors.xml b/app/k9mail/src/main/res/values/colors.xml
deleted file mode 100644
index 2ae4f8e80400c94284aeb0b0d0b2f3e9aff0f7b6..0000000000000000000000000000000000000000
--- a/app/k9mail/src/main/res/values/colors.xml
+++ /dev/null
@@ -1,36 +0,0 @@
-
-
-
-
- @lineageos.platform:color/color_default_primary
- @lineageos.platform:color/color_default_primary_dark
- @lineageos.platform:color/color_default_accent
- @android:color/white
- @lineageos.platform:color/color_default_foreground
- #DE000000
- #99000000
- #61000000
- #14212121
- @lineageos.platform:color/color_default_gray1
- @lineageos.platform:color/color_default_gray2
-
- @lineageos.platform:color/color_default_selector_background
- #DCDCDC
- #14212121
- @android:color/white
-
- #ededed
-
\ No newline at end of file
diff --git a/app/ui/base/src/main/res/color/star_color.xml b/app/ui/base/src/main/res/color/star_color.xml
deleted file mode 100644
index 9a9b7155b546a7550541648d41e6e768b3a1e50b..0000000000000000000000000000000000000000
--- a/app/ui/base/src/main/res/color/star_color.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
-
-
diff --git a/app/ui/base/src/main/res/values-night/colors.xml b/app/ui/base/src/main/res/values-night/colors.xml
deleted file mode 100644
index 8d024604c58cfa1c70b06ce68002c2ee6bd86cf9..0000000000000000000000000000000000000000
--- a/app/ui/base/src/main/res/values-night/colors.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-
-
-
-
- #121212
- #DEFFFFFF
- #99FFFFFF
- #61FFFFFF
- #474747
- #cfcfcf
-
\ No newline at end of file
diff --git a/app/ui/base/src/main/res/values/colors.xml b/app/ui/base/src/main/res/values/colors.xml
deleted file mode 100644
index c0877b8880e65ec2097009a2a6fa832ea3d7f784..0000000000000000000000000000000000000000
--- a/app/ui/base/src/main/res/values/colors.xml
+++ /dev/null
@@ -1,33 +0,0 @@
-
-
-
-
- @color/color_default_secondary_text
-
- @lineageos.platform:color/color_default_primary
- @lineageos.platform:color/color_default_primary_dark
- @lineageos.platform:color/color_default_accent
- @android:color/white
- @lineageos.platform:color/color_default_foreground
- #DE000000
- #99000000
- #61000000
-
- #ededed
- #3e3e3e
-
- #FFC300
-
\ No newline at end of file
diff --git a/app/ui/legacy/src/main/res/values-night/colors.xml b/app/ui/legacy/src/main/res/values-night/colors.xml
index 7450b9070bc1ace968dbe05237a4ebc9c27e5c78..dbdfd3d5261e06a8802e97721cfa20181869ed91 100644
--- a/app/ui/legacy/src/main/res/values-night/colors.xml
+++ b/app/ui/legacy/src/main/res/values-night/colors.xml
@@ -15,19 +15,14 @@
-->
- #121212
- #DEFFFFFF
- #99FFFFFF
- #61FFFFFF
-
#6BFFFFFF
#470086FF
#14FFFFFF
#2e2e2e
-
- #363636
#2e2e2e
-
- #1FFFFFFF
- #99FFFFFF
+ @color/e_secondary_text_color
+ #2F2F2F
+ #4b4b4b
+ #474747
+ #cfcfcf
\ No newline at end of file
diff --git a/app/ui/legacy/src/main/res/values/colors.xml b/app/ui/legacy/src/main/res/values/colors.xml
index 0538558a905eac1fa3acd2b6aa4b80a4a15042d1..352033c65c5c674a8c68c109d1ce94e48e530d1f 100644
--- a/app/ui/legacy/src/main/res/values/colors.xml
+++ b/app/ui/legacy/src/main/res/values/colors.xml
@@ -29,28 +29,38 @@
#F9F9F9
- @lineageos.platform:color/color_default_selector_background
-
- @lineageos.platform:color/color_default_primary
- @lineageos.platform:color/color_default_primary_dark
- @lineageos.platform:color/color_default_accent
- @android:color/white
- @lineageos.platform:color/color_default_foreground
- #DE000000
- #99000000
- #61000000
- #14212121
+ @color/e_alpha_accent
+
+ @color/e_action_bar
+ @color/e_action_bar
+ @color/e_accent
+ @color/e_background
+ @color/e_floating_background
+ @color/e_primary_text_color
+ @color/e_secondary_text_color
+ @color/e_disabled_color
+ @color/e_background_overlay
#470086FF
- @lineageos.platform:color/color_default_gray2
#6B212121
#14212121
#f5f5f5
- #fafafa
+ @color/e_drawer_background
#145DB2FF
@android:color/white
- #14212121
+ @color/e_background_overlay
#D9D9D9
+ @color/color_default_secondary_text
+ @color/e_alpha_accent
+ #DCDCDC
+
+ @color/e_floating_background
+
+ #ededed
+ #ededed
+ #3e3e3e
+
+ #FFC300
diff --git a/build.gradle b/build.gradle
index 2a02b88fc35b201df4e0f09f35066425c0ae4c4e..3395b7f0e9b29696590bb78247189f3b5b61969f 100644
--- a/build.gradle
+++ b/build.gradle
@@ -5,7 +5,7 @@ buildscript {
buildConfig = [
'compileSdk': 33,
'targetSdk': 31,
- 'minSdk': 21,
+ 'minSdk': 24,
'buildTools': '32.0.0',
'robolectricSdk': 31
]
@@ -87,6 +87,7 @@ subprojects {
mavenCentral()
google()
maven { url 'https://jitpack.io' }
+ maven { url 'https://gitlab.e.foundation/api/v4/groups/9/-/packages/maven'}
}
configurations.all {
diff --git a/e-ui-sdk.jar b/e-ui-sdk.jar
deleted file mode 100644
index aabc9df7dba4a49b4ab2716fd0dcaf617a636b0c..0000000000000000000000000000000000000000
Binary files a/e-ui-sdk.jar and /dev/null differ