Last active
May 5, 2021 22:59
-
-
Save rahulsainani/5a5e2e78837cb6b6ddb329ca9b1b1db7 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
class Dimensions( | |
val grid_0_25: Dp, | |
val grid_0_5: Dp, | |
val grid_1: Dp, | |
val grid_1_5: Dp, | |
val grid_2: Dp, | |
val grid_2_5: Dp, | |
val grid_3: Dp, | |
val grid_3_5: Dp, | |
val grid_4: Dp, | |
val grid_4_5: Dp, | |
val grid_5: Dp, | |
val grid_5_5: Dp, | |
val grid_6: Dp, | |
val plane_0: Dp, | |
val plane_1: Dp, | |
val plane_2: Dp, | |
val plane_3: Dp, | |
val plane_4: Dp, | |
val plane_5: Dp, | |
val minimum_touch_target: Dp = 48.dp, | |
) | |
val smallDimensions = Dimensions( | |
grid_0_25 = 1.5f.dp, | |
grid_0_5 = 3.dp, | |
grid_1 = 6.dp, | |
grid_1_5 = 9.dp, | |
grid_2 = 12.dp, | |
grid_2_5 = 15.dp, | |
grid_3 = 18.dp, | |
grid_3_5 = 21.dp, | |
grid_4 = 24.dp, | |
grid_4_5 = 27.dp, | |
grid_5 = 30.dp, | |
grid_5_5 = 33.dp, | |
grid_6 = 36.dp, | |
plane_0 = 0.dp, | |
plane_1 = 1.dp, | |
plane_2 = 2.dp, | |
plane_3 = 3.dp, | |
plane_4 = 6.dp, | |
plane_5 = 12.dp, | |
) | |
val sw360Dimensions = Dimensions( | |
grid_0_25 = 2.dp, | |
grid_0_5 = 4.dp, | |
grid_1 = 8.dp, | |
grid_1_5 = 12.dp, | |
grid_2 = 16.dp, | |
grid_2_5 = 20.dp, | |
grid_3 = 24.dp, | |
grid_3_5 = 28.dp, | |
grid_4 = 32.dp, | |
grid_4_5 = 36.dp, | |
grid_5 = 40.dp, | |
grid_5_5 = 44.dp, | |
grid_6 = 48.dp, | |
plane_0 = 0.dp, | |
plane_1 = 1.dp, | |
plane_2 = 2.dp, | |
plane_3 = 4.dp, | |
plane_4 = 8.dp, | |
plane_5 = 16.dp, | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment