Revert "Update semantic color tokens" (#6365)

This commit is contained in:
Jacob Richman
2025-08-15 20:18:31 -07:00
committed by GitHub
parent d57cc0b930
commit 6c1373c332
60 changed files with 502 additions and 606 deletions

View File

@@ -6,7 +6,7 @@
import React from 'react';
import { Text } from 'ink';
import { theme } from '../semantic-colors.js';
import { Colors } from '../colors.js';
interface PrepareLabelProps {
label: string;
@@ -21,7 +21,7 @@ export const PrepareLabel: React.FC<PrepareLabelProps> = ({
matchedIndex,
userInput,
textColor,
highlightColor = theme.status.warning,
highlightColor = Colors.AccentYellow,
}) => {
if (
matchedIndex === undefined ||
@@ -37,7 +37,7 @@ export const PrepareLabel: React.FC<PrepareLabelProps> = ({
const end = label.slice(matchedIndex + userInput.length);
return (
<Text color={theme.text.primary}>
<Text>
<Text color={textColor}>{start}</Text>
<Text color="black" bold backgroundColor={highlightColor}>
{match}