Skip to content

Commit 543617e

Browse files
committed
Standardize UI colors by replacing the deprecated --vscode-editor-foreground variable with --vscode-foreground
1 parent a2bde8f commit 543617e

6 files changed

Lines changed: 16 additions & 17 deletions

File tree

‎README.md‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,35 +2,35 @@
22

33
<a href="https://marketplace.visualstudio.com/items?itemName=robertpiosik.gemini-coder" target="_blank"><img src="https://img.shields.io/badge/Install-VS_Code_Marketplace-blue" alt="Get from Visual Studio Code Marketplace" /></a> <a href="https://open-vsx.org/extension/robertpiosik/gemini-coder" target="_blank"><img src="https://img.shields.io/badge/Install-Open_VSX_Registry-a60ee5" alt="Get from Open VSX Registry" /></a> <a href="https://github.com/robertpiosik/CodeWebChat/blob/dev/LICENSE" target="_blank"><img src="https://img.shields.io/badge/License-GPL--3.0-green.svg" alt="License: GPL-3.0" /></a>
44

5-
Non-agentic AI coding in free chatbots for <a href="https://marketplace.visualstudio.com/items?itemName=robertpiosik.gemini-coder" target="_blank">VS Code</a>, <a href="https://open-vsx.org/extension/robertpiosik/gemini-coder" target="_blank">Cursor and Windsurf</a>. \
6-
_CWC is community driven—[join discord!](https://discord.gg/KJySXsrSX5)_
5+
Non-agentic AI coding in free chatbots for <a href="https://marketplace.visualstudio.com/items?itemName=robertpiosik.gemini-coder" target="_blank">VS Code</a>, <a href="https://open-vsx.org/extension/robertpiosik/gemini-coder" target="_blank">Cursor and Windsurf</a>.
6+
7+
CWC is community driven. Join our [discord server](https://discord.gg/KJySXsrSX5)!
78

89
🌐 **Initializes web chats**—ChatGPT, Claude, Gemini, DeepSeek, and more \
9-
🪄 **Applies responses**—multi-file changes integration with confidence \
10-
🔋 **Batteries included**—code completions, checkpoints, and more \
11-
🧠 **Non-agentic**—accurate, blazing fast edits without tool calling \
12-
🫶 **Free and open-source**—released under the GPL-3.0 license
10+
🪄 **Applies responses**—multi-file changes integration with easy rollback \
11+
🔋 **Batteries included**—code completions, commit messages, and more \
12+
🫶 **Free & open-source**—released under the GPL-3.0 license
1313

1414
<p>
1515
<img src="https://github.com/robertpiosik/CodeWebChat/raw/HEAD/packages/shared/src/media/demo.gif" alt="Walkthrough" />
1616
</p>
1717

18-
✍️ **Guiding principles**
18+
🫡 **Guiding principles**
1919

2020
- Don't scrape chat responses
2121
- Operate 100% locally
2222
- Respect user privacy
2323
- Stay free forever
2424

25-
🤌 **CWC is non-agentic, but why?**
25+
🤔 **CWC is non-agentic, but why?**
2626

2727
Large language models (LLMs) are trained on vast datasets targeting many use cases. For code generation, a model's training involves analyzing millions of simulated problem-solving flows, such as arriving at an accepted answer from a StackOverflow question. For the purpose of agentic coding, models are trained on an additional layer of data that simulates gathering context and planning next steps.
2828

2929
Because the model is only as smart as examples it has seen in its pre-training, the possible coverage of real-world coding scenarios when approached at a high level is fundamentally limited.
3030

3131
Therefore, CWC is designed to align with LLMs' true capabilities—that is, code generation in a controlled signal-to-noise ratio environment. Controlled by you, the engineer.
3232

33-
💅 **The workflow**
33+
🤓 **The workflow**
3434

3535
Select folders and files for context, enter prompt, pick edit format and send message via...
3636

‎packages/ui/.storybook/variables.css‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
--vscode-descriptionForeground: #717171;
1717
--vscode-sideBar-background: #f3f3f3;
1818
--vscode-sideBarSectionHeader-border: rgba(128, 128, 128, 0.35);
19-
--vscode-editor-foreground: #333333;
2019
--vscode-textLink-foreground: #0066cc;
2120
--vscode-list-hoverBackground: #e8e8e8;
2221
--vscode-list-inactiveSelectionBackground: #e4e6f1;

‎packages/ui/src/components/editor/panel/ChatInput/ChatInput.module.scss‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@
220220
height: 20px;
221221
padding: 0 4px;
222222
border-radius: 5px;
223-
color: var(--vscode-editor-foreground);
223+
color: var(--vscode-foreground);
224224
border: 1px solid var(--vscode-commandCenter-inactiveBorder);
225225
font-size: 12px;
226226
pointer-events: all;

‎packages/ui/src/components/editor/panel/Field/Field.module.scss‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
&__label {
77
font-size: 12px;
88
font-weight: 600;
9-
color: var(--vscode-editor-foreground);
9+
color: var(--vscode-foreground);
1010
align-self: flex-start;
1111
}
1212

‎packages/ui/src/components/editor/settings/NavigationItem/NavigationItem.module.scss‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
gap: var(--padding-8px);
55
padding: var(--padding-6px) var(--padding-8px);
66
border-radius: var(--border-radius-4px);
7-
color: var(--vscode-editor-foreground);
7+
color: var(--vscode-foreground);
88
text-decoration: none;
99
cursor: pointer;
1010

‎packages/vscode/src/context/context-initialization.ts‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -298,12 +298,12 @@ export function context_initialization(context: vscode.ExtensionContext): {
298298
<meta name="viewport" content="width=device-width, initial-scale=1.0">
299299
<title>${website.title}</title>
300300
<style>
301-
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; line-height: 1.4; max-width: 700px; margin: 0 auto; padding: 40px; color: var(--vscode-editor-foreground); }
301+
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; line-height: 1.4; max-width: 700px; margin: 0 auto; padding: 40px; color: var(--vscode-foreground); }
302302
body > *:first-child { margin-top: 0; }
303303
body > *:last-child { margin-bottom: 0; }
304-
h1 { color: var(--vscode-editor-foreground); }
304+
h1 { color: var(--vscode-foreground); }
305305
a { color: var(--vscode-textLink-foreground); }
306-
hr { height: 1px; border: none; background-color: var(--vscode-editor-foreground); }
306+
hr { height: 1px; border: none; background-color: var(--vscode-foreground); }
307307
</style>
308308
</head>
309309
<body>
@@ -395,7 +395,7 @@ export function context_initialization(context: vscode.ExtensionContext): {
395395
}, 1000) // Wait for 1 second to ensure VS Code has fully loaded
396396

397397
return {
398-
workspace_provider: workspace_provider!,
398+
workspace_provider,
399399
open_editors_provider,
400400
websites_provider
401401
}

0 commit comments

Comments
 (0)