diff --git a/common/src/main/java/dev/lucasnlm/antimine/core/themes/repository/ThemeRepository.kt b/common/src/main/java/dev/lucasnlm/antimine/core/themes/repository/ThemeRepository.kt index b3b79440..dc0e1ff1 100644 --- a/common/src/main/java/dev/lucasnlm/antimine/core/themes/repository/ThemeRepository.kt +++ b/common/src/main/java/dev/lucasnlm/antimine/core/themes/repository/ThemeRepository.kt @@ -15,6 +15,7 @@ import dev.lucasnlm.antimine.core.themes.repository.Themes.GardenTheme import dev.lucasnlm.antimine.core.themes.repository.Themes.LightTheme import dev.lucasnlm.antimine.core.themes.repository.Themes.MarineTheme import dev.lucasnlm.antimine.core.themes.repository.Themes.OrangeTheme +import dev.lucasnlm.antimine.core.themes.repository.Themes.PinkTheme interface IThemeRepository { fun getCustomTheme(): AppTheme? @@ -38,7 +39,8 @@ class ThemeRepository( override fun getAllThemes(): List = listOf( buildSystemTheme(), AmoledTheme, LightTheme, DarkTheme, GardenTheme, MarineTheme, - ChessTheme, BlueGreyTheme, OrangeTheme + ChessTheme, BlueGreyTheme, OrangeTheme, + PinkTheme ) override fun setTheme(theme: AppTheme) { diff --git a/common/src/main/java/dev/lucasnlm/antimine/core/themes/repository/Themes.kt b/common/src/main/java/dev/lucasnlm/antimine/core/themes/repository/Themes.kt index a36270d0..a294a720 100644 --- a/common/src/main/java/dev/lucasnlm/antimine/core/themes/repository/Themes.kt +++ b/common/src/main/java/dev/lucasnlm/antimine/core/themes/repository/Themes.kt @@ -269,4 +269,38 @@ object Themes { mineLow = R.drawable.mine_low ) ) + + + val PinkTheme = AppTheme( + id = 9L, + theme = R.style.CustomPinkTheme, + themeNoActionBar = R.style.CustomPinkTheme_NoActionBar, + palette = AreaPalette( + border = 0x000000, + background = 0xFFFFFF, + covered = 0xf48fb1, + coveredOdd = 0xf48fb1, + uncovered = 0xfce4ec, + uncoveredOdd = 0xfce4ec, + minesAround1 = 0x616161, + minesAround2 = 0xe64a19, + minesAround3 = 0x8e24aa, + minesAround4 = 0x000000, + minesAround5 = 0x1e88e5, + minesAround6 = 0x424242, + minesAround7 = 0x616161, + minesAround8 = 0x000000, + highlight = 0x212121, + focus = 0xD32F2F + ), + assets = Assets( + wrongFlag = R.drawable.flag, + flag = R.drawable.flag, + questionMark = R.drawable.question, + toolbarMine = R.drawable.mine_low, + mine = R.drawable.mine_pink, + mineExploded = R.drawable.mine_pink_exploded, + mineLow = R.drawable.mine_low + ) + ) } diff --git a/common/src/main/res/drawable/mine_pink.xml b/common/src/main/res/drawable/mine_pink.xml new file mode 100755 index 00000000..cd86a3ee --- /dev/null +++ b/common/src/main/res/drawable/mine_pink.xml @@ -0,0 +1,14 @@ + + + + diff --git a/common/src/main/res/drawable/mine_pink_exploded.xml b/common/src/main/res/drawable/mine_pink_exploded.xml new file mode 100755 index 00000000..443e750d --- /dev/null +++ b/common/src/main/res/drawable/mine_pink_exploded.xml @@ -0,0 +1,14 @@ + + + + diff --git a/common/src/main/res/values-v21/themes.xml b/common/src/main/res/values-v21/themes.xml index 1744675b..21ad696e 100644 --- a/common/src/main/res/values-v21/themes.xml +++ b/common/src/main/res/values-v21/themes.xml @@ -181,4 +181,26 @@ true true + + + + diff --git a/common/src/main/res/values/themes.xml b/common/src/main/res/values/themes.xml index 95778107..b668a458 100644 --- a/common/src/main/res/values/themes.xml +++ b/common/src/main/res/values/themes.xml @@ -119,4 +119,18 @@ false true + + + +