From 722da896ae54be4b8cb9e7c5db63ad25ff92eb98 Mon Sep 17 00:00:00 2001 From: shw0471 Date: Fri, 17 Jun 2022 14:58:25 +0900 Subject: [PATCH 1/2] =?UTF-8?q?=E2=9A=A1=EF=B8=8F=20::=20update=20dark=20c?= =?UTF-8?q?olor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../design/color/primary/dark/DarkColor.kt | 29 +++++++++++++++++++ .../design/color/primary/dark/DarkResource.kt | 14 +++++++++ 2 files changed, 43 insertions(+) create mode 100644 design/src/main/java/com/semicolon/design/color/primary/dark/DarkColor.kt create mode 100644 design/src/main/java/com/semicolon/design/color/primary/dark/DarkResource.kt diff --git a/design/src/main/java/com/semicolon/design/color/primary/dark/DarkColor.kt b/design/src/main/java/com/semicolon/design/color/primary/dark/DarkColor.kt new file mode 100644 index 0000000..d0de2c2 --- /dev/null +++ b/design/src/main/java/com/semicolon/design/color/primary/dark/DarkColor.kt @@ -0,0 +1,29 @@ +package com.semicolon.design.color.primary.dark + +import androidx.compose.ui.graphics.Color +import com.semicolon.design.color.NumberOfColor + + +fun dark(number: NumberOfColor): Color { + return when (number) { + NumberOfColor.N50 -> dark50 + + NumberOfColor.N100 -> dark100 + + NumberOfColor.N200 -> dark200 + + NumberOfColor.N300 -> dark300 + + NumberOfColor.N400 -> dark400 + + NumberOfColor.N500 -> dark500 + + NumberOfColor.N600 -> dark600 + + NumberOfColor.N700 -> dark700 + + NumberOfColor.N800 -> dark800 + + NumberOfColor.N900 -> dark900 + } +} \ No newline at end of file diff --git a/design/src/main/java/com/semicolon/design/color/primary/dark/DarkResource.kt b/design/src/main/java/com/semicolon/design/color/primary/dark/DarkResource.kt new file mode 100644 index 0000000..3eb209f --- /dev/null +++ b/design/src/main/java/com/semicolon/design/color/primary/dark/DarkResource.kt @@ -0,0 +1,14 @@ +package com.semicolon.design.color.primary.dark + +import androidx.compose.ui.graphics.Color + +val dark50 = Color(0xFFFAFAFA) +val dark100 = Color(0xFFF5F5F5) +val dark200 = Color(0xFFEEEEEE) +val dark300 = Color(0xFFE0E0E0) +val dark400 = Color(0xFFBDBDBD) +val dark500 = Color(0xFF9E9E9E) +val dark600 = Color(0XFF757575) +val dark700 = Color(0xFF616161) +val dark800 = Color(0xFF424242) +val dark900 = Color(0xFF212121) \ No newline at end of file From 2401259a96c74cf9e3276f452a93077b79989bca Mon Sep 17 00:00:00 2001 From: shw0471 Date: Fri, 17 Jun 2022 15:02:46 +0900 Subject: [PATCH 2/2] =?UTF-8?q?=E2=9A=A1=EF=B8=8F=20::=20update=20gray=20c?= =?UTF-8?q?olor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../design/color/primary/gray/GrayResource.kt | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/design/src/main/java/com/semicolon/design/color/primary/gray/GrayResource.kt b/design/src/main/java/com/semicolon/design/color/primary/gray/GrayResource.kt index cd24730..b1f2457 100644 --- a/design/src/main/java/com/semicolon/design/color/primary/gray/GrayResource.kt +++ b/design/src/main/java/com/semicolon/design/color/primary/gray/GrayResource.kt @@ -2,13 +2,13 @@ package com.semicolon.design.color.primary.gray import androidx.compose.ui.graphics.Color -val gray50 = Color(0xFFFAFAFA) -val gray100 = Color(0xFFF5F5F5) -val gray200 = Color(0xFFEEEEEE) -val gray300 = Color(0xFFE0E0E0) -val gray400 = Color(0xFFBDBDBD) -val gray500 = Color(0xFF9E9E9E) -val gray600 = Color(0XFF757575) -val gray700 = Color(0xFF616161) -val gray800 = Color(0xFF424242) -val gray900 = Color(0xFF212121) \ No newline at end of file +val gray50 = Color(0xFFF9F7FA) +val gray100 = Color(0xFFF2F0F5) +val gray200 = Color(0xFFEAE7EE) +val gray300 = Color(0xFFDBD7E0) +val gray400 = Color(0xFFB7B4BD) +val gray500 = Color(0xFF98959E) +val gray600 = Color(0XFF706D75) +val gray700 = Color(0xFF5C5961) +val gray800 = Color(0xFF3F3C42) +val gray900 = Color(0xFF1F1E21) \ No newline at end of file