Skip to content

Commit

Permalink
[FEATURE] #16 : 공용 DesignSystem Color 구현
Browse files Browse the repository at this point in the history
  • Loading branch information
jeongjaino committed Oct 12, 2023
1 parent 50d22b5 commit dc4d7f9
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions core/designsystem/src/main/java/com/wap/designsystem/Color.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
package com.wap.designsystem

import androidx.compose.runtime.Stable
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.setValue
import androidx.compose.ui.graphics.Color

val White = Color(0xFFFFFFFF)
val Black = Color(0xFF000000)
val BackgroundBlack = Color(0xFF131313)
val Black3 = Color(0xFF828282)
val Black2 = Color(0xFF424242)
val Black1 = Color(0xFF252424)
val Gray2 = Color(0xFF252424)
val Gray1 = Color(0xFFA2A2A2)
val Yellow = Color(0xFFFBCF34)

@Stable
class WappColor(
white: Color = White,
black: Color = Black,
backgroundBlack: Color = BackgroundBlack,
black1: Color = Black1,
black2: Color = Black2,
black3: Color = Black3,
gray1: Color = Gray1,
gray2: Color = Gray2,
yellow: Color = Yellow,
) {
var white by mutableStateOf(white)
private set
var black by mutableStateOf(black)
private set
var backgroundBlack by mutableStateOf(backgroundBlack)
private set
var black1 by mutableStateOf(black1)
private set
var black2 by mutableStateOf(black2)
private set
var black3 by mutableStateOf(black3)
private set
var gray1 by mutableStateOf(gray1)
private set
var gray2 by mutableStateOf(gray2)
private set
var yellow by mutableStateOf(yellow)
private set
}

0 comments on commit dc4d7f9

Please sign in to comment.