Add Lime theme

This commit is contained in:
Lucas Lima 2020-08-24 22:39:50 -03:00
parent 99d34571ea
commit ad9ce9f0d1
No known key found for this signature in database
GPG key ID: C5EEF4C30BFBF8D7
2 changed files with 55 additions and 1 deletions

View file

@ -463,7 +463,7 @@ object Themes {
themeNoActionBar = R.style.CustomDarkTheme_NoActionBar,
palette = AreaPalette(
border = 0x000000,
background = 0xFFFFFF,
background = 0x212121,
covered = 0xedf1f2,
coveredOdd = 0xdcdee0,
uncovered = 0x212121,
@ -488,6 +488,38 @@ object Themes {
mineExploded = R.drawable.mine_white,
mineLow = R.drawable.mine_low
)
),
AppTheme(
id = 16L,
theme = R.style.CustomLimeTheme,
themeNoActionBar = R.style.CustomLimeTheme_NoActionBar,
palette = AreaPalette(
border = 0x000000,
background = 0x212121,
covered = 0xcddc39,
coveredOdd = 0x99aa00,
uncovered = 0x212121,
uncoveredOdd = 0x212121,
minesAround1 = 0xFFFFFF,
minesAround2 = 0xCCCCCC,
minesAround3 = 0xAAAAAA,
minesAround4 = 0xDDDDDD,
minesAround5 = 0xFFFFFF,
minesAround6 = 0xFF0000,
minesAround7 = 0xFF0000,
minesAround8 = 0xFF0000,
highlight = 0xd1c4e9,
focus = 0xD32F2F
),
assets = Assets(
wrongFlag = R.drawable.flag_black,
flag = R.drawable.flag_black,
questionMark = R.drawable.question_black,
toolbarMine = R.drawable.mine_low,
mine = R.drawable.mine_white,
mineExploded = R.drawable.mine_white,
mineLow = R.drawable.mine_low
)
)
)
}

View file

@ -225,4 +225,26 @@
<item name="android:windowTranslucentStatus">true</item>
<item name="android:windowTranslucentNavigation">true</item>
</style>
<style name="CustomLimeTheme" parent="ThemeOverlay.AppCompat.Dark">
<item name="colorPrimary">#212121</item>
<item name="colorPrimaryDark">#212121</item>
<item name="colorAccent">#cddc39</item>
<item name="android:windowDrawsSystemBarBackgrounds">true</item>
<item name="android:statusBarColor">@android:color/transparent</item>
<item name="android:windowTranslucentStatus">true</item>
<item name="android:windowTranslucentNavigation">true</item>
</style>
<style name="CustomLimeTheme.NoActionBar" parent="ThemeOverlay.AppCompat.Dark">
<item name="colorPrimary">#212121</item>
<item name="colorPrimaryDark">#212121</item>
<item name="colorAccent">#cddc39</item>
<item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>
<item name="android:windowDrawsSystemBarBackgrounds">true</item>
<item name="android:statusBarColor">@android:color/transparent</item>
<item name="android:windowTranslucentStatus">true</item>
<item name="android:windowTranslucentNavigation">true</item>
</style>
</resources>