chenbhao commited on
Commit
d8a167e
1 Parent(s): 60e4320

feat: keep only color

Browse files
src/components/LogoV2/CondensedLogo.tsx CHANGED
@@ -92,7 +92,7 @@ export function CondensedLogo(): ReactNode {
92
  {/* Info */}
93
  <Box flexDirection="column">
94
  <Text>
95
- <Text bold>Versper Claw</Text>{' '}
96
  <Text dimColor>v{truncatedVersion}</Text>
97
  </Text>
98
  {shouldSplit ? (
 
92
  {/* Info */}
93
  <Box flexDirection="column">
94
  <Text>
95
+ <Text bold color="clawd_body">Versper Claw</Text>{' '}
96
  <Text dimColor>v{truncatedVersion}</Text>
97
  </Text>
98
  {shouldSplit ? (
src/components/LogoV2/Feed.tsx CHANGED
@@ -64,7 +64,7 @@ export function Feed({ config, actualWidth }: FeedProps): React.ReactNode {
64
 
65
  return (
66
  <Box flexDirection="column" width={actualWidth}>
67
- <Text bold color="claude">
68
  {title}
69
  </Text>
70
  {customContent ? (
 
64
 
65
  return (
66
  <Box flexDirection="column" width={actualWidth}>
67
+ <Text bold color="clawd_body">
68
  {title}
69
  </Text>
70
  {customContent ? (
src/components/LogoV2/FeedColumn.tsx CHANGED
@@ -23,7 +23,7 @@ export function FeedColumn({
23
  <React.Fragment key={index}>
24
  <Feed config={feed} actualWidth={actualWidth} />
25
  {index < feeds.length - 1 && (
26
- <Divider color="claude" width={actualWidth} />
27
  )}
28
  </React.Fragment>
29
  ))}
 
23
  <React.Fragment key={index}>
24
  <Feed config={feed} actualWidth={actualWidth} />
25
  {index < feeds.length - 1 && (
26
+ <Divider color="clawd_body" width={actualWidth} />
27
  )}
28
  </React.Fragment>
29
  ))}
src/components/LogoV2/GuestPassesUpsell.tsx CHANGED
@@ -63,10 +63,10 @@ export function GuestPassesUpsell(): React.ReactNode {
63
  const reward = getCachedReferrerReward()
64
  return (
65
  <Text dimColor>
66
- <Text color="claude">[鉁籡</Text> <Text color="claude">[鉁籡</Text>{' '}
67
- <Text color="claude">[鉁籡</Text> 路{' '}
68
  {reward
69
- ? `Share Claude Code and earn ${formatCreditAmount(reward)} of extra usage 路 /passes`
70
  : '3 guest passes at /passes'}
71
  </Text>
72
  )
 
63
  const reward = getCachedReferrerReward()
64
  return (
65
  <Text dimColor>
66
+ <Text color="clawd_body">[鉁籡</Text> <Text color="clawd_body">[鉁籡</Text>{' '}
67
+ <Text color="clawd_body">[鉁籡</Text> 路{' '}
68
  {reward
69
+ ? `Share Versper Claw and earn ${formatCreditAmount(reward)} of extra usage 路 /passes`
70
  : '3 guest passes at /passes'}
71
  </Text>
72
  )
src/components/LogoV2/LogoV2.tsx CHANGED
@@ -250,8 +250,8 @@ export function LogoV2(): React.ReactNode {
250
  const layoutMode = getLayoutMode(columns)
251
 
252
  const userTheme = resolveThemeSetting(getGlobalConfig().theme)
253
- const borderTitle = ` ${color('claude', userTheme)('Versper Claw')} ${color('inactive', userTheme)(`v${version}`)} `
254
- const compactBorderTitle = color('claude', userTheme)(' Versper Claw ')
255
 
256
  // Early return for compact mode
257
  if (layoutMode === 'compact') {
@@ -281,7 +281,7 @@ export function LogoV2(): React.ReactNode {
281
  <Box
282
  flexDirection="column"
283
  borderStyle="round"
284
- borderColor="claude"
285
  borderText={{
286
  content: compactBorderTitle,
287
  position: 'top',
@@ -355,7 +355,7 @@ export function LogoV2(): React.ReactNode {
355
  <Box
356
  flexDirection="column"
357
  borderStyle="round"
358
- borderColor="claude"
359
  borderText={{
360
  content: borderTitle,
361
  position: 'top',
@@ -394,7 +394,7 @@ export function LogoV2(): React.ReactNode {
394
  <Box
395
  height="100%"
396
  borderStyle="single"
397
- borderColor="claude"
398
  borderDimColor
399
  borderTop={false}
400
  borderBottom={false}
 
250
  const layoutMode = getLayoutMode(columns)
251
 
252
  const userTheme = resolveThemeSetting(getGlobalConfig().theme)
253
+ const borderTitle = ` ${color('clawd_body', userTheme)('Versper Claw')} ${color('inactive', userTheme)(`v${version}`)} `
254
+ const compactBorderTitle = color('clawd_body', userTheme)(' Versper Claw ')
255
 
256
  // Early return for compact mode
257
  if (layoutMode === 'compact') {
 
281
  <Box
282
  flexDirection="column"
283
  borderStyle="round"
284
+ borderColor="clawd_body"
285
  borderText={{
286
  content: compactBorderTitle,
287
  position: 'top',
 
355
  <Box
356
  flexDirection="column"
357
  borderStyle="round"
358
+ borderColor="clawd_body"
359
  borderText={{
360
  content: borderTitle,
361
  position: 'top',
 
394
  <Box
395
  height="100%"
396
  borderStyle="single"
397
+ borderColor="clawd_body"
398
  borderDimColor
399
  borderTop={false}
400
  borderBottom={false}
src/components/LogoV2/OverageCreditUpsell.tsx CHANGED
@@ -102,7 +102,7 @@ export function OverageCreditUpsell({
102
  const title = getFeedTitle(amount)
103
  return (
104
  <>
105
- <Text color="claude">
106
  {maxWidth ? truncate(title, maxWidth) : title}
107
  </Text>
108
  <Text dimColor>
@@ -118,7 +118,7 @@ export function OverageCreditUpsell({
118
 
119
  return (
120
  <Text dimColor>
121
- <Text color="claude">{display.slice(0, highlightLen)}</Text>
122
  {display.slice(highlightLen)}
123
  </Text>
124
  )
 
102
  const title = getFeedTitle(amount)
103
  return (
104
  <>
105
+ <Text color="clawd_body">
106
  {maxWidth ? truncate(title, maxWidth) : title}
107
  </Text>
108
  <Text dimColor>
 
118
 
119
  return (
120
  <Text dimColor>
121
+ <Text color="clawd_body">{display.slice(0, highlightLen)}</Text>
122
  {display.slice(highlightLen)}
123
  </Text>
124
  )
src/components/LogoV2/WelcomeV2.tsx CHANGED
@@ -6,7 +6,7 @@ const WELCOME_V2_WIDTH = 58
6
 
7
  export function WelcomeV2(): React.ReactNode {
8
  const [theme] = useTheme()
9
- const welcomeMessage = 'Welcome to Claude Code'
10
 
11
  if (env.terminal === 'Apple_Terminal') {
12
  return (
@@ -19,7 +19,7 @@ export function WelcomeV2(): React.ReactNode {
19
  <Box width={WELCOME_V2_WIDTH}>
20
  <Text>
21
  <Text>
22
- <Text color="claude">{welcomeMessage} </Text>
23
  <Text dimColor>v{MACRO.VERSION} </Text>
24
  </Text>
25
  <Text>
@@ -88,7 +88,7 @@ export function WelcomeV2(): React.ReactNode {
88
  <Box width={WELCOME_V2_WIDTH}>
89
  <Text>
90
  <Text>
91
- <Text color="claude">{welcomeMessage} </Text>
92
  <Text dimColor>v{MACRO.VERSION} </Text>
93
  </Text>
94
  <Text>
@@ -173,7 +173,7 @@ function AppleTerminalWelcomeV2({
173
  <Box width={WELCOME_V2_WIDTH}>
174
  <Text>
175
  <Text>
176
- <Text color="claude">{welcomeMessage} </Text>
177
  <Text dimColor>v{MACRO.VERSION} </Text>
178
  </Text>
179
  <Text>
@@ -249,7 +249,7 @@ function AppleTerminalWelcomeV2({
249
  <Box width={WELCOME_V2_WIDTH}>
250
  <Text>
251
  <Text>
252
- <Text color="claude">{welcomeMessage} </Text>
253
  <Text dimColor>v{MACRO.VERSION} </Text>
254
  </Text>
255
  <Text>
 
6
 
7
  export function WelcomeV2(): React.ReactNode {
8
  const [theme] = useTheme()
9
+ const welcomeMessage = 'Welcome to Versper Claw'
10
 
11
  if (env.terminal === 'Apple_Terminal') {
12
  return (
 
19
  <Box width={WELCOME_V2_WIDTH}>
20
  <Text>
21
  <Text>
22
+ <Text color="clawd_body">{welcomeMessage} </Text>
23
  <Text dimColor>v{MACRO.VERSION} </Text>
24
  </Text>
25
  <Text>
 
88
  <Box width={WELCOME_V2_WIDTH}>
89
  <Text>
90
  <Text>
91
+ <Text color="clawd_body">{welcomeMessage} </Text>
92
  <Text dimColor>v{MACRO.VERSION} </Text>
93
  </Text>
94
  <Text>
 
173
  <Box width={WELCOME_V2_WIDTH}>
174
  <Text>
175
  <Text>
176
+ <Text color="clawd_body">{welcomeMessage} </Text>
177
  <Text dimColor>v{MACRO.VERSION} </Text>
178
  </Text>
179
  <Text>
 
249
  <Box width={WELCOME_V2_WIDTH}>
250
  <Text>
251
  <Text>
252
+ <Text color="clawd_body">{welcomeMessage} </Text>
253
  <Text dimColor>v{MACRO.VERSION} </Text>
254
  </Text>
255
  <Text>