mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-22 16:03:15 +00:00
カラーパレットに応じてテーマカラーが切り替わるように
This commit is contained in:
parent
839cb6b058
commit
6da0732642
|
@ -4,10 +4,10 @@
|
|||
<selectionStates>
|
||||
<SelectionState runConfigName="app">
|
||||
<option name="selectionMode" value="DROPDOWN" />
|
||||
<DropdownSelection timestamp="2023-12-17T15:05:17.741453858Z">
|
||||
<DropdownSelection timestamp="2023-12-18T03:36:14.973846Z">
|
||||
<Target type="DEFAULT_BOOT">
|
||||
<handle>
|
||||
<DeviceId pluginId="LocalEmulator" identifier="path=/home/rca/.android/avd/Pixel_3a_API_34_extension_level_7_x86_64.avd" />
|
||||
<DeviceId pluginId="PhysicalDevice" identifier="serial=ZY22H7V3G7" />
|
||||
</handle>
|
||||
</Target>
|
||||
</DropdownSelection>
|
||||
|
|
|
@ -1,28 +1,28 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="colorPrimary">#6750A4</color>
|
||||
<color name="colorPrimary">#566500</color>
|
||||
<color name="colorOnPrimary">#FFFFFF</color>
|
||||
<color name="colorPrimaryContainer">#EADDFF</color>
|
||||
<color name="colorOnPrimaryContainer">#21005D</color>
|
||||
<color name="colorSecondary">#625B71</color>
|
||||
<color name="colorPrimaryContainer">#D3EF40</color>
|
||||
<color name="colorOnPrimaryContainer">#181E00</color>
|
||||
<color name="colorSecondary">#5D6145</color>
|
||||
<color name="colorOnSecondary">#FFFFFF</color>
|
||||
<color name="colorSecondaryContainer">#E8DEF8</color>
|
||||
<color name="colorOnSecondaryContainer">#1D192B</color>
|
||||
<color name="colorTertiary">#7D5260</color>
|
||||
<color name="colorSecondaryContainer">#E2E5C2</color>
|
||||
<color name="colorOnSecondaryContainer">#1A1D08</color>
|
||||
<color name="colorTertiary">#3A665C</color>
|
||||
<color name="colorOnTertiary">#FFFFFF</color>
|
||||
<color name="colorTertiaryContainer">#FFD8E4</color>
|
||||
<color name="colorOnTertiaryContainer">#31111D</color>
|
||||
<color name="colorError">#B3261E</color>
|
||||
<color name="colorTertiaryContainer">#BDECDF</color>
|
||||
<color name="colorOnTertiaryContainer">#00201A</color>
|
||||
<color name="colorError">#BA1A1A</color>
|
||||
<color name="colorOnError">#FFFFFF</color>
|
||||
<color name="colorErrorContainer">#F9DEDC</color>
|
||||
<color name="colorOnErrorContainer">#410E0B</color>
|
||||
<color name="colorOutline">#79747E</color>
|
||||
<color name="colorOnBackground">#1C1B1F</color>
|
||||
<color name="colorSurface">#FFFBFE</color>
|
||||
<color name="colorOnSurface">#1C1B1F</color>
|
||||
<color name="colorSurfaceVariant">#E7E0EC</color>
|
||||
<color name="colorOnSurfaceVariant">#49454F</color>
|
||||
<color name="colorSurfaceInverse">#313033</color>
|
||||
<color name="colorOnSurfaceInverse">#F4EFF4</color>
|
||||
<color name="colorPrimaryInverse">#D0BCFF</color>
|
||||
<color name="colorErrorContainer">#FFDAD6</color>
|
||||
<color name="colorOnErrorContainer">#410002</color>
|
||||
<color name="colorOutline">#77786A</color>
|
||||
<color name="colorOnBackground">#1C1C17</color>
|
||||
<color name="colorSurface">#FFFCF4</color>
|
||||
<color name="colorOnSurface">#1C1C17</color>
|
||||
<color name="colorSurfaceVariant">#E4E3D3</color>
|
||||
<color name="colorOnSurfaceVariant">#46483B</color>
|
||||
<color name="colorSurfaceInverse">#31312B</color>
|
||||
<color name="colorOnSurfaceInverse">#F3F1E8</color>
|
||||
<color name="colorPrimaryInverse">#B8D321</color>
|
||||
</resources>
|
|
@ -1,8 +1,34 @@
|
|||
<resources xmlns:tools="http://schemas.android.com/tools">
|
||||
<!-- Base application theme. -->
|
||||
<style name="Base.Theme.Lacerta" parent="Theme.Material3.DayNight.NoActionBar">
|
||||
<!-- Customize your light theme here. -->
|
||||
<!-- <item name="colorPrimary">@color/my_light_primary</item> -->
|
||||
|
||||
<item name="colorPrimary">@color/colorPrimary</item>
|
||||
<item name="colorOnPrimary">@color/colorOnPrimary</item>
|
||||
<item name="colorSecondary">@color/colorSecondary</item>
|
||||
<item name="colorOnSecondary">@color/colorOnSecondary</item>
|
||||
<item name="colorSurface">@color/colorSurface</item>
|
||||
<item name="colorOnSurface">@color/colorOnSurface</item>
|
||||
<item name="colorSurfaceVariant">@color/colorSurfaceVariant</item>
|
||||
<item name="colorOnSurfaceVariant">@color/colorOnSurfaceVariant</item>
|
||||
<item name="colorSurfaceInverse">@color/colorSurfaceInverse</item>
|
||||
<item name="colorOnSurfaceInverse">@color/colorOnSurfaceInverse</item>
|
||||
<item name="colorPrimaryInverse">@color/colorPrimaryInverse</item>
|
||||
<item name="colorPrimaryContainer">@color/colorPrimaryContainer</item>
|
||||
<item name="colorOnPrimaryContainer">@color/colorOnPrimaryContainer</item>
|
||||
<item name="colorSecondaryContainer">@color/colorSecondaryContainer</item>
|
||||
<item name="colorOnSecondaryContainer">@color/colorOnSecondaryContainer</item>
|
||||
<item name="colorTertiary">@color/colorTertiary</item>
|
||||
<item name="colorOnTertiary">@color/colorOnTertiary</item>
|
||||
<item name="colorTertiaryContainer">@color/colorTertiaryContainer</item>
|
||||
<item name="colorOnTertiaryContainer">@color/colorOnTertiaryContainer</item>
|
||||
<item name="colorError">@color/colorError</item>
|
||||
<item name="colorOnError">@color/colorOnError</item>
|
||||
<item name="colorErrorContainer">@color/colorErrorContainer</item>
|
||||
<item name="colorOnErrorContainer">@color/colorOnErrorContainer</item>
|
||||
<item name="colorOutline">@color/colorOutline</item>
|
||||
<item name="colorOnBackground">@color/colorOnBackground</item>
|
||||
|
||||
|
||||
</style>
|
||||
|
||||
<style name="Theme.Lacerta" parent="Base.Theme.Lacerta" >
|
||||
|
|
Loading…
Reference in New Issue
Block a user