@@ -11,18 +11,16 @@ import androidx.compose.material.*
1111import androidx.compose.runtime.*
1212import androidx.compose.ui.Modifier
1313import androidx.compose.ui.graphics.Color
14- import androidx.compose.ui.platform.ClipboardManager
15- import androidx.compose.ui.platform.LocalClipboardManager
16- import androidx.compose.ui.text.AnnotatedString
1714import androidx.compose.ui.unit.dp
1815import com.google.accompanist.pager.ExperimentalPagerApi
1916import com.google.accompanist.pager.HorizontalPager
2017import com.google.accompanist.pager.PagerState
2118import com.google.accompanist.pager.rememberPagerState
2219import com.google.accompanist.systemuicontroller.rememberSystemUiController
20+ import com.smarttoolfactory.composecolorsextended.demo.ColorModelConversionDemo
2321import com.smarttoolfactory.composecolorsextended.demo.GradientAngleDemo
24- import com.smarttoolfactory.composecolorsextended.demo.MD2ColorSelectionDemo
25- import com.smarttoolfactory.composecolorsextended.demo.MD3ColorShadeSelectionDemo
22+ import com.smarttoolfactory.composecolorsextended.demo.M2ColorSelectionDemo
23+ import com.smarttoolfactory.composecolorsextended.demo.M3ColorShadeSelectionDemo
2624import com.smarttoolfactory.composecolorsextended.ui.theme.ComposeColorsExtendedTheme
2725import com.smarttoolfactory.extendedcolors.util.colorToHSL
2826import kotlinx.coroutines.launch
@@ -96,13 +94,14 @@ private fun HomeContent() {
9694 ) { page: Int ->
9795
9896 when (page) {
99- 0 -> MD2ColorSelectionDemo {
97+ 0 -> M2ColorSelectionDemo {
10098 backgroundColor = it
10199 }
102- 1 -> MD3ColorShadeSelectionDemo {
100+ 1 -> M3ColorShadeSelectionDemo {
103101 backgroundColor = it
104102 }
105- else -> GradientAngleDemo ()
103+ 2 -> GradientAngleDemo ()
104+ else -> ColorModelConversionDemo ()
106105 }
107106 }
108107}
@@ -111,5 +110,6 @@ internal val tabList =
111110 listOf (
112111 " Material Design2" ,
113112 " Material You/3" ,
114- " Gradient Angles"
113+ " Gradient Angles" ,
114+ " Model Conversion" ,
115115 )
0 commit comments