Adds Material3 icon button tokens.
- Adds tokens for filled, filled-tonal, and outlined icon-buttons.
Bug: 210714283
Test: N/A
Relnote: N/A
Change-Id: I73f2b4771882f3fb3734993a6a0ddcbf02a511cd
diff --git a/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/tokens/FilledIconButtonTokens.kt b/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/tokens/FilledIconButtonTokens.kt
new file mode 100644
index 0000000..7cc814e
--- /dev/null
+++ b/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/tokens/FilledIconButtonTokens.kt
@@ -0,0 +1,46 @@
+/*
+ * Copyright 2022 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// VERSION: v0_92
+// GENERATED CODE - DO NOT MODIFY BY HAND
+
+package androidx.compose.material3.tokens
+
+import androidx.compose.ui.unit.dp
+
+internal object FilledIconButtonTokens {
+ val ContainerColor = ColorSchemeKeyTokens.Primary
+ val ContainerShape = ShapeTokens.CornerFull
+ val ContainerSize = 40.0.dp
+ val DisabledContainerColor = ColorSchemeKeyTokens.OnSurface
+ const val DisabledContainerOpacity = 0.12f
+ val DisabledColor = ColorSchemeKeyTokens.OnSurface
+ const val DisabledOpacity = 0.38f
+ val FocusColor = ColorSchemeKeyTokens.OnPrimary
+ val HoverColor = ColorSchemeKeyTokens.OnPrimary
+ val Color = ColorSchemeKeyTokens.OnPrimary
+ val Size = 24.0.dp
+ val PressedColor = ColorSchemeKeyTokens.OnPrimary
+ val SelectedContainerColor = ColorSchemeKeyTokens.Primary
+ val ToggleSelectedFocusColor = ColorSchemeKeyTokens.OnPrimary
+ val ToggleSelectedHoverColor = ColorSchemeKeyTokens.OnPrimary
+ val ToggleSelectedColor = ColorSchemeKeyTokens.OnPrimary
+ val ToggleSelectedPressedColor = ColorSchemeKeyTokens.OnPrimary
+ val ToggleUnselectedFocusColor = ColorSchemeKeyTokens.Primary
+ val ToggleUnselectedHoverColor = ColorSchemeKeyTokens.Primary
+ val ToggleUnselectedColor = ColorSchemeKeyTokens.Primary
+ val ToggleUnselectedPressedColor = ColorSchemeKeyTokens.Primary
+ val UnselectedContainerColor = ColorSchemeKeyTokens.SurfaceVariant
+}
diff --git a/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/tokens/FilledTonalIconButtonTokens.kt b/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/tokens/FilledTonalIconButtonTokens.kt
new file mode 100644
index 0000000..c82f8c3
--- /dev/null
+++ b/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/tokens/FilledTonalIconButtonTokens.kt
@@ -0,0 +1,46 @@
+/*
+ * Copyright 2022 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// VERSION: v0_92
+// GENERATED CODE - DO NOT MODIFY BY HAND
+
+package androidx.compose.material3.tokens
+
+import androidx.compose.ui.unit.dp
+
+internal object FilledTonalIconButtonTokens {
+ val ContainerColor = ColorSchemeKeyTokens.SecondaryContainer
+ val ContainerShape = ShapeTokens.CornerFull
+ val ContainerSize = 40.0.dp
+ val DisabledContainerColor = ColorSchemeKeyTokens.OnSurface
+ const val DisabledContainerOpacity = 0.12f
+ val DisabledColor = ColorSchemeKeyTokens.OnSurface
+ const val DisabledOpacity = 0.38f
+ val FocusColor = ColorSchemeKeyTokens.OnSecondaryContainer
+ val HoverColor = ColorSchemeKeyTokens.OnSecondaryContainer
+ val Color = ColorSchemeKeyTokens.OnSecondaryContainer
+ val Size = 24.0.dp
+ val PressedColor = ColorSchemeKeyTokens.OnSecondaryContainer
+ val SelectedContainerColor = ColorSchemeKeyTokens.SecondaryContainer
+ val ToggleSelectedFocusColor = ColorSchemeKeyTokens.OnSecondaryContainer
+ val ToggleSelectedHoverColor = ColorSchemeKeyTokens.OnSecondaryContainer
+ val ToggleSelectedColor = ColorSchemeKeyTokens.OnSecondaryContainer
+ val ToggleSelectedPressedColor = ColorSchemeKeyTokens.OnSecondaryContainer
+ val ToggleUnselectedFocusColor = ColorSchemeKeyTokens.OnSurfaceVariant
+ val ToggleUnselectedHoverColor = ColorSchemeKeyTokens.OnSurfaceVariant
+ val ToggleUnselectedColor = ColorSchemeKeyTokens.OnSurfaceVariant
+ val ToggleUnselectedPressedColor = ColorSchemeKeyTokens.OnSurfaceVariant
+ val UnselectedContainerColor = ColorSchemeKeyTokens.SurfaceVariant
+}
diff --git a/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/tokens/OutlinedIconButtonTokens.kt b/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/tokens/OutlinedIconButtonTokens.kt
new file mode 100644
index 0000000..c30f605
--- /dev/null
+++ b/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/tokens/OutlinedIconButtonTokens.kt
@@ -0,0 +1,42 @@
+/*
+ * Copyright 2022 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// VERSION: v0_92
+// GENERATED CODE - DO NOT MODIFY BY HAND
+
+package androidx.compose.material3.tokens
+
+import androidx.compose.ui.unit.dp
+
+internal object OutlinedIconButtonTokens {
+ val ContainerShape = ShapeTokens.CornerFull
+ val ContainerSize = 40.0.dp
+ val DisabledColor = ColorSchemeKeyTokens.OnSurface
+ const val DisabledOpacity = 0.38f
+ val DisabledOutlineColor = ColorSchemeKeyTokens.OnSurface
+ const val DisabledOutlineOpacity = 0.12f
+ val Size = 24.0.dp
+ val SelectedContainerColor = ColorSchemeKeyTokens.InverseSurface
+ val SelectedFocusColor = ColorSchemeKeyTokens.InverseOnSurface
+ val SelectedHoverColor = ColorSchemeKeyTokens.InverseOnSurface
+ val SelectedColor = ColorSchemeKeyTokens.InverseOnSurface
+ val SelectedPressedColor = ColorSchemeKeyTokens.InverseOnSurface
+ val UnselectedFocusColor = ColorSchemeKeyTokens.OnSurfaceVariant
+ val UnselectedHoverColor = ColorSchemeKeyTokens.OnSurfaceVariant
+ val UnselectedColor = ColorSchemeKeyTokens.OnSurfaceVariant
+ val UnselectedOutlineColor = ColorSchemeKeyTokens.Outline
+ val UnselectedOutlineWidth = 1.0.dp
+ val UnselectedPressedColor = ColorSchemeKeyTokens.OnSurface
+}