Skip to content

Commit

Permalink
Fix buttons after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
rock3r committed Jul 1, 2024
1 parent 1f13d47 commit 4c108da
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,16 +137,16 @@ public val ButtonColors.Companion.Outlined: IntUiOutlinedButtonColorFactory
public object IntUiOutlinedButtonColorFactory {
@Composable
public fun light(
background: Brush = SolidColor(Color.Transparent),
background: Brush = SolidColor(IntUiLightTheme.colors.grey(14)),
backgroundDisabled: Brush = SolidColor(IntUiLightTheme.colors.grey(12)),
backgroundFocused: Brush = SolidColor(Color.Transparent),
backgroundFocused: Brush = background,
backgroundPressed: Brush = SolidColor(IntUiLightTheme.colors.grey(13)),
backgroundHovered: Brush = SolidColor(Color.Transparent),
backgroundHovered: Brush = background,
content: Color = IntUiLightTheme.colors.grey(1),
contentDisabled: Color = IntUiLightTheme.colors.grey(8),
contentFocused: Color = IntUiLightTheme.colors.grey(1),
contentPressed: Color = IntUiLightTheme.colors.grey(1),
contentHovered: Color = IntUiLightTheme.colors.grey(1),
contentFocused: Color = content,
contentPressed: Color = content,
contentHovered: Color = content,
border: Brush = SolidColor(IntUiLightTheme.colors.grey(9)),
borderDisabled: Brush = SolidColor(IntUiLightTheme.colors.grey(12)),
borderFocused: Brush = SolidColor(IntUiLightTheme.colors.blue(4)),
Expand Down Expand Up @@ -175,7 +175,7 @@ public object IntUiOutlinedButtonColorFactory {
public fun dark(
background: Brush = SolidColor(Color.Transparent),
backgroundDisabled: Brush = SolidColor(IntUiDarkTheme.colors.grey(5)),
backgroundFocused: Brush = SolidColor(IntUiDarkTheme.colors.grey(6)),
backgroundFocused: Brush = background,
backgroundPressed: Brush = SolidColor(IntUiDarkTheme.colors.grey(2)),
backgroundHovered: Brush = SolidColor(Color.Unspecified),
content: Color = IntUiDarkTheme.colors.grey(12),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ private fun ButtonImpl(
interactionSource: MutableInteractionSource,
style: ButtonStyle,
textStyle: TextStyle,
content: @Composable (RowScope.() -> Unit),
content: @Composable RowScope.() -> Unit,
) {
var buttonState by remember(interactionSource) {
mutableStateOf(ButtonState.of(enabled = enabled))
Expand Down

0 comments on commit 4c108da

Please sign in to comment.