summaryrefslogtreecommitdiff
path: root/android-app/app/src/main/res/drawable
diff options
context:
space:
mode:
authorClaude <noreply@anthropic.com>2026-06-03 01:01:00 +0000
committerClaude <noreply@anthropic.com>2026-06-03 01:01:00 +0000
commit17cfd884976b4accbb2ad6af6acf3578d0c6ec53 (patch)
tree84fc18c838474608cd2350fa0bcab70e3c9c09f6 /android-app/app/src/main/res/drawable
parent4ce5fc170d1ac450764e5f7443e6cfaf089e9918 (diff)
Add night vision mode toggle
Single-tap moon FAB (stacked below layers FAB) toggles red-on-black night vision mode. NightVision theme now has a full M3 color palette (surface, surfaceVariant, outline, secondary, error) all in dark red tones. Screen brightness is set to 30% in night mode and restored to system default on exit. State persists across sessions; recreate() applies the theme switch cleanly. https://claude.ai/code/session_01KXYBuAHZkvv63DeUG6XaZD
Diffstat (limited to 'android-app/app/src/main/res/drawable')
-rw-r--r--android-app/app/src/main/res/drawable/ic_night_mode.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/android-app/app/src/main/res/drawable/ic_night_mode.xml b/android-app/app/src/main/res/drawable/ic_night_mode.xml
new file mode 100644
index 0000000..b19aeb7
--- /dev/null
+++ b/android-app/app/src/main/res/drawable/ic_night_mode.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:width="24dp"
+ android:height="24dp"
+ android:viewportWidth="24"
+ android:viewportHeight="24">
+ <path
+ android:fillColor="?attr/colorOnSurface"
+ android:pathData="M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9 9,-4.03 9,-9c0,-0.46-0.04,-0.92-0.1,-1.36-0.98,1.37-2.58,2.26-4.4,2.26-2.98,0-5.4,-2.42-5.4,-5.4 0,-1.81 0.89,-3.42 2.26,-4.4C13,3.04 12.54,3 12,3z"/>
+</vector>