- Open a hidden diagnostics dialog after tapping the header seven times within fifteen seconds. - Let the diagnostics dialog toggle the pane color/stripe skin on demand. - Restore the normal app background and pane colors by default. - Stop Scaffold from preserving the bottom navigation-bar inset while the keyboard is visible. - Apply bottom navigation padding only when the IME is not open.
31 lines
921 B
Kotlin
31 lines
921 B
Kotlin
package solutions.tretter.githugandroid
|
|
|
|
import androidx.compose.material3.darkColorScheme
|
|
import androidx.compose.ui.graphics.Color
|
|
|
|
val PanelPrimary = Color(0xFF121212)
|
|
val PanelSecondary = Color(0xFF1E1E1E)
|
|
val PanelTertiary = Color(0xFF262626)
|
|
val AppBackground = PanelSecondary
|
|
val DiagnosticAppBackground = Color(0xFF2D1745)
|
|
val TerminalBackground = Color(0xFF050505)
|
|
val TextPrimary = Color(0xFFFFFFFF)
|
|
val TextSecondary = Color(0xFFE6E6E6)
|
|
val TextMuted = Color(0xFFBDBDBD)
|
|
val Accent = Color(0xFF00E5FF)
|
|
val Success = Color(0xFF00FF95)
|
|
|
|
val GitHugColorScheme = darkColorScheme(
|
|
primary = Accent,
|
|
onPrimary = Color.Black,
|
|
secondary = TextPrimary,
|
|
onSecondary = Color.Black,
|
|
background = AppBackground,
|
|
onBackground = TextPrimary,
|
|
surface = PanelPrimary,
|
|
onSurface = TextPrimary,
|
|
surfaceVariant = PanelSecondary,
|
|
onSurfaceVariant = TextSecondary,
|
|
outline = TextMuted,
|
|
)
|