-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a675818
commit 4c2e78c
Showing
9 changed files
with
115 additions
and
54 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
31 changes: 31 additions & 0 deletions
31
app/src/main/java/id/gits/android_compose/example/GitsApplication.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,31 @@ | ||
package id.gits.android_compose.example | ||
|
||
import android.app.Application | ||
import androidx.compose.ui.graphics.Color | ||
import id.gits.ui_compose.compose.GitsColor | ||
|
||
/** | ||
* Created by Kudzoza | ||
* on 15/11/2022 | ||
**/ | ||
|
||
class GitsApplication : Application() { | ||
|
||
val primaryTheme = GitsColor() | ||
|
||
val secondaryTheme = GitsColor( | ||
primary = Color(0xFF32EB4B), | ||
primaryVariant = Color(0xFF189B29), | ||
secondary = Color(0xFF14A9EE), | ||
secondaryVariant = Color(0xFF1875A0), | ||
textPrimary = Color(0xFF555555), | ||
textSecondary = Color(0xFF888888), | ||
background = Color(0xFFFFFFFF), | ||
error = Color(0xFFE91E63), | ||
) | ||
|
||
override fun onCreate() { | ||
super.onCreate() | ||
} | ||
|
||
} |
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
17 changes: 17 additions & 0 deletions
17
gits/ui-compose/src/main/java/id/gits/ui_compose/compose/GitsScheme.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,17 @@ | ||
package id.gits.ui_compose.compose | ||
|
||
import androidx.compose.runtime.mutableStateOf | ||
|
||
/** | ||
* Created by Kudzoza | ||
* on 18/11/2022 | ||
**/ | ||
|
||
object GitsScheme { | ||
|
||
val colorScheme = mutableStateOf(GitsColor()) | ||
val dimensionScheme = mutableStateOf(GitsDimension()) | ||
val typographyScheme = mutableStateOf(GitsTypography()) | ||
val enableDarkTheme = mutableStateOf(false) | ||
|
||
} |
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