Wrap material colors in MaterialColor and change it to internal to avoid leaking it into the project

This commit is contained in:
Wolf Montwé 2023-03-23 13:15:21 +01:00
parent 744d4bc0ee
commit 74b303bd62
No known key found for this signature in database
GPG key ID: 6D45B21512ACBF72
4 changed files with 226 additions and 221 deletions

View file

@ -22,14 +22,14 @@ data class Colors(
val isLight: Boolean,
)
fun lightColors(
primary: Color = Color(0xFF6200EE),
primaryVariant: Color = Color(0xFF3700B3),
secondary: Color = Color(0xFF03DAC6),
secondaryVariant: Color = Color(0xFF018786),
background: Color = Color.White,
internal fun lightColors(
primary: Color = MaterialColor.deep_purple_600,
primaryVariant: Color = MaterialColor.deep_purple_900,
secondary: Color = MaterialColor.cyan_600,
secondaryVariant: Color = MaterialColor.cyan_800,
background: Color = MaterialColor.gray_200,
surface: Color = Color.White,
error: Color = Color(0xFFB00020),
error: Color = MaterialColor.red_600,
onPrimary: Color = Color.White,
onSecondary: Color = Color.Black,
onBackground: Color = Color.Black,
@ -51,14 +51,14 @@ fun lightColors(
isLight = true,
)
fun darkColors(
primary: Color = Color(0xFFBB86FC),
primaryVariant: Color = Color(0xFF3700B3),
secondary: Color = Color(0xFF03DAC6),
secondaryVariant: Color = secondary,
background: Color = Color(0xFF121212),
surface: Color = Color(0xFF121212),
error: Color = Color(0xFFCF6679),
internal fun darkColors(
primary: Color = MaterialColor.deep_purple_200,
primaryVariant: Color = MaterialColor.deep_purple_50,
secondary: Color = MaterialColor.cyan_300,
secondaryVariant: Color = MaterialColor.cyan_100,
background: Color = MaterialColor.gray_800,
surface: Color = MaterialColor.gray_900,
error: Color = MaterialColor.red_300,
onPrimary: Color = Color.Black,
onSecondary: Color = Color.Black,
onBackground: Color = Color.White,

View file

@ -4,17 +4,17 @@ import androidx.compose.foundation.isSystemInDarkTheme
import androidx.compose.runtime.Composable
private val k9LightColorPalette = lightColors(
primary = material_gray_800,
primaryVariant = material_gray_700,
secondary = material_pink_500,
secondaryVariant = material_pink_300,
primary = MaterialColor.gray_800,
primaryVariant = MaterialColor.gray_700,
secondary = MaterialColor.pink_500,
secondaryVariant = MaterialColor.pink_300,
)
private val k9DarkColorPalette = darkColors(
primary = material_gray_100,
primaryVariant = material_gray_50,
secondary = material_pink_300,
secondaryVariant = material_pink_500,
primary = MaterialColor.gray_100,
primaryVariant = MaterialColor.gray_50,
secondary = MaterialColor.pink_300,
secondaryVariant = MaterialColor.pink_500,
)
@Composable

View file

@ -4,211 +4,214 @@ package app.k9mail.core.ui.compose.theme
import androidx.compose.ui.graphics.Color
val material_red_50 = Color(color = 0xFFFFEBEE)
val material_red_100 = Color(color = 0xFFFFCDD2)
val material_red_200 = Color(color = 0xFFEF9A9A)
val material_red_300 = Color(color = 0xFFE57373)
val material_red_400 = Color(color = 0xFFEF5350)
val material_red_500 = Color(color = 0xFFF44336)
val material_red_600 = Color(color = 0xFFE53935)
val material_red_700 = Color(color = 0xFFD32F2F)
val material_red_800 = Color(color = 0xFFC62828)
val material_red_900 = Color(color = 0xFFB71C1C)
internal object MaterialColor {
val material_deep_purple_50 = Color(color = 0xFFEDE7F6)
val material_deep_purple_100 = Color(color = 0xFFD1C4E9)
val material_deep_purple_200 = Color(color = 0xFFB39DDB)
val material_deep_purple_300 = Color(color = 0xFF9575CD)
val material_deep_purple_400 = Color(color = 0xFF7E57C2)
val material_deep_purple_500 = Color(color = 0xFF673AB7)
val material_deep_purple_600 = Color(color = 0xFF5E35B1)
val material_deep_purple_700 = Color(color = 0xFF512DA8)
val material_deep_purple_800 = Color(color = 0xFF4527A0)
val material_deep_purple_900 = Color(color = 0xFF311B92)
val red_50 = Color(color = 0xFFFFEBEE)
val red_100 = Color(color = 0xFFFFCDD2)
val red_200 = Color(color = 0xFFEF9A9A)
val red_300 = Color(color = 0xFFE57373)
val red_400 = Color(color = 0xFFEF5350)
val red_500 = Color(color = 0xFFF44336)
val red_600 = Color(color = 0xFFE53935)
val red_700 = Color(color = 0xFFD32F2F)
val red_800 = Color(color = 0xFFC62828)
val red_900 = Color(color = 0xFFB71C1C)
val material_light_blue_50 = Color(color = 0xFFE1F5FE)
val material_light_blue_100 = Color(color = 0xFFB3E5FC)
val material_light_blue_200 = Color(color = 0xFF81D4FA)
val material_light_blue_300 = Color(color = 0xFF4FC3F7)
val material_light_blue_400 = Color(color = 0xFF29B6F6)
val material_light_blue_500 = Color(color = 0xFF03A9F4)
val material_light_blue_600 = Color(color = 0xFF039BE5)
val material_light_blue_700 = Color(color = 0xFF0288D1)
val material_light_blue_800 = Color(color = 0xFF0277BD)
val material_light_blue_900 = Color(color = 0xFF01579B)
val deep_purple_50 = Color(color = 0xFFEDE7F6)
val deep_purple_100 = Color(color = 0xFFD1C4E9)
val deep_purple_200 = Color(color = 0xFFB39DDB)
val deep_purple_300 = Color(color = 0xFF9575CD)
val deep_purple_400 = Color(color = 0xFF7E57C2)
val deep_purple_500 = Color(color = 0xFF673AB7)
val deep_purple_600 = Color(color = 0xFF5E35B1)
val deep_purple_700 = Color(color = 0xFF512DA8)
val deep_purple_800 = Color(color = 0xFF4527A0)
val deep_purple_900 = Color(color = 0xFF311B92)
val material_green_50 = Color(color = 0xFFE8F5E9)
val material_green_100 = Color(color = 0xFFC8E6C9)
val material_green_200 = Color(color = 0xFFA5D6A7)
val material_green_300 = Color(color = 0xFF81C784)
val material_green_400 = Color(color = 0xFF66BB6A)
val material_green_500 = Color(color = 0xFF4CAF50)
val material_green_600 = Color(color = 0xFF43A047)
val material_green_700 = Color(color = 0xFF388E3C)
val material_green_800 = Color(color = 0xFF2E7D32)
val material_green_900 = Color(color = 0xFF1B5E20)
val light_blue_50 = Color(color = 0xFFE1F5FE)
val light_blue_100 = Color(color = 0xFFB3E5FC)
val light_blue_200 = Color(color = 0xFF81D4FA)
val light_blue_300 = Color(color = 0xFF4FC3F7)
val light_blue_400 = Color(color = 0xFF29B6F6)
val light_blue_500 = Color(color = 0xFF03A9F4)
val light_blue_600 = Color(color = 0xFF039BE5)
val light_blue_700 = Color(color = 0xFF0288D1)
val light_blue_800 = Color(color = 0xFF0277BD)
val light_blue_900 = Color(color = 0xFF01579B)
val material_yellow_50 = Color(color = 0xFFFFFDE7)
val material_yellow_100 = Color(color = 0xFFFFF9C4)
val material_yellow_200 = Color(color = 0xFFFFF59D)
val material_yellow_300 = Color(color = 0xFFFFF176)
val material_yellow_400 = Color(color = 0xFFFFEE58)
val material_yellow_500 = Color(color = 0xFFFFEB3B)
val material_yellow_600 = Color(color = 0xFFFDD835)
val material_yellow_700 = Color(color = 0xFFFBC02D)
val material_yellow_800 = Color(color = 0xFFF9A825)
val material_yellow_900 = Color(color = 0xFFF57F17)
val green_50 = Color(color = 0xFFE8F5E9)
val green_100 = Color(color = 0xFFC8E6C9)
val green_200 = Color(color = 0xFFA5D6A7)
val green_300 = Color(color = 0xFF81C784)
val green_400 = Color(color = 0xFF66BB6A)
val green_500 = Color(color = 0xFF4CAF50)
val green_600 = Color(color = 0xFF43A047)
val green_700 = Color(color = 0xFF388E3C)
val green_800 = Color(color = 0xFF2E7D32)
val green_900 = Color(color = 0xFF1B5E20)
val material_deep_orange_50 = Color(color = 0xFFFBE9E7)
val material_deep_orange_100 = Color(color = 0xFFFFCCBC)
val material_deep_orange_200 = Color(color = 0xFFFFAB91)
val material_deep_orange_300 = Color(color = 0xFFFF8A65)
val material_deep_orange_400 = Color(color = 0xFFFF7043)
val material_deep_orange_500 = Color(color = 0xFFFF5722)
val material_deep_orange_600 = Color(color = 0xFFF4511E)
val material_deep_orange_700 = Color(color = 0xFFE64A19)
val material_deep_orange_800 = Color(color = 0xFFD84315)
val material_deep_orange_900 = Color(color = 0xFFBF360C)
val yellow_50 = Color(color = 0xFFFFFDE7)
val yellow_100 = Color(color = 0xFFFFF9C4)
val yellow_200 = Color(color = 0xFFFFF59D)
val yellow_300 = Color(color = 0xFFFFF176)
val yellow_400 = Color(color = 0xFFFFEE58)
val yellow_500 = Color(color = 0xFFFFEB3B)
val yellow_600 = Color(color = 0xFFFDD835)
val yellow_700 = Color(color = 0xFFFBC02D)
val yellow_800 = Color(color = 0xFFF9A825)
val yellow_900 = Color(color = 0xFFF57F17)
val material_blue_gray_50 = Color(color = 0xFFECEFF1)
val material_blue_gray_100 = Color(color = 0xFFCFD8DC)
val material_blue_gray_200 = Color(color = 0xFFB0BEC5)
val material_blue_gray_300 = Color(color = 0xFF90A4AE)
val material_blue_gray_400 = Color(color = 0xFF78909C)
val material_blue_gray_500 = Color(color = 0xFF607D8B)
val material_blue_gray_600 = Color(color = 0xFF546E7A)
val material_blue_gray_700 = Color(color = 0xFF455A64)
val material_blue_gray_800 = Color(color = 0xFF37474F)
val material_blue_gray_900 = Color(color = 0xFF263238)
val deep_orange_50 = Color(color = 0xFFFBE9E7)
val deep_orange_100 = Color(color = 0xFFFFCCBC)
val deep_orange_200 = Color(color = 0xFFFFAB91)
val deep_orange_300 = Color(color = 0xFFFF8A65)
val deep_orange_400 = Color(color = 0xFFFF7043)
val deep_orange_500 = Color(color = 0xFFFF5722)
val deep_orange_600 = Color(color = 0xFFF4511E)
val deep_orange_700 = Color(color = 0xFFE64A19)
val deep_orange_800 = Color(color = 0xFFD84315)
val deep_orange_900 = Color(color = 0xFFBF360C)
val material_pink_50 = Color(color = 0xFFFCE4EC)
val material_pink_100 = Color(color = 0xFFF8BBD0)
val material_pink_200 = Color(color = 0xFFF48FB1)
val material_pink_300 = Color(color = 0xFFF06292)
val material_pink_400 = Color(color = 0xFFEC407A)
val material_pink_500 = Color(color = 0xFFE91E63)
val material_pink_600 = Color(color = 0xFFD81B60)
val material_pink_700 = Color(color = 0xFFC2185B)
val material_pink_800 = Color(color = 0xFFAD1457)
val material_pink_900 = Color(color = 0xFF880E4F)
val blue_gray_50 = Color(color = 0xFFECEFF1)
val blue_gray_100 = Color(color = 0xFFCFD8DC)
val blue_gray_200 = Color(color = 0xFFB0BEC5)
val blue_gray_300 = Color(color = 0xFF90A4AE)
val blue_gray_400 = Color(color = 0xFF78909C)
val blue_gray_500 = Color(color = 0xFF607D8B)
val blue_gray_600 = Color(color = 0xFF546E7A)
val blue_gray_700 = Color(color = 0xFF455A64)
val blue_gray_800 = Color(color = 0xFF37474F)
val blue_gray_900 = Color(color = 0xFF263238)
val material_indigo_50 = Color(color = 0xFFE8EAF6)
val material_indigo_100 = Color(color = 0xFFC5CAE9)
val material_indigo_200 = Color(color = 0xFF9FA8DA)
val material_indigo_300 = Color(color = 0xFF7986CB)
val material_indigo_400 = Color(color = 0xFF5C6BC0)
val material_indigo_500 = Color(color = 0xFF3F51B5)
val material_indigo_600 = Color(color = 0xFF3949AB)
val material_indigo_700 = Color(color = 0xFF303F9F)
val material_indigo_800 = Color(color = 0xFF283593)
val material_indigo_900 = Color(color = 0xFF1A237E)
val pink_50 = Color(color = 0xFFFCE4EC)
val pink_100 = Color(color = 0xFFF8BBD0)
val pink_200 = Color(color = 0xFFF48FB1)
val pink_300 = Color(color = 0xFFF06292)
val pink_400 = Color(color = 0xFFEC407A)
val pink_500 = Color(color = 0xFFE91E63)
val pink_600 = Color(color = 0xFFD81B60)
val pink_700 = Color(color = 0xFFC2185B)
val pink_800 = Color(color = 0xFFAD1457)
val pink_900 = Color(color = 0xFF880E4F)
val material_cyan_50 = Color(color = 0xFFE0F7FA)
val material_cyan_100 = Color(color = 0xFFB2EBF2)
val material_cyan_200 = Color(color = 0xFF80DEEA)
val material_cyan_300 = Color(color = 0xFF4DD0E1)
val material_cyan_400 = Color(color = 0xFF26C6DA)
val material_cyan_500 = Color(color = 0xFF00BCD4)
val material_cyan_600 = Color(color = 0xFF00ACC1)
val material_cyan_700 = Color(color = 0xFF0097A7)
val material_cyan_800 = Color(color = 0xFF00838F)
val material_cyan_900 = Color(color = 0xFF006064)
val indigo_50 = Color(color = 0xFFE8EAF6)
val indigo_100 = Color(color = 0xFFC5CAE9)
val indigo_200 = Color(color = 0xFF9FA8DA)
val indigo_300 = Color(color = 0xFF7986CB)
val indigo_400 = Color(color = 0xFF5C6BC0)
val indigo_500 = Color(color = 0xFF3F51B5)
val indigo_600 = Color(color = 0xFF3949AB)
val indigo_700 = Color(color = 0xFF303F9F)
val indigo_800 = Color(color = 0xFF283593)
val indigo_900 = Color(color = 0xFF1A237E)
val material_light_green_50 = Color(color = 0xFFF1F8E9)
val material_light_green_100 = Color(color = 0xFFDCEDC8)
val material_light_green_200 = Color(color = 0xFFC5E1A5)
val material_light_green_300 = Color(color = 0xFFAED581)
val material_light_green_400 = Color(color = 0xFF9CCC65)
val material_light_green_500 = Color(color = 0xFF8BC34A)
val material_light_green_600 = Color(color = 0xFF7CB342)
val material_light_green_700 = Color(color = 0xFF689F38)
val material_light_green_800 = Color(color = 0xFF558B2F)
val material_light_green_900 = Color(color = 0xFF33691E)
val cyan_50 = Color(color = 0xFFE0F7FA)
val cyan_100 = Color(color = 0xFFB2EBF2)
val cyan_200 = Color(color = 0xFF80DEEA)
val cyan_300 = Color(color = 0xFF4DD0E1)
val cyan_400 = Color(color = 0xFF26C6DA)
val cyan_500 = Color(color = 0xFF00BCD4)
val cyan_600 = Color(color = 0xFF00ACC1)
val cyan_700 = Color(color = 0xFF0097A7)
val cyan_800 = Color(color = 0xFF00838F)
val cyan_900 = Color(color = 0xFF006064)
val material_amber_50 = Color(color = 0xFFFFF8E1)
val material_amber_100 = Color(color = 0xFFFFECB3)
val material_amber_200 = Color(color = 0xFFFFE082)
val material_amber_300 = Color(color = 0xFFFFD54F)
val material_amber_400 = Color(color = 0xFFFFCA28)
val material_amber_500 = Color(color = 0xFFFFC107)
val material_amber_600 = Color(color = 0xFFFFB300)
val material_amber_700 = Color(color = 0xFFFFA000)
val material_amber_800 = Color(color = 0xFFFF8F00)
val material_amber_900 = Color(color = 0xFFFF6F00)
val light_green_50 = Color(color = 0xFFF1F8E9)
val light_green_100 = Color(color = 0xFFDCEDC8)
val light_green_200 = Color(color = 0xFFC5E1A5)
val light_green_300 = Color(color = 0xFFAED581)
val light_green_400 = Color(color = 0xFF9CCC65)
val light_green_500 = Color(color = 0xFF8BC34A)
val light_green_600 = Color(color = 0xFF7CB342)
val light_green_700 = Color(color = 0xFF689F38)
val light_green_800 = Color(color = 0xFF558B2F)
val light_green_900 = Color(color = 0xFF33691E)
val material_brown_50 = Color(color = 0xFFEFEBE9)
val material_brown_100 = Color(color = 0xFFD7CCC8)
val material_brown_200 = Color(color = 0xFFBCAAA4)
val material_brown_300 = Color(color = 0xFFA1887F)
val material_brown_400 = Color(color = 0xFF8D6E63)
val material_brown_500 = Color(color = 0xFF795548)
val material_brown_600 = Color(color = 0xFF6D4C41)
val material_brown_700 = Color(color = 0xFF5D4037)
val material_brown_800 = Color(color = 0xFF4E342E)
val material_brown_900 = Color(color = 0xFF3E2723)
val amber_50 = Color(color = 0xFFFFF8E1)
val amber_100 = Color(color = 0xFFFFECB3)
val amber_200 = Color(color = 0xFFFFE082)
val amber_300 = Color(color = 0xFFFFD54F)
val amber_400 = Color(color = 0xFFFFCA28)
val amber_500 = Color(color = 0xFFFFC107)
val amber_600 = Color(color = 0xFFFFB300)
val amber_700 = Color(color = 0xFFFFA000)
val amber_800 = Color(color = 0xFFFF8F00)
val amber_900 = Color(color = 0xFFFF6F00)
val material_purple_50 = Color(color = 0xFFF3E5F5)
val material_purple_100 = Color(color = 0xFFE1BEE7)
val material_purple_200 = Color(color = 0xFFCE93D8)
val material_purple_300 = Color(color = 0xFFBA68C8)
val material_purple_400 = Color(color = 0xFFAB47BC)
val material_purple_500 = Color(color = 0xFF9C27B0)
val material_purple_600 = Color(color = 0xFF8E24AA)
val material_purple_700 = Color(color = 0xFF7B1FA2)
val material_purple_800 = Color(color = 0xFF6A1B9A)
val material_purple_900 = Color(color = 0xFF4A148C)
val brown_50 = Color(color = 0xFFEFEBE9)
val brown_100 = Color(color = 0xFFD7CCC8)
val brown_200 = Color(color = 0xFFBCAAA4)
val brown_300 = Color(color = 0xFFA1887F)
val brown_400 = Color(color = 0xFF8D6E63)
val brown_500 = Color(color = 0xFF795548)
val brown_600 = Color(color = 0xFF6D4C41)
val brown_700 = Color(color = 0xFF5D4037)
val brown_800 = Color(color = 0xFF4E342E)
val brown_900 = Color(color = 0xFF3E2723)
val material_blue_50 = Color(color = 0xFFE3F2FD)
val material_blue_100 = Color(color = 0xFFBBDEFB)
val material_blue_200 = Color(color = 0xFF90CAF9)
val material_blue_300 = Color(color = 0xFF64B5F6)
val material_blue_400 = Color(color = 0xFF42A5F5)
val material_blue_500 = Color(color = 0xFF2196F3)
val material_blue_600 = Color(color = 0xFF1E88E5)
val material_blue_700 = Color(color = 0xFF1976D2)
val material_blue_800 = Color(color = 0xFF1565C0)
val material_blue_900 = Color(color = 0xFF0D47A1)
val purple_50 = Color(color = 0xFFF3E5F5)
val purple_100 = Color(color = 0xFFE1BEE7)
val purple_200 = Color(color = 0xFFCE93D8)
val purple_300 = Color(color = 0xFFBA68C8)
val purple_400 = Color(color = 0xFFAB47BC)
val purple_500 = Color(color = 0xFF9C27B0)
val purple_600 = Color(color = 0xFF8E24AA)
val purple_700 = Color(color = 0xFF7B1FA2)
val purple_800 = Color(color = 0xFF6A1B9A)
val purple_900 = Color(color = 0xFF4A148C)
val material_teal_50 = Color(color = 0xFFE0F2F1)
val material_teal_100 = Color(color = 0xFFB2DFDB)
val material_teal_200 = Color(color = 0xFF80CBC4)
val material_teal_300 = Color(color = 0xFF4DB6AC)
val material_teal_400 = Color(color = 0xFF26A69A)
val material_teal_500 = Color(color = 0xFF009688)
val material_teal_600 = Color(color = 0xFF00897B)
val material_teal_700 = Color(color = 0xFF00796B)
val material_teal_800 = Color(color = 0xFF00695C)
val material_teal_900 = Color(color = 0xFF004D40)
val blue_50 = Color(color = 0xFFE3F2FD)
val blue_100 = Color(color = 0xFFBBDEFB)
val blue_200 = Color(color = 0xFF90CAF9)
val blue_300 = Color(color = 0xFF64B5F6)
val blue_400 = Color(color = 0xFF42A5F5)
val blue_500 = Color(color = 0xFF2196F3)
val blue_600 = Color(color = 0xFF1E88E5)
val blue_700 = Color(color = 0xFF1976D2)
val blue_800 = Color(color = 0xFF1565C0)
val blue_900 = Color(color = 0xFF0D47A1)
val material_lime_50 = Color(color = 0xFFF9FBE7)
val material_lime_100 = Color(color = 0xFFF0F4C3)
val material_lime_200 = Color(color = 0xFFE6EE9C)
val material_lime_300 = Color(color = 0xFFDCE775)
val material_lime_400 = Color(color = 0xFFD4E157)
val material_lime_500 = Color(color = 0xFFCDDC39)
val material_lime_600 = Color(color = 0xFFC0CA33)
val material_lime_700 = Color(color = 0xFFAFB42B)
val material_lime_800 = Color(color = 0xFF9E9D24)
val material_lime_900 = Color(color = 0xFF827717)
val teal_50 = Color(color = 0xFFE0F2F1)
val teal_100 = Color(color = 0xFFB2DFDB)
val teal_200 = Color(color = 0xFF80CBC4)
val teal_300 = Color(color = 0xFF4DB6AC)
val teal_400 = Color(color = 0xFF26A69A)
val teal_500 = Color(color = 0xFF009688)
val teal_600 = Color(color = 0xFF00897B)
val teal_700 = Color(color = 0xFF00796B)
val teal_800 = Color(color = 0xFF00695C)
val teal_900 = Color(color = 0xFF004D40)
val material_orange_50 = Color(color = 0xFFFFF3E0)
val material_orange_100 = Color(color = 0xFFFFE0B2)
val material_orange_200 = Color(color = 0xFFFFCC80)
val material_orange_300 = Color(color = 0xFFFFB74D)
val material_orange_400 = Color(color = 0xFFFFA726)
val material_orange_500 = Color(color = 0xFFFF9800)
val material_orange_600 = Color(color = 0xFFFB8C00)
val material_orange_700 = Color(color = 0xFFF57C00)
val material_orange_800 = Color(color = 0xFFEF6C00)
val material_orange_900 = Color(color = 0xFFE65100)
val lime_50 = Color(color = 0xFFF9FBE7)
val lime_100 = Color(color = 0xFFF0F4C3)
val lime_200 = Color(color = 0xFFE6EE9C)
val lime_300 = Color(color = 0xFFDCE775)
val lime_400 = Color(color = 0xFFD4E157)
val lime_500 = Color(color = 0xFFCDDC39)
val lime_600 = Color(color = 0xFFC0CA33)
val lime_700 = Color(color = 0xFFAFB42B)
val lime_800 = Color(color = 0xFF9E9D24)
val lime_900 = Color(color = 0xFF827717)
val material_gray_50 = Color(color = 0xFFFAFAFA)
val material_gray_100 = Color(color = 0xFFF5F5F5)
val material_gray_200 = Color(color = 0xFFEEEEEE)
val material_gray_300 = Color(color = 0xFFE0E0E0)
val material_gray_400 = Color(color = 0xFFBDBDBD)
val material_gray_500 = Color(color = 0xFF9E9E9E)
val material_gray_600 = Color(color = 0xFF757575)
val material_gray_700 = Color(color = 0xFF616161)
val material_gray_800 = Color(color = 0xFF424242)
val material_gray_900 = Color(color = 0xFF212121)
val orange_50 = Color(color = 0xFFFFF3E0)
val orange_100 = Color(color = 0xFFFFE0B2)
val orange_200 = Color(color = 0xFFFFCC80)
val orange_300 = Color(color = 0xFFFFB74D)
val orange_400 = Color(color = 0xFFFFA726)
val orange_500 = Color(color = 0xFFFF9800)
val orange_600 = Color(color = 0xFFFB8C00)
val orange_700 = Color(color = 0xFFF57C00)
val orange_800 = Color(color = 0xFFEF6C00)
val orange_900 = Color(color = 0xFFE65100)
val gray_50 = Color(color = 0xFFFAFAFA)
val gray_100 = Color(color = 0xFFF5F5F5)
val gray_200 = Color(color = 0xFFEEEEEE)
val gray_300 = Color(color = 0xFFE0E0E0)
val gray_400 = Color(color = 0xFFBDBDBD)
val gray_500 = Color(color = 0xFF9E9E9E)
val gray_600 = Color(color = 0xFF757575)
val gray_700 = Color(color = 0xFF616161)
val gray_800 = Color(color = 0xFF424242)
val gray_900 = Color(color = 0xFF212121)
}

View file

@ -4,17 +4,19 @@ import androidx.compose.foundation.isSystemInDarkTheme
import androidx.compose.runtime.Composable
private val thunderbirdLightColorPalette = lightColors(
primary = material_blue_600,
primaryVariant = material_light_blue_500,
secondary = material_pink_500,
secondaryVariant = material_pink_300,
primary = MaterialColor.blue_600,
primaryVariant = MaterialColor.light_blue_500,
secondary = MaterialColor.pink_500,
secondaryVariant = MaterialColor.pink_300,
background = MaterialColor.gray_200,
)
private val thunderbirdDarkColorPalette = darkColors(
primary = material_blue_100,
primaryVariant = material_blue_50,
secondary = material_pink_300,
secondaryVariant = material_pink_500,
primary = MaterialColor.blue_100,
primaryVariant = MaterialColor.blue_50,
secondary = MaterialColor.pink_300,
secondaryVariant = MaterialColor.pink_500,
background = MaterialColor.gray_800,
)
@Composable