Skip to content

Commit dae7ed7

Browse files
committed
Fix styles
1 parent 5498984 commit dae7ed7

File tree

5 files changed

+11
-10
lines changed

5 files changed

+11
-10
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.1.30",
3+
"version": "0.1.31",
44
"main": "dist/main.js",
55
"typings": "dist/index.d.ts",
66
"files": [

src/components/Modals/Modal.styles.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ export const StyledModalButtonDelete = styled.button<StyledModalButtonDeleteProp
173173

174174
export const StyledModalInputRowContainer = styled.div`
175175
width: 100%;
176+
margin: 10px 0px;
176177
display: flex;
177178
flex-direction: row;
178179
justify-content: space-evenly;

src/components/Modals/NewFileModal.styles.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export const StyledModalCardsTitle = styled.label`
99
font-size: large;
1010
font-weight: bold;
1111
text-align: center;
12-
margin-bottom: 10px;
12+
margin: 10px 0px;
1313
`;
1414

1515
export const StyledModalCardsContainer = styled.div`

src/components/Modals/NewFolderModal.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,10 @@ const NewFolderModal = ({
129129
<StyledModalInput
130130
color={theme.palette.text}
131131
placeholderColor={theme.palette.placeholderText}
132-
bgColor={theme.palette.background}
133-
borderColor={theme.palette.background}
134-
focusBorderColor={theme.palette.background}
135-
invalidBorderColor={theme.palette.background}
132+
bgColor={theme.palette.primary}
133+
borderColor={theme.palette.text}
134+
focusBorderColor={theme.palette.secondary}
135+
invalidBorderColor={theme.palette.error}
136136
roundness={theme.roundness}
137137
valid={isCreationAllowed || formState.folderName === ""}
138138
>

src/components/Modals/RenameModal.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -150,10 +150,10 @@ const RenameModal = ({
150150
<StyledModalInput
151151
color={theme.palette.text}
152152
placeholderColor={theme.palette.placeholderText}
153-
bgColor={theme.palette.background}
154-
borderColor={theme.palette.background}
155-
focusBorderColor={theme.palette.background}
156-
invalidBorderColor={theme.palette.background}
153+
bgColor={theme.palette.primary}
154+
borderColor={theme.palette.text}
155+
focusBorderColor={theme.palette.secondary}
156+
invalidBorderColor={theme.palette.error}
157157
roundness={theme.roundness}
158158
valid={isCreationAllowed}
159159
>

0 commit comments

Comments
 (0)