added colors (#299)

This commit is contained in:
Yogesh Choudhary Paliyal
2023-01-15 14:36:14 +05:30
committed by GitHub
parent 872098a04e
commit 33cd345fa2
2 changed files with 41 additions and 10 deletions

View File

@@ -3,8 +3,31 @@ package com.yogeshpaliyal.keypasscompose.ui.theme
import androidx.compose.ui.graphics.Color
@Suppress
val KeyPassWhite50 = Color(0xFFffffff)
val Purple200 = Color(0xFFBB86FC)
val Purple500 = Color(0xFF6200EE)
val Purple700 = Color(0xFF3700B3)
val Teal200 = Color(0xFF03DAC5)
val KeyPassBlack800 = Color(0xFF121212)
val KeyPassBlack900 = Color(0xFF000000)
val KeyPassBlue50 = Color(0xFFeef0f2)
val KeyPassBlue100 = Color(0xFFd2dbe0)
val KeyPassBlue200 = Color(0xFFadbbc4)
val KeyPassBlue300 = Color(0xFF8ca2ae)
val KeyPassBlue600 = Color(0xFF4a6572)
val KeyPassBlue700 = Color(0xFF344955)
val KeyPassBlue800 = Color(0xFF232f34)
val Blue800 = Color(0xFF6c63ff)
val KeyPassOrange300 = Color(0xFFfbd790)
val KeyPassOrange400 = Color(0xFFf9be64)
val KeyPassOrange500 = Color(0xFFf9aa33)
val KeyPassRed200 = Color(0xFFcf7779)
val KeyPassRed400 = Color(0xFFff4c5d)
val KeyPassWhite50alpha060 = Color(0x99ffffff)
val KeyPassBlue50alpha060 = Color(0x99eef0f2)
val KeyPassBlack900alpha020 = Color(0x33000000)
val KeyPassBlack900alpha087 = Color(0xde000000)
val KeyPassBlack900alpha060 = Color(0x99000000)

View File

@@ -7,15 +7,23 @@ import androidx.compose.material3.lightColorScheme
import androidx.compose.runtime.Composable
private val DarkColorPalette = darkColorScheme(
primary = Purple200,
primaryContainer = Purple700,
secondary = Teal200
primary = KeyPassBlue700,
primaryContainer = KeyPassOrange500,
secondary = KeyPassOrange500
)
private val LightColorPalette = lightColorScheme(
primary = Purple500,
primaryContainer = Purple700,
secondary = Teal200
primary = KeyPassBlue700,
primaryContainer = KeyPassOrange500,
secondary = KeyPassOrange500,
tertiaryContainer = Blue800,
background = KeyPassBlue50,
surface = KeyPassWhite50,
error = KeyPassRed400,
onPrimary = KeyPassWhite50,
onSecondary = KeyPassBlack900,
onSurface = KeyPassBlack900,
onError = KeyPassBlack900
/* Other default colors to override
background = Color.White,