mirror of
https://github.com/openai/codex.git
synced 2026-04-24 06:35:50 +00:00
33 lines
626 B
JavaScript
33 lines
626 B
JavaScript
const theme = {
|
|
styles: {
|
|
container: () => ({
|
|
flexDirection: "column",
|
|
}),
|
|
option: ({ isFocused }) => ({
|
|
gap: 1,
|
|
paddingLeft: isFocused ? 0 : 2,
|
|
}),
|
|
selectedIndicator: () => ({
|
|
color: "green",
|
|
}),
|
|
focusIndicator: () => ({
|
|
color: "blue",
|
|
}),
|
|
label({ isFocused, isSelected }) {
|
|
let color;
|
|
if (isSelected) {
|
|
color = "green";
|
|
}
|
|
if (isFocused) {
|
|
color = "blue";
|
|
}
|
|
return { color };
|
|
},
|
|
highlightedText: () => ({
|
|
bold: true,
|
|
}),
|
|
},
|
|
};
|
|
export const styles = theme.styles;
|
|
export default theme;
|