Skip to content

Commit baecb8f

Browse files
author
Factory Bot
committed
fix: standardize colors - #131217 background, #1A1B1F cards
1 parent 3a1ff6f commit baecb8f

15 files changed

Lines changed: 26 additions & 26 deletions

cortex-gui/src/components/figma/FigmaActivityBar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export const FigmaActivityBar: Component<FigmaActivityBarProps> = (props) => {
7575
"margin-left": "8px", // Figma: x:8
7676
"margin-top": "8px", // Gap from titlebar (y:69 - titlebar 58 = 11, rounded to 8)
7777
"margin-bottom": "8px",
78-
background: "var(--figma-bg-secondary, #1A1A1A)", // Card background per Figma
78+
background: "var(--figma-bg-secondary, #1A1B1F)", // Card background per Figma
7979
"border-radius": "12px", // Rounded card corners
8080
border: "1px solid var(--figma-border-default, rgba(255,255,255,0.1))",
8181
padding: "0",

cortex-gui/src/components/figma/FigmaChatPanel.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ const MinimizedChat: Component<Omit<FigmaChatPanelProps, "state">> = (props) =>
236236
bottom: "36px", // Above status bar
237237
width: "369px",
238238
height: "297px",
239-
background: "var(--figma-bg-secondary, #1A1A1A)",
239+
background: "var(--figma-bg-secondary, #1A1B1F)",
240240
"border-radius": "var(--figma-radius-lg, 12px)",
241241
border: "1px solid var(--figma-border-default, rgba(255,255,255,0.1))",
242242
display: "flex",
@@ -310,7 +310,7 @@ const ExpandedChat: Component<Omit<FigmaChatPanelProps, "state">> = (props) => {
310310
bottom: "36px",
311311
width: "369px",
312312
"max-height": "calc(100vh - 120px)",
313-
background: "var(--figma-bg-secondary, #1A1A1A)",
313+
background: "var(--figma-bg-secondary, #1A1B1F)",
314314
"border-radius": "var(--figma-radius-lg, 12px)",
315315
border: "1px solid var(--figma-border-default, rgba(255,255,255,0.1))",
316316
display: "flex",

cortex-gui/src/components/figma/FigmaCodeEditor.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export const FigmaCodeEditor: Component<FigmaCodeEditorProps> = (props) => {
7474
"flex-direction": "column",
7575
width: "100%",
7676
height: "100%",
77-
background: "var(--figma-bg-secondary, #1A1A1A)",
77+
background: "var(--figma-bg-secondary, #1A1B1F)",
7878
overflow: "hidden",
7979
...local.style,
8080
});
@@ -107,7 +107,7 @@ export const FigmaCodeEditor: Component<FigmaCodeEditorProps> = (props) => {
107107
"justify-content": "space-between",
108108
height: "34px",
109109
padding: "0 8px",
110-
background: "var(--figma-bg-secondary, #1A1A1A)",
110+
background: "var(--figma-bg-secondary, #1A1B1F)",
111111
"border-top": "1px solid var(--figma-border-default, rgba(255,255,255,0.1))",
112112
"flex-shrink": "0",
113113
});

cortex-gui/src/components/figma/FigmaDesktopLayout.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ function FigmaMenuDropdown(props: FigmaMenuDropdownProps) {
340340
display: "flex",
341341
"align-items": "flex-start",
342342
gap: "2px",
343-
background: "var(--figma-bg-secondary, #1A1A1A)",
343+
background: "var(--figma-bg-secondary, #1A1B1F)",
344344
"border-radius": "var(--figma-radius-md, 8px)",
345345
border: "1px solid var(--figma-border-default, rgba(255,255,255,0.1))",
346346
padding: "6px",
@@ -400,7 +400,7 @@ function FigmaMenuDropdown(props: FigmaMenuDropdownProps) {
400400
top: "calc(100% + 4px)",
401401
left: "0",
402402
"min-width": "220px",
403-
background: "var(--figma-bg-secondary, #1A1A1A)",
403+
background: "var(--figma-bg-secondary, #1A1B1F)",
404404
"border-radius": "var(--figma-radius-md, 8px)",
405405
border: "1px solid var(--figma-border-default, rgba(255,255,255,0.1))",
406406
padding: "6px 0",
@@ -906,7 +906,7 @@ export function FigmaDesktopLayout(props: ParentProps) {
906906
"flex-shrink": "0",
907907
overflow: "hidden",
908908
transition: isResizing() ? "none" : "width 150ms ease, opacity 150ms ease",
909-
background: "var(--figma-bg-secondary, #1A1A1A)",
909+
background: "var(--figma-bg-secondary, #1A1B1F)",
910910
"border-radius": "12px",
911911
border: "1px solid var(--figma-border-default, rgba(255,255,255,0.1))",
912912
opacity: sidebarCollapsed() ? "0" : "1",
@@ -928,7 +928,7 @@ export function FigmaDesktopLayout(props: ParentProps) {
928928
"margin-bottom": "8px",
929929
"margin-left": "12px", // 12px gap from sidebar
930930
"margin-right": "8px", // 8px from right edge
931-
background: "var(--figma-bg-secondary, #1A1A1A)",
931+
background: "var(--figma-bg-secondary, #1A1B1F)",
932932
"border-radius": "12px",
933933
border: "1px solid var(--figma-border-default, rgba(255,255,255,0.1))",
934934
});

cortex-gui/src/components/figma/FigmaEditorTabs.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Design specs from Figma nodes 0:1134, 0:1617, 0:1622:
55
* - Tab bar height: 47px
6-
* - Active tab: darker background (#1A1A1A), file icon, name, close button
6+
* - Active tab: darker background (#1A1B1F), file icon, name, close button
77
* - Inactive tabs: lighter/transparent background, same structure
88
* - File icons: 16x16px based on file type
99
* - Close button: 16x16px X icon, visible on hover or when modified
@@ -92,7 +92,7 @@ const EditorTabItem: Component<EditorTabItemProps> = (props) => {
9292
"padding-left": "24px",
9393
"padding-right": "16px",
9494
background: props.isActive
95-
? "var(--figma-bg-secondary, #1A1A1A)"
95+
? "var(--figma-bg-secondary, #1A1B1F)"
9696
: "transparent",
9797
"border-top-left-radius": "8px",
9898
"border-top-right-radius": "8px",

cortex-gui/src/components/figma/FigmaExtensionsPanel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ export const FigmaExtensionsPanel: Component = () => {
118118
placeholder="Search extensions..."
119119
style={{
120120
width: "100%",
121-
background: "#1E1E1E",
121+
background: "#1A1B1F",
122122
border: "1px solid #2D2D2D",
123123
"border-radius": "4px",
124124
color: "#EBEBEB",

cortex-gui/src/components/figma/FigmaFileExplorer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export const FigmaFileExplorer: Component<FigmaFileExplorerProps> = (props) => {
9999
"flex-direction": "column",
100100
width: "317px",
101101
height: "100%",
102-
background: "var(--figma-bg-secondary, #1A1A1A)",
102+
background: "var(--figma-bg-secondary, #1A1B1F)",
103103
"border-radius": "var(--figma-radius-sm, 4px)",
104104
overflow: "hidden",
105105
"flex-shrink": "0",

cortex-gui/src/components/figma/FigmaGitPanel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export const FigmaGitPanel: Component = () => {
115115
placeholder="Message (press Ctrl+Enter to commit)"
116116
style={{
117117
width: "100%",
118-
background: "#1E1E1E",
118+
background: "#1A1B1F",
119119
border: "1px solid #2D2D2D",
120120
"border-radius": "4px",
121121
color: "#EBEBEB",

cortex-gui/src/components/figma/FigmaSearchPanel.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export const FigmaSearchPanel: Component = () => {
8181
placeholder="Search"
8282
style={{
8383
width: "100%",
84-
background: "#1E1E1E",
84+
background: "#1A1B1F",
8585
border: "1px solid #2D2D2D",
8686
"border-radius": "4px",
8787
color: "#EBEBEB",
@@ -147,7 +147,7 @@ export const FigmaSearchPanel: Component = () => {
147147
placeholder="Replace"
148148
style={{
149149
width: "100%",
150-
background: "#1E1E1E",
150+
background: "#1A1B1F",
151151
border: "1px solid #2D2D2D",
152152
"border-radius": "4px",
153153
color: "#EBEBEB",

cortex-gui/src/components/figma/FigmaStatusBar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export const FigmaStatusBar: Component<FigmaStatusBarProps> = (props) => {
5757
"justify-content": "space-between",
5858
width: "100%",
5959
height: "28px",
60-
background: "var(--figma-bg-secondary, #1A1A1A)",
60+
background: "var(--figma-bg-secondary, #1A1B1F)",
6161
padding: "0 8px",
6262
"border-top": "1px solid var(--figma-border-default, rgba(255,255,255,0.1))",
6363
"flex-shrink": "0",

0 commit comments

Comments
 (0)