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

Commit ea290ef9 authored by Joey's avatar Joey Committed by Michael Bestas
Browse files

DocumentsUI: support night mode



Change-Id: I8a9b2b397eded852143e5b7ee0d585188e78dec2
Signed-off-by: default avatarJoey <joey@lineageos.org>
parent 19203d37
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -21,6 +21,6 @@
        android:viewportHeight="24">

    <path
        android:fillColor="#000000"
        android:fillColor="@color/root_title_color"
        android:pathData="M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z"/>
</vector>
 No newline at end of file
+61 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2013 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->

<resources>
    <color name="window_background">#212121</color>
    <color name="drawer_background">#212121</color>
    <color name="drawer_border">#212121</color>
    <color name="directory_background">#212121</color>

    <color name="text_cursor">@*android:color/black</color>

    <color name="band_select_background">#88ffffff</color>
    <color name="band_select_border">#44ffffff</color>

    <color name="root_title_color">#deffffff</color>
    <color name="root_details_color">#8affffff</color>
    <color name="root_focus_color">#ff424242</color>

    <color name="item_hover_color">#ff1f1f1f</color>

    <color name="sort_widget_text_color">#deffffff</color>

    <color name="root_icon_color">#ffa5a5a5</color>
    <item name="root_icon_disabled_alpha" format="float" type="dimen">@*android:dimen/disabled_alpha_material_dark</item>
    <color name="doc_icon_color">#ffa5a5a5</color>

    <color name="item_doc_title">#ffcccccc</color>
    <color name="item_doc_title_disabled">@*android:color/secondary_text_default_material_dark</color>
    <color name="item_doc_details">#ffcccccc</color>
    <color name="item_doc_background">#333333</color>
    <color name="item_doc_background_disabled">#ff212121</color>
    <color name="item_breadcrumb_background_hovered">#1affffff</color>
    <color name="item_doc_droppable_background">#ff170f04</color>
    <color name="item_doc_not_droppable_background">#ff1f1f1f</color>

    <color name="item_drag_shadow_background">@*android:color/black</color>

    <color name="shortcut_background">#ff0a0a0a</color>

    <color name="dialog_title">@*android:color/primary_text_default_material_dark</color>

    <color name="scroll_thumb_pressed">#ff737373</color>
    <color name="scroll_thumb">#ff414141</color>
    <color name="scroll_track">#ff0f0f0f</color>

    <color name="inspector_value">#ff6c6c6c</color>
    <color name="inspector_section_title">#ff6c6c6c</color>
</resources>
 No newline at end of file
+2 −2
Original line number Diff line number Diff line
@@ -25,9 +25,9 @@
        <item name="android:textColorHighlight">@color/text_highlight</item>
        <item name="android:textColorPrimary">@android:color/white</item>
    </style>
    <style name="ActionBarPopupTheme" parent="@*android:style/ThemeOverlay.Material.Light" />
    <style name="ActionBarPopupTheme" parent="@style/Theme.AppCompat.DayNight" />

    <style name="DocumentsTheme" parent="@style/Theme.AppCompat.Light.DarkActionBar">
    <style name="DocumentsTheme" parent="@style/Theme.AppCompat.DayNight.DarkActionBar">
        <item name="actionBarWidgetTheme">@null</item>
        <item name="actionBarTheme">@style/ActionBarTheme</item>
        <item name="actionBarPopupTheme">@style/ActionBarPopupTheme</item>