|
127 | 127 | <item name="android:windowOptOutEdgeToEdgeEnforcement" tools:targetApi="35">true</item> |
128 | 128 | </style> |
129 | 129 |
|
130 | | - <!-- Black Theme --> |
131 | | - <style name="BlackTheme" parent="DarkTheme"> <!-- Inherits from M3 Dark Theme --> |
| 130 | + <style name="BlackTheme" parent="DarkTheme"> |
132 | 131 | <item name="android:colorBackground">@color/m3_surface_black</item> |
133 | 132 | <item name="colorSurface">@color/m3_surface_black</item> |
134 | | - <item name="windowBackground">@color/m3_surface_black</item> <!-- For AppCompat --> |
| 133 | + <item name="windowBackground">@color/m3_surface_black</item> |
135 | 134 |
|
136 | | - <!-- Override specific custom attributes for true black if needed --> |
137 | | - <item name="contrast_background_color">@color/m3_surface_container_low_dark</item> <!-- A very dark gray --> |
138 | | - <item name="card_item_background_color">@color/m3_surface_black</item> <!-- Cards are also black --> |
139 | | - <item name="card_item_contrast_color">@color/m3_on_surface_dark</item> <!-- Text on black surface --> |
140 | | - |
141 | | - <!-- Other dark theme attributes are inherited, including drawables. |
142 | | - If specific black drawables are needed, override them here. e.g. |
143 | | - <item name="dashed_border">@drawable/dashed_border_black</item> |
144 | | - --> |
| 135 | + <item name="contrast_background_color">@color/m3_surface_container_low_dark</item> |
| 136 | + <item name="card_item_background_color">@color/m3_surface_black</item> |
| 137 | + <item name="card_item_contrast_color">@color/m3_on_surface_dark</item> |
145 | 138 | </style> |
146 | 139 |
|
147 | 140 | <!-- Component Styles --> |
|
177 | 170 | <item name="backgroundTint">?attr/colorSurfaceContainerHigh</item> |
178 | 171 | </style> |
179 | 172 |
|
180 | | - <!-- Retain existing dialog theme names by parenting them --> |
181 | | - <style name="LightDialogTheme" parent="App.MaterialAlertDialog.Light"/> |
182 | | - <style name="DarkDialogTheme" parent="App.MaterialAlertDialog.Dark"/> |
183 | | - <style name="LightDialogMinWidthTheme" parent="App.MaterialAlertDialog.Light"/> <!-- M3 Dialogs handle min width well --> |
184 | | - <style name="DarkDialogMinWidthTheme" parent="App.MaterialAlertDialog.Dark"/> |
185 | | - |
186 | | - <!-- Settings Themes --> |
187 | | - <!-- For preferences, M3 components within preferences (like SwitchPreferenceCompat) |
188 | | - will typically use colorControlActivated (mapped to ?attr/colorPrimary) |
189 | | - and other theme colors automatically. |
190 | | - If 'settings_accent_color' was very specific, map it to colorPrimary or colorSecondary here. |
191 | | - --> |
192 | | - <style name="LightSettingsTheme" parent="LightTheme"> |
193 | | - <!-- If settings had a truly distinct accent, override colorPrimary or colorSecondary --> |
194 | | - <!-- <item name="colorPrimary">@color/your_specific_m3_settings_accent_light</item> --> |
195 | | - </style> |
196 | | - |
197 | | - <style name="DarkSettingsTheme" parent="DarkTheme"> |
198 | | - <!-- <item name="colorPrimary">@color/your_specific_m3_settings_accent_dark</item> --> |
199 | | - </style> |
200 | | - |
201 | | - <style name="BlackSettingsTheme" parent="BlackTheme"> |
202 | | - <!-- <item name="colorPrimary">@color/your_specific_m3_settings_accent_black</item> --> |
203 | | - </style> |
204 | | - |
205 | 173 | <!-- Router Activity Themes --> |
206 | 174 | <style name="RouterActivityThemeLight" parent="LightTheme"> |
207 | 175 | <item name="android:windowIsTranslucent">true</item> |
|
0 commit comments