Companion

object Companion

Functions

Link copied to clipboard
@Composable
fun dark(background: Color = IntUiDarkTheme.colors.grey(2), backgroundDisabled: Color = background, backgroundFocused: Color = background, backgroundPressed: Color = background, backgroundHovered: Color = background, backgroundWarning: Color = background, backgroundError: Color = background, content: Color = IntUiDarkTheme.colors.grey(12), contentDisabled: Color = IntUiDarkTheme.colors.grey(7), contentFocused: Color = content, contentPressed: Color = content, contentHovered: Color = content, contentWarning: Color = content, contentError: Color = content, border: Color = IntUiDarkTheme.colors.grey(5), borderDisabled: Color = border, borderFocused: Color = IntUiDarkTheme.colors.blue(6), borderPressed: Color = border, borderHovered: Color = border, borderWarning: Color = IntUiDarkTheme.colors.yellow(4), borderError: Color = IntUiDarkTheme.colors.red(4), cursor: Brush = SolidColor(IntUiDarkTheme.colors.grey(12)), cursorDisabled: Brush = cursor, cursorFocused: Brush = cursor, cursorPressed: Brush = cursor, cursorHovered: Brush = cursor, cursorWarning: Brush = cursor, cursorError: Brush = cursor, placeholder: Color = IntUiDarkTheme.colors.grey(7), label: Color = IntUiDarkTheme.colors.grey(12), hint: Color = IntUiDarkTheme.colors.grey(7)): IntUiLabelledTextFieldColors
Link copied to clipboard
@Composable
fun light(background: Color = IntUiLightTheme.colors.grey(14), backgroundDisabled: Color = IntUiLightTheme.colors.grey(13), backgroundFocused: Color = background, backgroundPressed: Color = background, backgroundHovered: Color = background, backgroundWarning: Color = background, backgroundError: Color = background, content: Color = IntUiLightTheme.colors.grey(1), contentDisabled: Color = IntUiLightTheme.colors.grey(8), contentFocused: Color = content, contentPressed: Color = content, contentHovered: Color = content, contentWarning: Color = content, contentError: Color = content, border: Color = IntUiLightTheme.colors.grey(9), borderDisabled: Color = IntUiLightTheme.colors.grey(11), borderFocused: Color = IntUiLightTheme.colors.blue(4), borderPressed: Color = border, borderHovered: Color = border, borderWarning: Color = IntUiLightTheme.colors.yellow(4), borderError: Color = IntUiLightTheme.colors.red(4), cursor: Brush = SolidColor(IntUiLightTheme.colors.grey(1)), cursorDisabled: Brush = cursor, cursorFocused: Brush = cursor, cursorPressed: Brush = cursor, cursorHovered: Brush = cursor, cursorWarning: Brush = cursor, cursorError: Brush = cursor, placeholder: Color = IntUiLightTheme.colors.grey(8), label: Color = IntUiLightTheme.colors.grey(1), hint: Color = IntUiLightTheme.colors.grey(6)): IntUiLabelledTextFieldColors