Skip to content

Commit

Permalink
change font weight
Browse files Browse the repository at this point in the history
  • Loading branch information
AnnaLysiuk committed Jan 3, 2024
1 parent 7f9c9d3 commit 9f6ca86
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions packages/editor/src/Relation/PanZoom/ControlsBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export const ControlsBar: React.FC<{
labelPosition="start"
onChange={() => setCtrlToZoom(!ctrlToZoom)}
checked={ctrlToZoom}
wrapperCss={{ fontWeight: 400 }}
wrapperCss={{ fontWeight: 300 }}
/>
<ZoomWrapper>
<IconWrapper
Expand All @@ -84,30 +84,30 @@ export const ControlsBar: React.FC<{
labelPosition="start"
onChange={() => setLibraryNodesOn(!libraryNodesOn)}
checked={libraryNodesOn}
wrapperCss={{ fontWeight: 400 }}
wrapperCss={{ fontWeight: 300 }}
/>
)}
<Checkbox
label="fields"
labelPosition="start"
onChange={() => setFieldsOn(!fieldsOn)}
checked={fieldsOn}
wrapperCss={{ fontWeight: 400 }}
wrapperCss={{ fontWeight: 300 }}
/>
<Checkbox
label="scalars"
disabled={!fieldsOn}
labelPosition="start"
onChange={() => setBaseTypesOn(!baseTypesOn)}
checked={fieldsOn ? baseTypesOn : false}
wrapperCss={{ fontWeight: 400 }}
wrapperCss={{ fontWeight: 300 }}
/>
<Checkbox
label="inputs"
labelPosition="start"
onChange={() => setInputsOn(!inputsOn)}
checked={inputsOn}
wrapperCss={{ fontWeight: 400 }}
wrapperCss={{ fontWeight: 300 }}
/>
<Tooltip title="Export to png" position="left-bottom">
<IconWrapper onClick={() => downloadPng()}>
Expand Down
2 changes: 1 addition & 1 deletion packages/editor/src/shared/dialogs/ImportSchema.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ export const ImportSchema: React.FC<{
label="Proxy to avoid CORS"
checked={proxyImport}
onChange={() => setProxyImport(!proxyImport)}
wrapperCss={{ fontWeight: 400 }}
wrapperCss={{ fontWeight: 300 }}
/>
<Typography variant="caption">Headers</Typography>
</Stack>
Expand Down

0 comments on commit 9f6ca86

Please sign in to comment.