From d57f7cd4a510b2d93623ef0ad201e7fc5f47b1f9 Mon Sep 17 00:00:00 2001 From: Smart Tool Factory Date: Tue, 24 May 2022 09:16:51 +0300 Subject: [PATCH] Update README.md --- README.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index e00d440..b819e17 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ dependencies { -[Material Colors](https://materialui.co/colors/) can be accessed from Red to Brown. Brown, Grey, and +[Material Colors](https://materialui.co/colors/) can be accessed from Red to BlueGrey. Brown, Grey, and BlueGrey swatches only have primary colors. ```kotlin @@ -146,7 +146,7 @@ val material3ToneRange = listOf( ``` -Call +Call that returns list of colors ```kotlin fun getColorTonesList(color: Color): List { @@ -164,7 +164,7 @@ fun getColorTonesList(color: Color): List { } ``` -that returns list of colors or + or to get Map with tone keys ```kotlin fun getColorTonesMap(color: Color): Map { @@ -180,7 +180,6 @@ fun getColorTonesMap(color: Color): Map { ``` -to get Map with tone keys ## Gradient Rotation @@ -254,7 +253,7 @@ fun rememberColorParser(): ColorNameParser { } } ``` -And call `ColorParser.parseColor(color)` +And call `ColorNameParser.parseColor(color)` Call it in a launchedEffect with snapshotFlow or in a ViewModel or UseCase