-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🔀 :: (#739) 위젯 다크테마 적용
- Loading branch information
Showing
10 changed files
with
157 additions
and
143 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
64 changes: 0 additions & 64 deletions
64
core/widget/src/main/java/team/aliens/dms/android/core/widget/designsystem/Colors.kt
This file was deleted.
Oops, something went wrong.
68 changes: 68 additions & 0 deletions
68
.../main/java/team/aliens/dms/android/core/widget/designsystem/DmsWidgetGlanceColorScheme.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
package team.aliens.dms.android.core.widget.designsystem | ||
|
||
import androidx.compose.material3.darkColorScheme | ||
import androidx.compose.material3.lightColorScheme | ||
import androidx.glance.material3.ColorProviders | ||
import team.aliens.dms.android.core.designsystem.ErrorDarken2 | ||
import team.aliens.dms.android.core.designsystem.ErrorDefault | ||
import team.aliens.dms.android.core.designsystem.ErrorLighten1 | ||
import team.aliens.dms.android.core.designsystem.ErrorLighten2 | ||
import team.aliens.dms.android.core.designsystem.Gray1 | ||
import team.aliens.dms.android.core.designsystem.Gray10 | ||
import team.aliens.dms.android.core.designsystem.Gray2 | ||
import team.aliens.dms.android.core.designsystem.Gray3 | ||
import team.aliens.dms.android.core.designsystem.Gray4 | ||
import team.aliens.dms.android.core.designsystem.Gray5 | ||
import team.aliens.dms.android.core.designsystem.Gray6 | ||
import team.aliens.dms.android.core.designsystem.Gray7 | ||
import team.aliens.dms.android.core.designsystem.Gray8 | ||
import team.aliens.dms.android.core.designsystem.Gray9 | ||
import team.aliens.dms.android.core.designsystem.PrimaryDarken2 | ||
import team.aliens.dms.android.core.designsystem.PrimaryDefault | ||
import team.aliens.dms.android.core.designsystem.PrimaryLighten1 | ||
import team.aliens.dms.android.core.designsystem.PrimaryLighten2 | ||
|
||
private val LightColorScheme = lightColorScheme( | ||
primary = PrimaryDefault, | ||
onPrimary = Gray1, | ||
primaryContainer = PrimaryLighten2, | ||
onPrimaryContainer = PrimaryDarken2, | ||
error = ErrorDefault, | ||
onError = Gray1, | ||
errorContainer = ErrorLighten2, | ||
onErrorContainer = ErrorDarken2, | ||
background = Gray2, | ||
onBackground = Gray10, | ||
inverseSurface = Gray7, | ||
inverseOnSurface = Gray3, | ||
surface = Gray1, | ||
onSurface = Gray9, | ||
surfaceVariant = Gray6, | ||
onSurfaceVariant = Gray5, | ||
) | ||
|
||
private val DarkColorScheme = darkColorScheme( | ||
primary = PrimaryDefault, | ||
onPrimary = Gray1, | ||
primaryContainer = PrimaryLighten1, | ||
onPrimaryContainer = PrimaryDarken2, | ||
error = ErrorDefault, | ||
onError = Gray1, | ||
errorContainer = ErrorLighten1, | ||
onErrorContainer = ErrorDarken2, | ||
background = Gray9, | ||
onBackground = Gray1, | ||
inverseSurface = Gray3, | ||
inverseOnSurface = Gray7, | ||
surface = Gray8, | ||
onSurface = Gray2, | ||
surfaceVariant = Gray4, | ||
onSurfaceVariant = Gray5, | ||
) | ||
|
||
object DmsWidgetGlanceColorScheme { | ||
val colors = ColorProviders( | ||
light = LightColorScheme, | ||
dark = DarkColorScheme, | ||
) | ||
} |
22 changes: 0 additions & 22 deletions
22
core/widget/src/main/java/team/aliens/dms/android/core/widget/designsystem/WidgetTheme.kt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
core/widget/src/main/res/drawable-night/shape_widget_small.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<shape xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:shape="rectangle"> | ||
|
||
<corners android:radius="22dp" /> | ||
<solid android:color="#121212" /> | ||
</shape> |
21 changes: 21 additions & 0 deletions
21
core/widget/src/main/res/drawable-night/widget_big_meal.xml
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters