Skip to content

Commit 8d8834e

Browse files
committed
Fix typo
1 parent 8aca3c6 commit 8d8834e

File tree

5 files changed

+16
-16
lines changed

5 files changed

+16
-16
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jderobot-ide-interface",
3-
"version": "0.2.66",
3+
"version": "0.2.67",
44
"main": "dist/main.js",
55
"typings": "dist/index.d.ts",
66
"files": [

src/components/FileEditor/TextEditor.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -134,15 +134,15 @@ const FileEditor = ({
134134
inherit: true,
135135
rules: [],
136136
colors: {
137-
"editor.background": theme.palette.bg,
137+
"editor.bg": theme.palette.bg,
138138
},
139139
});
140140
monacoRef.current.editor.defineTheme("light-theme", {
141141
base: "vs",
142142
inherit: true,
143143
rules: [],
144144
colors: {
145-
"editor.background": theme.palette.bg,
145+
"editor.bg": theme.palette.bg,
146146
},
147147
});
148148
}
@@ -154,15 +154,15 @@ const FileEditor = ({
154154
inherit: true,
155155
rules: [],
156156
colors: {
157-
"editor.background": theme.palette.bg,
157+
"editor.bg": theme.palette.bg,
158158
},
159159
});
160160
monaco.editor.defineTheme("light-theme", {
161161
base: "vs",
162162
inherit: true,
163163
rules: [],
164164
colors: {
165-
"editor.background": theme.palette.bg,
165+
"editor.bg": theme.palette.bg,
166166
},
167167
});
168168
};

src/components/IdeInterface/IdeInterface.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ const IdeInterface = ({
107107
))}
108108
</ResizableColumn>
109109
<StyledIdeVertContainer bgColor={theme.palette?.primary}>
110-
<StyledIdeContainer bgColor={theme.palette?.background}>
110+
<StyledIdeContainer bgColor={theme.palette?.bg}>
111111
<FileEditor
112112
currentFile={baseFile ? baseFile : currentFile}
113113
changeCurrentFile={setCurrentFile}
@@ -123,7 +123,7 @@ const IdeInterface = ({
123123
</StyledIdeContainer>
124124
</StyledIdeVertContainer>
125125
<StyledIdeVertContainer bgColor={theme.palette?.primary}>
126-
<StyledIdeContainer bgColor={theme.palette?.background}>
126+
<StyledIdeContainer bgColor={theme.palette?.bg}>
127127
<ViewersContainer viewers={viewers} splashIcon={splashIcon} />
128128
</StyledIdeContainer>
129129
</StyledIdeVertContainer>

src/components/ProgressBar/ProgressBar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const ProgressBar = ({ completed }: { completed: number }) => {
99
<StyledProgressBar
1010
text={theme.palette.text}
1111
color={theme.palette.progressBar.color}
12-
bgColor={theme.palette.progressBar.background}
12+
bgColor={theme.palette.progressBar.bg}
1313
progress={completed}
1414
>
1515
<div>

src/components/ResizableLayout/ResizableComponents.tsx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -122,19 +122,19 @@ export const ResizableColumn = ({ children }: { children: any[] }) => {
122122

123123
if (children.length === 1) {
124124
return (
125-
<StyledVertContiner bgColor={theme.palette?.background}>
125+
<StyledVertContiner bgColor={theme.palette?.bg}>
126126
{children[0]}
127127
</StyledVertContiner>
128128
);
129129
}
130130

131131
if (children.length === 2) {
132132
return (
133-
<StyledVertContiner bgColor={theme.palette?.background}>
133+
<StyledVertContiner bgColor={theme.palette?.bg}>
134134
<ResizableVert height={100 / children.length} max={100} snap={[0]}>
135135
{children[0]}
136136
</ResizableVert>
137-
<StyledVertFillerContiner bgColor={theme.palette?.background}>
137+
<StyledVertFillerContiner bgColor={theme.palette?.bg}>
138138
{children[1]}
139139
</StyledVertFillerContiner>
140140
</StyledVertContiner>
@@ -143,7 +143,7 @@ export const ResizableColumn = ({ children }: { children: any[] }) => {
143143

144144
return (
145145
<StyledVertContiner
146-
bgColor={theme.palette?.background}
146+
bgColor={theme.palette?.bg}
147147
></StyledVertContiner>
148148
);
149149
};
@@ -258,22 +258,22 @@ export const CollapsableResizableColumn = memo( function CollapsableResizableCol
258258

259259
// if (children.length === 1) {
260260
// return (
261-
// <StyledVertContiner bgColor={theme.palette?.background}>
262-
// <StyledVertFillerContiner bgColor={theme.palette?.background}>
261+
// <StyledVertContiner bgColor={theme.palette?.bg}>
262+
// <StyledVertFillerContiner bgColor={theme.palette?.bg}>
263263
// {children[0]}
264264
// </StyledVertFillerContiner>
265265
// </StyledVertContiner>
266266
// );
267267
// }
268268

269269
return (
270-
<StyledVertContiner bgColor={theme.palette?.background}>
270+
<StyledVertContiner bgColor={theme.palette?.bg}>
271271
{children.slice(0, children.length - 1).map((comp, i) => (
272272
<ResizableVert key={`v-cont${i}`} height={100 / children.length} max={100} min={0} snap={[0]}>
273273
{comp}
274274
</ResizableVert>
275275
))}
276-
<StyledVertFillerContiner bgColor={theme.palette?.background}>
276+
<StyledVertFillerContiner bgColor={theme.palette?.bg}>
277277
{children[children.length - 1]}
278278
</StyledVertFillerContiner>
279279
</StyledVertContiner>

0 commit comments

Comments
 (0)