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

Unverified Commit 09e96122 authored by Marten Gajda's avatar Marten Gajda Committed by GitHub
Browse files

Initial Dark Theme, implements #1003 (#1004)

This commit provides an initial dark theme for the list view and the preferences activity.
parent 58930a93
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>

<resources>

    <style name="OpenTasks_BaseTheme.DayNight.NoActionBar">
        <item name="windowActionBar">false</item>
        <item name="windowNoTitle">true</item>
        <item name="android:windowDrawsSystemBarBackgrounds">true</item>
        <item name="android:windowLightStatusBar">false</item>
        <item name="android:statusBarColor">#ff303030</item>
    </style>

</resources>
+15 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>

<resources>

    <style name="OpenTasks_BaseTheme.DayNight.NoActionBar">
        <item name="windowActionBar">false</item>
        <item name="windowNoTitle">true</item>
        <item name="android:windowDrawsSystemBarBackgrounds">true</item>
        <item name="android:windowLightStatusBar">false</item>
        <item name="android:windowLightNavigationBar">false</item>
        <item name="android:statusBarColor">#ff303030</item>
        <item name="android:navigationBarColor">#ff000000</item>
    </style>

</resources>
+23 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>

<resources>

    <!-- The default DayNight theme. Use this as the parent of your theme to customize it. -->
    <style name="OpenTasks_Theme.DayNight"
            parent="OpenTasks_BaseTheme.DayNight.NoActionBar" />

    <style name="OpenTasks_BaseTheme.DayNight.NoActionBar">
        <item name="windowActionBar">false</item>
        <item name="windowNoTitle">true</item>
        <item name="android:windowDrawsSystemBarBackgrounds">true</item>
        <item name="android:statusBarColor">#ff303030</item>
    </style>

    <style name="OpenTasks_BaseTheme.DayNight"
            parent="OpenTasks_BaseTheme.Dark" />

    <!-- TODO: what's the correct way of sharing the details of the themes? -->
    <style name="OpenTasks_BaseTheme.DayNight.Dialog"
            parent="OpenTasks_BaseTheme.Dark.Dialog" />

</resources>
+13 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>

<resources>

    <style name="OpenTasks_BaseTheme.Dark.NoActionBar">
        <item name="windowActionBar">false</item>
        <item name="windowNoTitle">true</item>
        <item name="android:windowDrawsSystemBarBackgrounds">true</item>
        <item name="android:windowLightStatusBar">false</item>
        <item name="android:statusBarColor">#ff303030</item>
    </style>

</resources>
+13 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>

<resources>

    <style name="OpenTasks_BaseTheme.DayNight.NoActionBar">
        <item name="windowActionBar">false</item>
        <item name="windowNoTitle">true</item>
        <item name="android:windowDrawsSystemBarBackgrounds">true</item>
        <item name="android:windowLightStatusBar">true</item>
        <item name="android:statusBarColor">#ffffffff</item>
    </style>

</resources>
Loading