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
[Material Colors](material_design2.gif material_design3.gif) can be accessed from Red to Brown.
26
27
Brown, Grey, and BlueGrey swatches only have primary colors.
@@ -51,18 +52,18 @@ primary color `Map<Int,Color>`
51
52
52
53
```kotlin
53
54
val red by lazy {
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
-
)
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
+
)
66
67
}
67
68
```
68
69
@@ -77,39 +78,39 @@ Swatch that returns header(50 variants)
77
78
78
79
```kotlin
79
80
val primaryHeaderColors by lazy {
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
-
)
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
+
)
101
102
}
102
103
```
103
104
104
105
## Material Design 3 Tonal Palette
105
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.
0 commit comments