@@ -940,21 +940,6 @@ private fun AppearanceSettingsScreen(
940940 )
941941 }
942942 }
943- ClawPanel {
944- Column (verticalArrangement = Arrangement .spacedBy(10 .dp)) {
945- Text (text = " Palette" , style = ClawTheme .type.section, color = ClawTheme .colors.text)
946- Row (modifier = Modifier .fillMaxWidth(), horizontalArrangement = Arrangement .spacedBy(8 .dp)) {
947- AppearancePaletteSwatch (" Canvas" , ClawTheme .colors.canvas, modifier = Modifier .weight(1f ))
948- AppearancePaletteSwatch (" Surface" , ClawTheme .colors.surfaceRaised, modifier = Modifier .weight(1f ))
949- AppearancePaletteSwatch (
950- " Accent" ,
951- ClawTheme .colors.primary,
952- contentColor = ClawTheme .colors.canvas,
953- modifier = Modifier .weight(1f ),
954- )
955- }
956- }
957- }
958943 }
959944}
960945
@@ -964,25 +949,6 @@ internal fun appearanceThemeOptions(): List<String> = AppearanceThemeMode.entrie
964949
965950internal fun appearanceThemeModeForLabel (label : String ): AppearanceThemeMode = AppearanceThemeMode .fromDisplayLabel(label)
966951
967- @Composable
968- private fun AppearancePaletteSwatch (
969- label : String ,
970- color : Color ,
971- contentColor : Color = ClawTheme .colors.text,
972- modifier : Modifier = Modifier ,
973- ) {
974- Surface (
975- modifier = modifier.height(58 .dp),
976- shape = RoundedCornerShape (ClawTheme .radii.control),
977- color = color,
978- border = BorderStroke (1 .dp, ClawTheme .colors.border),
979- ) {
980- Box (modifier = Modifier .fillMaxSize().padding(8 .dp), contentAlignment = Alignment .BottomStart ) {
981- Text (text = label, style = ClawTheme .type.caption, color = contentColor, maxLines = 1 )
982- }
983- }
984- }
985-
986952/* * Converts raw gateway connection text into stable settings metric labels. */
987953private fun gatewayStatusLabel (
988954 statusText : String ,
0 commit comments