* Add `Theme.Black` to the `Theme` enum and update `isDark()` to include it. * Refactor `ElementTheme` to accept a `Theme` object instead of a `darkTheme` boolean, allowing for more specific color mapping (e.g., setting `bgCanvasDefault` to `Color.Black` for the Black theme). * Update `AdvancedSettingsPresenter` and `AdvancedSettingsState` to include "Black" as a user-selectable theme option. * Adjust `ElementThemeApp` and `MaterialTextPreview` to handle the expanded theme selection. * Add `ElementPreviewBlack` and update existing preview components to support the new theme. * Update Konsist tests to ensure `@PreviewsDayNight` annotated functions don't have "BlackPreview" suffix.
10 lines
321 B
XML
10 lines
321 B
XML
<?xml version="1.0" encoding="utf-8"?><!--
|
|
~ Copyright (c) 2026 Element Creations Ltd.
|
|
~
|
|
~ SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial.
|
|
~ Please see LICENSE files in the repository root for full details.
|
|
-->
|
|
|
|
<resources>
|
|
<string name="common_black">"Black"</string>
|
|
</resources>
|