generated from ajou4095/template-android
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Showing
6 changed files
with
162 additions
and
52 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
20 changes: 20 additions & 0 deletions
20
presentation/src/main/kotlin/ac/dnd/bookkeeping/android/presentation/common/theme/Dimen.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,20 @@ | ||
package ac.dnd.bookkeeping.android.presentation.common.theme | ||
|
||
import androidx.compose.ui.unit.dp | ||
|
||
val Space4 = 4.dp | ||
val Space8 = 8.dp | ||
val Space12 = 12.dp | ||
val Space16 = 16.dp | ||
val Space20 = 20.dp | ||
val Space24 = 24.dp | ||
val Space32 = 32.dp | ||
val Space40 = 40.dp | ||
val Space48 = 48.dp | ||
val Space56 = 56.dp | ||
val Space80 = 80.dp | ||
|
||
val Icon24 = 24.dp | ||
val Icon28 = 24.dp | ||
val Icon32 = 24.dp | ||
val Icon80 = 24.dp |
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
28 changes: 0 additions & 28 deletions
28
presentation/src/main/kotlin/ac/dnd/bookkeeping/android/presentation/common/theme/Type.kt
This file was deleted.
Oops, something went wrong.
89 changes: 89 additions & 0 deletions
89
...tation/src/main/kotlin/ac/dnd/bookkeeping/android/presentation/common/theme/Typography.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,89 @@ | ||
package ac.dnd.bookkeeping.android.presentation.common.theme | ||
|
||
import androidx.compose.material.Typography | ||
import androidx.compose.ui.text.TextStyle | ||
import androidx.compose.ui.text.font.FontFamily | ||
import androidx.compose.ui.text.font.FontWeight | ||
import androidx.compose.ui.unit.sp | ||
|
||
private val EmptyTextStyle = TextStyle( | ||
fontSize = 0.sp | ||
) | ||
|
||
val Typography = Typography( | ||
defaultFontFamily = FontFamily.Default, | ||
h1 = EmptyTextStyle, | ||
h2 = EmptyTextStyle, | ||
h3 = EmptyTextStyle, | ||
h4 = EmptyTextStyle, | ||
h5 = EmptyTextStyle, | ||
h6 = EmptyTextStyle, | ||
subtitle1 = EmptyTextStyle, | ||
subtitle2 = EmptyTextStyle, | ||
body1 = EmptyTextStyle, | ||
body2 = EmptyTextStyle, | ||
button = EmptyTextStyle, | ||
caption = EmptyTextStyle, | ||
overline = EmptyTextStyle, | ||
) | ||
|
||
val Headline0 = TextStyle( | ||
fontFamily = FontFamily.Default, | ||
fontWeight = FontWeight.SemiBold, | ||
fontSize = 24.sp | ||
) | ||
val Headline1 = TextStyle( | ||
fontFamily = FontFamily.Default, | ||
fontWeight = FontWeight.SemiBold, | ||
fontSize = 20.sp | ||
) | ||
val Headline2 = TextStyle( | ||
fontFamily = FontFamily.Default, | ||
fontWeight = FontWeight.SemiBold, | ||
fontSize = 18.sp | ||
) | ||
val Headline3 = TextStyle( | ||
fontFamily = FontFamily.Default, | ||
fontWeight = FontWeight.SemiBold, | ||
fontSize = 16.sp | ||
) | ||
val Body0 = TextStyle( | ||
fontFamily = FontFamily.Default, | ||
fontWeight = FontWeight.Normal, | ||
fontSize = 16.sp | ||
) | ||
val Body1 = TextStyle( | ||
fontFamily = FontFamily.Default, | ||
fontWeight = FontWeight.Normal, | ||
fontSize = 14.sp | ||
) | ||
val Body2 = TextStyle( | ||
fontFamily = FontFamily.Default, | ||
fontWeight = FontWeight.Normal, | ||
fontSize = 12.sp | ||
) | ||
val Caption1 = TextStyle( | ||
fontFamily = FontFamily.Default, | ||
fontWeight = FontWeight.Normal, | ||
fontSize = 12.sp | ||
) | ||
val Caption2 = TextStyle( | ||
fontFamily = FontFamily.Default, | ||
fontWeight = FontWeight.Medium, | ||
fontSize = 12.sp | ||
) | ||
val Caption3 = TextStyle( | ||
fontFamily = FontFamily.Default, | ||
fontWeight = FontWeight.Normal, | ||
fontSize = 10.sp | ||
) | ||
val Caption4 = TextStyle( | ||
fontFamily = FontFamily.Default, | ||
fontWeight = FontWeight.SemiBold, | ||
fontSize = 10.sp | ||
) | ||
val Caption5 = TextStyle( | ||
fontFamily = FontFamily.Default, | ||
fontWeight = FontWeight.Medium, | ||
fontSize = 10.sp | ||
) |