style: 默认颜色修改

底部操作条更明显
pull/95/head
kunfei 5 years ago
parent bad4038fd0
commit 194343de01
  1. 4
      app/src/main/java/io/legado/app/ui/filechooser/FileChooserDialog.kt
  2. 2
      app/src/main/res/drawable/item_bg_dark.xml
  3. 2
      app/src/main/res/drawable/item_bg_light.xml
  4. 2
      app/src/main/res/layout/activity_arrange_book.xml
  5. 2
      app/src/main/res/layout/activity_book_source.xml
  6. 2
      app/src/main/res/layout/activity_import_book.xml
  7. 2
      app/src/main/res/layout/activity_rss_source.xml
  8. 2
      app/src/main/res/layout/dialog_change_source.xml
  9. 1
      app/src/main/res/layout/dialog_file_chooser.xml
  10. 1
      app/src/main/res/layout/dialog_font_select.xml
  11. 1
      app/src/main/res/layout/dialog_recycler_view.xml
  12. 1
      app/src/main/res/layout/dialog_replace_edit.xml
  13. 6
      app/src/main/res/values-night/colors.xml
  14. 7
      app/src/main/res/values/colors.xml
  15. 2
      app/src/main/res/values/styles.xml
  16. 18
      package.json

@ -13,7 +13,6 @@ import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.RecyclerView
import io.legado.app.R
import io.legado.app.constant.Theme
import io.legado.app.lib.theme.ATH
import io.legado.app.ui.filechooser.adapter.FileAdapter
import io.legado.app.ui.filechooser.adapter.PathAdapter
import io.legado.app.utils.*
@ -90,8 +89,7 @@ class FileChooserDialog : DialogFragment(),
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
super.onViewCreated(view, savedInstanceState)
ATH.applyBackgroundTint(view)
ATH.applyBackgroundTint(rv_path)
view.setBackgroundResource(R.color.background_card)
arguments?.let {
requestCode = it.getInt("requestCode")
mode = it.getInt("mode", FILE)

@ -1,3 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<color xmlns:android="http://schemas.android.com/apk/res/android"
android:color="@color/item_bg_color" />
android:color="@color/md_grey_800" />

@ -1,3 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<color xmlns:android="http://schemas.android.com/apk/res/android"
android:color="@color/md_grey_100" />
android:color="@color/md_grey_200" />

@ -21,7 +21,7 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/background"
android:background="@color/background_menu"
android:gravity="center_vertical"
android:paddingLeft="16dp"
android:paddingRight="16dp"

@ -31,7 +31,7 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/background"
android:background="@color/background_menu"
android:gravity="center_vertical"
android:paddingLeft="16dp"
android:paddingRight="16dp"

@ -72,7 +72,7 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/background"
android:background="@color/background_menu"
android:gravity="center_vertical"
android:paddingLeft="16dp"
android:paddingRight="16dp"

@ -31,7 +31,7 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/background"
android:background="@color/background_menu"
android:gravity="center_vertical"
android:paddingLeft="16dp"
android:paddingRight="16dp"

@ -9,7 +9,7 @@
android:id="@+id/tool_bar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/background"
android:background="@color/background_menu"
android:elevation="5dp"
app:displayHomeAsUp="false"
app:fitStatusBar="false"

@ -6,6 +6,7 @@
<androidx.appcompat.widget.Toolbar
android:id="@+id/tool_bar"
android:background="@color/background_menu"
android:layout_width="match_parent"
android:layout_height="wrap_content" />

@ -7,6 +7,7 @@
<androidx.appcompat.widget.Toolbar
android:id="@+id/tool_bar"
android:background="@color/background_menu"
android:layout_width="match_parent"
android:layout_height="wrap_content" />

@ -6,6 +6,7 @@
<androidx.appcompat.widget.Toolbar
android:id="@+id/tool_bar"
android:background="@color/background_menu"
android:layout_width="match_parent"
android:layout_height="wrap_content" />

@ -7,6 +7,7 @@
<androidx.appcompat.widget.Toolbar
android:id="@+id/tool_bar"
android:background="@color/background_menu"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:title="@string/replace_rule_edit" />

@ -4,9 +4,9 @@
<color name="colorPrimaryDark">@color/md_blue_grey_700</color>
<color name="colorAccent">@color/md_deep_orange_800</color>
<color name="background">@color/md_grey_800</color>
<color name="background_card">#353535</color>
<color name="background_menu">#282828</color>
<color name="background">@color/md_grey_900</color>
<color name="background_card">@color/md_grey_850</color>
<color name="background_menu">@color/md_grey_800</color>
<color name="night_mask">#69000000</color>

@ -7,16 +7,15 @@
<color name="lightBlue_color">#FF578FCC</color>
<color name="shine_color">#FF212227</color>
<color name="item_bg_color">#FF272731</color>
<color name="error">#eb4333</color>
<color name="success">#439b53</color>
<color name="night_mask">#00000000</color>
<color name="background">@color/md_grey_100</color>
<color name="background_card">#dedede</color>
<color name="background_menu">#fcfcfc</color>
<color name="background">@color/md_grey_50</color>
<color name="background_card">@color/md_grey_100</color>
<color name="background_menu">@color/md_grey_200</color>
<color name="transparent">#00000000</color>
<color name="transparent30">#30000000</color>

@ -41,7 +41,7 @@
</style>
<style name="AppTheme.AppBarOverlay.Dark" parent="ThemeOverlay.AppCompat.Dark">
<item name="colorAccent">@color/md_grey_100</item>
<item name="colorAccent">@color/md_grey_50</item>
</style>
<style name="AppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light">

@ -8,5 +8,21 @@
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
},
"description": "[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/gedoor/legado.git"
},
"keywords": [],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/gedoor/legado/issues"
},
"homepage": "https://github.com/gedoor/legado#readme"
}

Loading…
Cancel
Save