Companion

object Companion

Functions

Link copied to clipboard
@Composable
fun dark(background: Color = IntUiDarkTheme.colors.grey(2), backgroundDisabled: Color = IntUiDarkTheme.colors.grey(2), backgroundFocused: Color = IntUiDarkTheme.colors.blue(2), backgroundPressed: Color = background, backgroundHovered: Color = background, content: Color = IntUiDarkTheme.colors.grey(12), contentDisabled: Color = IntUiDarkTheme.colors.grey(7), contentFocused: Color = content, contentPressed: Color = content, contentHovered: Color = content, iconTint: Color = IntUiDarkTheme.colors.grey(10), iconTintDisabled: Color = iconTint, iconTintFocused: Color = iconTint, iconTintPressed: Color = iconTint, iconTintHovered: Color = iconTint, separator: Color = IntUiDarkTheme.colors.grey(3)): IntUiMenuItemColors
Link copied to clipboard
@Composable
fun light(background: Color = IntUiLightTheme.colors.grey(14), backgroundDisabled: Color = IntUiLightTheme.colors.grey(14), backgroundFocused: Color = IntUiLightTheme.colors.blue(11), backgroundPressed: Color = background, backgroundHovered: Color = backgroundFocused, content: Color = IntUiLightTheme.colors.grey(1), contentDisabled: Color = IntUiLightTheme.colors.grey(8), contentFocused: Color = content, contentPressed: Color = content, contentHovered: Color = content, iconTint: Color = IntUiLightTheme.colors.grey(7), iconTintDisabled: Color = iconTint, iconTintFocused: Color = iconTint, iconTintPressed: Color = iconTint, iconTintHovered: Color = iconTint, separator: Color = IntUiLightTheme.colors.grey(12)): IntUiMenuItemColors