Last active
May 5, 2021 23:02
-
-
Save rahulsainani/33ef89442ec409008dd55dffaf90327f to your computer and use it in GitHub Desktop.
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
/** | |
* An 8dp grid system. Smaller components can align to a 2dp 'sub' grid. | |
*/ | |
object Dimens { | |
val grid_0_25 = 2.dp | |
val grid_0_5 = 4.dp | |
val grid_1 = 8.dp | |
val grid_1_5 = 12.dp | |
val grid_2 = 16.dp | |
val grid_2_5 = 20.dp | |
val grid_3 = 24.dp | |
val grid_3_5 = 28.dp | |
val grid_4 = 32.dp | |
val grid_4_5 = 36.dp | |
val grid_5 = 40.dp | |
val grid_5_5 = 44.dp | |
val grid_6 = 48.dp | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment