Skip to content

Commit

Permalink
🖌 updated theme
Browse files Browse the repository at this point in the history
- blocked forced dark theme
  • Loading branch information
ch8n committed Oct 12, 2021
1 parent 364e808 commit 0274ac8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/src/main/res/values-night/themes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@

<!-- Base application theme. -->
<style name="Theme.JetQuotes" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
<!-- Disable forced dark mode -->
<item name="android:forceDarkAllowed" tools:targetApi="q">false</item>

<!-- Primary brand color. -->
<item name="colorPrimary">@color/defaultNight</item>
<item name="colorPrimaryVariant">@color/defaultNightDark</item>
Expand Down
3 changes: 3 additions & 0 deletions app/src/main/res/values/themes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@

<!-- Base application theme. -->
<style name="Theme.JetQuotes" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
<!-- Disable forced dark mode -->
<item name="android:forceDarkAllowed" tools:targetApi="q">false</item>

<!-- Primary brand color. -->
<item name="colorPrimary">@color/defaultDay</item>
<item name="colorPrimaryVariant">@color/defaultDayDark</item>
Expand Down

0 comments on commit 0274ac8

Please sign in to comment.