1package soy.iko.opencode.ui.components
3import androidx.compose.foundation.layout.padding
4import androidx.compose.material3.MaterialTheme
5import androidx.compose.material3.Text
6import androidx.compose.runtime.Composable
7import androidx.compose.ui.Modifier
8import androidx.compose.ui.semantics.heading
9import androidx.compose.ui.semantics.semantics
10import androidx.compose.ui.unit.dp
13 * A primary-tinted section title, marked as an accessibility heading so TalkBack users
14 * can navigate between sections. Shared so section headings look and behave identically
15 * across Settings, Usage, and other grouped screens.
18fun SectionHeader(text: String, modifier: Modifier = Modifier) {
21 style = MaterialTheme.typography.titleSmall,
22 color = MaterialTheme.colorScheme.primary,
23 modifier = modifier.padding(top = 8.dp).semantics { heading() },
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list