You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -52,18 +51,18 @@ primary color `Map<Int,Color>`
52
51
53
52
```kotlin
54
53
val red by lazy {
55
-
linkedMapOf(
56
-
50 to Color(0xffFFEBEE),
57
-
100 to Color(0xffFFCDD2),
58
-
200 to Color(0xffEF9A9A),
59
-
300 to Color(0xffE57373),
60
-
400 to Color(0xffEF5350),
61
-
500 to Color(0xffF44336),
62
-
600 to Color(0xffE53935),
63
-
700 to Color(0xffD32F2F),
64
-
800 to Color(0xffC62828),
65
-
900 to Color(0xffB71C1C)
66
-
)
54
+
linkedMapOf(
55
+
50 to Color(0xffFFEBEE),
56
+
100 to Color(0xffFFCDD2),
57
+
200 to Color(0xffEF9A9A),
58
+
300 to Color(0xffE57373),
59
+
400 to Color(0xffEF5350),
60
+
500 to Color(0xffF44336),
61
+
600 to Color(0xffE53935),
62
+
700 to Color(0xffD32F2F),
63
+
800 to Color(0xffC62828),
64
+
900 to Color(0xffB71C1C)
65
+
)
67
66
}
68
67
```
69
68
@@ -78,71 +77,79 @@ Swatch that returns header(50 variants)
78
77
79
78
```kotlin
80
79
val primaryHeaderColors by lazy {
81
-
listOf(
82
-
Color(0xffF44336),
83
-
Color(0xffE91E63),
84
-
Color(0xff9C27B0),
85
-
Color(0xff673AB7),
86
-
Color(0xff3F51B5),
87
-
Color(0xff2196F3),
88
-
Color(0xff03A9F4),
89
-
Color(0xff00BCD4),
90
-
Color(0xff00ACC1),
91
-
Color(0xff4CAF50),
92
-
Color(0xff8BC34A),
93
-
Color(0xffCDDC39),
94
-
Color(0xffFFEB3B),
95
-
Color(0xffFFC107),
96
-
Color(0xffFF9800),
97
-
Color(0xffFF5722),
98
-
Color(0xff795548),
99
-
Color(0xff9E9E9E),
100
-
Color(0xff607D8B)
101
-
)
80
+
listOf(
81
+
Color(0xffF44336),
82
+
Color(0xffE91E63),
83
+
Color(0xff9C27B0),
84
+
Color(0xff673AB7),
85
+
Color(0xff3F51B5),
86
+
Color(0xff2196F3),
87
+
Color(0xff03A9F4),
88
+
Color(0xff00BCD4),
89
+
Color(0xff00ACC1),
90
+
Color(0xff4CAF50),
91
+
Color(0xff8BC34A),
92
+
Color(0xffCDDC39),
93
+
Color(0xffFFEB3B),
94
+
Color(0xffFFC107),
95
+
Color(0xffFF9800),
96
+
Color(0xffFF5722),
97
+
Color(0xff795548),
98
+
Color(0xff9E9E9E),
99
+
Color(0xff607D8B)
100
+
)
102
101
}
103
102
```
104
103
105
104
## Material Design 3 Tonal Palette
106
-
A tonal palette consists of thirteen tones, including white and black. A tone value of 100 is equivalent to the idea of light at its maximum and results in white. Every tone value between 0 and 100 expresses the amount of light present in the color.
107
105
106
+
A tonal palette consists of thirteen tones, including white and black. A tone value of 100 is
107
+
equivalent to the idea of light at its maximum and results in white. Every tone value between 0 and
108
+
100 expresses the amount of light present in the color.
0 commit comments