Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f8a1ec65 authored by Fahim Salam Chowdhury's avatar Fahim Salam Chowdhury 👽
Browse files

Merge branch '5181-Mail_UI_improvement' into 'main'

5181-Mail_UI_improvement

See merge request !69
parents 38577569 9f60e747
Loading
Loading
Loading
Loading
Loading
+16 −1
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2022  E FOUNDATION
     This program is free software: you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
     the Free Software Foundation, either version 3 of the License, or
     (at your option) any later version.

     This program is distributed in the hope that it will be useful,
     but WITHOUT ANY WARRANTY; without even the implied warranty of
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     GNU General Public License for more details.

     You should have received a copy of the GNU General Public License
     along with this program.  If not, see <https://www.gnu.org/licenses/>.
-->

<resources>
    <color name="color_default_background">#121212</color>
    <color name="color_message_list_unread_background">#2F2F2F</color>
    <color name="color_message_list_thread_count_background">#61FFFFFF</color>
    <color name="color_message_list_thread_count_background">#1FFFFFFF</color>
    <color name="color_default_primary_text">#DEFFFFFF</color>
    <color name="color_default_secondary_text">#99FFFFFF</color>
    <color name="color_default_ternary_text">#61FFFFFF</color>
+16 −1
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2022  E FOUNDATION
     This program is free software: you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
     the Free Software Foundation, either version 3 of the License, or
     (at your option) any later version.

     This program is distributed in the hope that it will be useful,
     but WITHOUT ANY WARRANTY; without even the implied warranty of
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     GNU General Public License for more details.

     You should have received a copy of the GNU General Public License
     along with this program.  If not, see <https://www.gnu.org/licenses/>.
-->

<resources>
    <color name="color_default_primary">@lineageos.platform:color/color_default_primary</color>
    <color name="color_default_primary_dark">@lineageos.platform:color/color_default_primary_dark</color>
@@ -14,7 +29,7 @@

    <color name="color_message_list_selected_background">@lineageos.platform:color/color_default_selector_background</color>
    <color name="color_message_list_unread_background">#DCDCDC</color>
    <color name="color_message_list_thread_count_background">#61000000</color>
    <color name="color_message_list_thread_count_background">#14212121</color>
    <color name="color_dialog_backgronund">@android:color/white</color>

    <color name="color_contact_token_background">#ededed</color>
+16 −7
Original line number Diff line number Diff line
@@ -7,8 +7,17 @@
    <style name="Theme.k9.Dialog.Base" parent="Theme.MaterialComponents.Dialog.Alert">
        <item name="android:windowBackground">@color/color_dialog_backgronund</item>
        <item name="android:colorAccent">@color/color_default_accent</item>
        <item name="android:textColorPrimary">@color/color_default_primary_text</item>
        <item name="android:textColorPrimary">@color/color_default_secondary_text</item>
        <item name="android:textColorSecondary">@color/color_default_secondary_text</item>
        <item name="android:textSize">14sp</item>
        <item name="android:titleTextStyle">@style/AlertDialogTitleStyle</item>
        <item name="android:windowTitleStyle">@style/AlertDialogTitleStyle</item>
    </style>

    <style name="AlertDialogTitleStyle" parent="TextAppearance.AppCompat.Title">
        <item name="android:textColor">@color/color_default_primary_text</item>
        <item name="android:textSize">16sp</item>
        <item name="android:textStyle">normal</item>
    </style>

    <!-- Empty base themes that can be easily replaced by RRO (Runtime Resource Overlay) themes -->
@@ -43,7 +52,7 @@
        <item name="iconFolderSent">@drawable/ic_send</item>
        <item name="iconFolderSpam">@drawable/ic_alert_octagon</item>
        <item name="iconFolderTrash">@drawable/ic_trash_can</item>
        <item name="iconActionAddAttachment">@drawable/ic_messagelist_attachment</item>
        <item name="iconActionAddAttachment">@drawable/ic_add_attachment</item>
        <item name="iconActionArchive">@drawable/ic_archive</item>
        <item name="iconActionCompose">@drawable/ic_pencil</item>
        <item name="iconActionDelete">@drawable/ic_trash_can</item>
@@ -99,10 +108,10 @@
        <item name="messageListSelectedBackgroundColor">@color/color_message_list_selected_background</item>
        <item name="messageListReadItemBackgroundColor">@color/color_default_background</item>
        <item name="messageListUnreadItemBackgroundColor">@color/color_message_list_unread_background</item>
        <item name="messageListThreadCountForegroundColor">?android:attr/colorBackground</item>
        <item name="messageListThreadCountForegroundColor">@color/color_default_primary_text</item>
        <item name="messageListThreadCountBackground">@drawable/thread_count_box_light</item>
        <item name="messageListActiveItemBackgroundColor">@color/color_default_accent</item>
        <item name="messageListPreviewTextColor">@color/color_default_secondary_text</item>
        <item name="messageListPreviewTextColor">@color/color_default_ternary_text</item>
        <item name="messageListDividerColor">@color/color_default_divider</item>
        <item name="messageListStateIconTint">@color/default_icon_color</item>
        <item name="messageListAttachment">@drawable/ic_messagelist_attachment</item>
@@ -169,7 +178,7 @@
        <item name="iconFolderSent">@drawable/ic_send</item>
        <item name="iconFolderSpam">@drawable/ic_alert_octagon</item>
        <item name="iconFolderTrash">@drawable/ic_trash_can</item>
        <item name="iconActionAddAttachment">@drawable/ic_messagelist_attachment</item>
        <item name="iconActionAddAttachment">@drawable/ic_add_attachment</item>
        <item name="iconActionArchive">@drawable/ic_archive</item>
        <item name="iconActionCompose">@drawable/ic_pencil</item>
        <item name="iconActionDelete">@drawable/ic_trash_can</item>
@@ -225,10 +234,10 @@
        <item name="messageListSelectedBackgroundColor">@color/color_message_list_selected_background</item>
        <item name="messageListReadItemBackgroundColor">#c0cdcdcd</item>
        <item name="messageListUnreadItemBackgroundColor">@color/color_message_list_unread_background</item>
        <item name="messageListThreadCountForegroundColor">?android:attr/colorBackground</item>
        <item name="messageListThreadCountForegroundColor">@color/color_default_primary_text</item>
        <item name="messageListThreadCountBackground">@drawable/thread_count_box_light</item>
        <item name="messageListActiveItemBackgroundColor">@color/color_default_accent</item>
        <item name="messageListPreviewTextColor">@color/color_default_secondary_text</item>
        <item name="messageListPreviewTextColor">@color/color_default_ternary_text</item>
        <item name="messageListDividerColor">@color/color_default_divider</item>
        <item name="messageListStateIconTint">#bbbbbb</item>
        <item name="messageListAttachment">@drawable/ic_messagelist_attachment</item>
+17 −2
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2022  E FOUNDATION
     This program is free software: you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
     the Free Software Foundation, either version 3 of the License, or
     (at your option) any later version.

     This program is distributed in the hope that it will be useful,
     but WITHOUT ANY WARRANTY; without even the implied warranty of
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     GNU General Public License for more details.

     You should have received a copy of the GNU General Public License
     along with this program.  If not, see <https://www.gnu.org/licenses/>.
-->

<shape xmlns:android="http://schemas.android.com/apk/res/android">
    <size android:width="1dp" />
    <solid android:color="@color/color_default_primary_text" />
+15 −0
Original line number Diff line number Diff line
<!-- Copyright (C) 2022  E FOUNDATION
     This program is free software: you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
     the Free Software Foundation, either version 3 of the License, or
     (at your option) any later version.

     This program is distributed in the hope that it will be useful,
     but WITHOUT ANY WARRANTY; without even the implied warranty of
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     GNU General Public License for more details.

     You should have received a copy of the GNU General Public License
     along with this program.  If not, see <https://www.gnu.org/licenses/>.
-->

<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="24dp"
    android:height="24dp"
Loading