diff options
| author | Harsh Shandilya <msfjarvis@gmail.com> | 2019-10-01 22:14:28 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-01 22:14:28 +0530 |
| commit | 073346c157ec34b750d175c8543f346e6eae94de (patch) | |
| tree | a55d24ef43563f3a2d03d7938a1e96c1f5cd1caf /app/src/main/res/values-night | |
| parent | c9dc4034f12b62f4470f92fb13ecd72871f4a5b7 (diff) | |
| download | HardenedPass-073346c157ec34b750d175c8543f346e6eae94de.tar.gz HardenedPass-073346c157ec34b750d175c8543f346e6eae94de.zip | |
Redesign UI and introduce dark theme (#519)
Caveats:
- The openpgp preference had to be removed because the open-intents developers are too lazy to update their libraries. Over the coming weeks I will be reimplementing a local solution for this instead.
- The autofill dialog is broken but I since it is being worked on in #410 already I'm not going to bother fixing it.
Diffstat (limited to 'app/src/main/res/values-night')
| -rw-r--r-- | app/src/main/res/values-night/colors.xml | 18 | ||||
| -rw-r--r-- | app/src/main/res/values-night/styles.xml | 7 |
2 files changed, 25 insertions, 0 deletions
diff --git a/app/src/main/res/values-night/colors.xml b/app/src/main/res/values-night/colors.xml new file mode 100644 index 00000000..55d52ca2 --- /dev/null +++ b/app/src/main/res/values-night/colors.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <!-- Base palette --> + <color name="primary_color">#FF111111</color> + <color name="primary_light_color">#FF373737</color> + <color name="primary_dark_color">#FF000000</color> + <color name="secondary_color">#FFFF7539</color> + <color name="secondary_light_color">#FFFFa667</color> + <color name="secondary_dark_color">#FFC54506</color> + <color name="primary_text_color">#FFFFFFFF</color> + <color name="secondary_text_color">#FFFFFFFF</color> + + <!-- Theme variables --> + <color name="window_background">@color/primary_color</color> + <color name="password_icon_color">#FAFAFA</color> + <color name="color_surface">#FF111111</color> + <color name="list_multiselect_background">#1AEEEEEE</color> +</resources> diff --git a/app/src/main/res/values-night/styles.xml b/app/src/main/res/values-night/styles.xml new file mode 100644 index 00000000..7fda5217 --- /dev/null +++ b/app/src/main/res/values-night/styles.xml @@ -0,0 +1,7 @@ +<resources> + <style name="TextInputLayoutBase" parent="@style/Widget.MaterialComponents.TextInputLayout.FilledBox.Dense"> + <item name="boxBackgroundColor">?attr/colorPrimaryVariant</item> + <item name="boxStrokeColor">?attr/colorSecondary</item> + <item name="hintTextColor">?attr/colorOnPrimary</item> + </style> +</resources> |
