summaryrefslogtreecommitdiffstats
path: root/src/android/app/src/main/res/values/styles.xml
blob: 47fe6f6ea0eadcfa53930db0099181d485a4ef46 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?xml version="1.0" encoding="utf-8"?>
<resources>

    <!-- Inherit from the material theme -->
    <style name="CitraBase" parent="Theme.AppCompat.DayNight.NoActionBar">
        <!-- Main theme colors -->
        <!-- Branding color for the app bar -->
        <item name="colorPrimary">@color/citra_orange</item>
        <!-- Darker variant for the status bar and contextual app bars -->
        <item name="colorPrimaryDark">@color/citra_orange_dark</item>
        <item name="colorAccent">@color/citra_accent</item>

        <item name="titleTextColor">@color/citra_logo_text_color</item>

        <!-- Enable window content transitions -->
        <item name="android:windowContentTransitions">true</item>
        <item name="android:windowAllowEnterTransitionOverlap">true</item>
        <item name="android:windowAllowReturnTransitionOverlap">true</item>

        <item name="android:colorControlHighlight">?attr/colorAccent</item>
    </style>

    <!-- Same as above, but use default action bar, and mandate margins. -->
    <style name="CitraSettingsBase" parent="Theme.AppCompat.DayNight">
        <item name="colorPrimary">@color/citra_orange</item>
        <item name="colorPrimaryDark">@color/citra_orange_dark</item>
        <item name="colorAccent">@color/citra_accent</item>
    </style>

    <!-- Inherit from the Base Citra Dialog Theme -->
    <style name="CitraEmulationBase" parent="Theme.AppCompat.DayNight">
        <item name="colorPrimary">@color/citra_orange</item>
        <item name="colorPrimaryDark">@color/citra_orange_dark</item>
        <item name="colorAccent">@color/citra_accent</item>
        <item name="android:windowTranslucentNavigation">true</item>

        <item name="android:windowBackground">@android:color/black</item>

        <!-- Enable window content transitions -->
        <item name="android:windowContentTransitions">true</item>
        <item name="android:windowAllowEnterTransitionOverlap">true</item>
        <item name="android:windowAllowReturnTransitionOverlap">true</item>
    </style>

    <!-- Inherit from a base file picker theme that handles day/night -->
    <style name="FilePickerTheme" parent="FilePickerBaseTheme">
        <item name="colorPrimary">@color/citra_orange</item>
        <item name="colorPrimaryDark">@color/citra_orange_dark</item>
        <item name="colorAccent">@color/citra_accent</item>
        <item name="android:windowBackground">@color/card_view_background</item>

        <!-- Need to set this also to style create folder dialog -->
        <item name="alertDialogTheme">@style/FilePickerAlertDialogTheme</item>

        <item name="nnf_list_item_divider">@drawable/gamelist_divider</item>
        <item name="nnf_toolbarTheme">@style/ThemeOverlay.AppCompat.DayNight.ActionBar</item>
    </style>

    <style name="FilePickerAlertDialogTheme" parent="Theme.AppCompat.DayNight.Dialog.Alert">
        <item name="colorPrimary">@color/citra_orange</item>
        <item name="colorPrimaryDark">@color/citra_orange_dark</item>
        <item name="colorAccent">@color/citra_accent</item>
    </style>

</resources>