Drop unused res
* Use dyn color as much as possible, try avoid hardcode color schemes
This commit is contained in:
1 parent
2956ff08bd
commit
c543d1540c
5 files changed
+7
-77
No files matched your search
@@ -1,22 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Copyright 2018 Hippo Seven
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item android:color="@color/content_activated" android:state_activated="true" />
|
||||
<item android:color="@color/content" />
|
||||
|
||||
</selector>
|
||||
@@ -1,22 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Copyright 2018 Hippo Seven
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item android:color="@color/content_activated_black" android:state_activated="true" />
|
||||
<item android:color="@color/content_black" />
|
||||
|
||||
</selector>
|
||||
@@ -17,12 +17,6 @@
|
||||
<resources>
|
||||
|
||||
<color name="primary_drawable">#ffffffff</color>
|
||||
<color name="secondary_drawable">#4dffffff</color>
|
||||
|
||||
<color name="content">@color/grey_825</color>
|
||||
<color name="content_activated">@color/grey_600</color>
|
||||
<color name="tag_group_background">@color/grey_775</color>
|
||||
<color name="tag_background">@color/grey_775</color>
|
||||
|
||||
<!-- divider -->
|
||||
<color name="divider">#20ffffff</color>
|
||||
|
||||
@@ -16,37 +16,19 @@
|
||||
|
||||
<resources>
|
||||
<color name="primary_drawable">#8a000000</color>
|
||||
<color name="secondary_drawable">#42000000</color>
|
||||
<color name="primary_drawable_dark">#ffffffff</color>
|
||||
<color name="primary_drawable_black">#ccffffff</color>
|
||||
<color name="secondary_drawable_black">#3dffffff</color>
|
||||
<color name="content">#fff</color>
|
||||
<color name="content_black">@color/grey_925</color>
|
||||
<color name="content_activated">@color/grey_300</color>
|
||||
<color name="content_activated_black">@color/grey_700</color>
|
||||
<color name="tag_group_background">@color/colorAccent</color>
|
||||
<color name="tag_group_background_black">@color/grey_875</color>
|
||||
<color name="tag_background">@color/colorPrimary</color>
|
||||
<color name="tag_background_black">@color/grey_875</color>
|
||||
<color name="red_500">#fff44336</color>
|
||||
<color name="teal_500">#ff009688</color>
|
||||
<color name="purple_a200">#ffe040fb</color>
|
||||
<color name="purple_a700">#ffaa00ff</color>
|
||||
<color name="cyan_600">#ff00acc1</color>
|
||||
<color name="light_green_600">#ff7cb342</color>
|
||||
<color name="yellow_800">#fff9a825</color>
|
||||
<color name="deep_orange_400">#ffff7043</color>
|
||||
<color name="grey_925">#ff191919</color>
|
||||
<color name="grey_875">#ff292929</color>
|
||||
<color name="grey_825">#ff3a3a3a</color>
|
||||
<color name="grey_775">#ff4a4a4a</color>
|
||||
<color name="grey_700">#ff616161</color>
|
||||
<color name="grey_600">#ff757575</color>
|
||||
<color name="grey_500">#ff9e9e9e</color>
|
||||
<color name="grey_300">#ffe0e0e0</color>
|
||||
<color name="brown_500">#ff795548</color>
|
||||
<color name="colorPrimary">@color/teal_500</color>
|
||||
<color name="colorAccent">@color/purple_a200</color>
|
||||
<color name="loading_indicator_red">#ffe53935</color>
|
||||
<color name="loading_indicator_purple">@color/purple_a700</color>
|
||||
<color name="loading_indicator_blue">#ff1d87e4</color>
|
||||
|
||||
@@ -25,13 +25,13 @@
|
||||
<item name="colorEdgeEffect">@color/grey_500</item>
|
||||
<item name="dividerColor">@color/divider</item>
|
||||
<item name="colorControlNormal">@color/primary_drawable</item>
|
||||
<item name="drawableColorSecondary">@color/secondary_drawable</item>
|
||||
<item name="drawableColorThemePrimary">@color/primary_drawable</item>
|
||||
<item name="guideBackgroundColor">#e5303030</item>
|
||||
<item name="guideTitleColor">?android:attr/textColorPrimary</item>
|
||||
<item name="guideTextColor">?android:attr/textColorSecondary</item>
|
||||
<item name="tagGroupBackgroundColor">@color/tag_group_background</item>
|
||||
<item name="tagBackgroundColor">@color/tag_background</item>
|
||||
<item name="drawableColorSecondary">@color/material_dynamic_secondary50</item>
|
||||
<item name="drawableColorThemePrimary">@color/material_dynamic_primary50</item>
|
||||
<item name="guideBackgroundColor">@color/material_dynamic_neutral80</item>
|
||||
<item name="guideTitleColor">@color/material_dynamic_primary70</item>
|
||||
<item name="guideTextColor">@color/material_dynamic_primary50</item>
|
||||
<item name="tagGroupBackgroundColor">@color/material_dynamic_primary50</item>
|
||||
<item name="tagBackgroundColor">@color/material_dynamic_neutral50</item>
|
||||
<item name="android:windowActionBar">false</item>
|
||||
<item name="android:windowNoTitle">true</item>
|
||||
<item name="windowActionBar">false</item>
|
||||
@@ -49,8 +49,6 @@
|
||||
<item name="drawableColorSecondary">@color/secondary_drawable_black</item>
|
||||
<item name="drawableColorThemePrimary">@color/primary_drawable_black</item>
|
||||
<item name="guideBackgroundColor">#e5000000</item>
|
||||
<item name="tagGroupBackgroundColor">@color/tag_group_background_black</item>
|
||||
<item name="tagBackgroundColor">@color/tag_background_black</item>
|
||||
</style>
|
||||
|
||||
<!-- ============ -->
|
||||
|
||||
Reference in new issue
Block a user