Skip to content

feat: Redesign workspaces page #1450

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 24 commits into from
May 16, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add text field
  • Loading branch information
kylecarbs committed May 14, 2022
commit 104b1d91a0dc139ad92ac574e5a6871e1723151c
2 changes: 2 additions & 0 deletions site/src/components/WorkspacesPage/WorkspacesPage.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { TextField } from "@material-ui/core"
import Button from "@material-ui/core/Button"
import { makeStyles } from "@material-ui/core/styles"
import Table from "@material-ui/core/Table"
Expand Down Expand Up @@ -28,6 +29,7 @@ export const WorkspacesPage: React.FC = () => {
<Margins>
<img className={styles.boxes} alt="boxes" src="/boxes.png" />
<div className={styles.actions}>
<TextField placeholder="Search all workspaces" />
<Button color="primary">Create Workspace</Button>
</div>
<Table>
Expand Down
14 changes: 14 additions & 0 deletions site/src/theme/overrides.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,19 @@ export const getOverrides = (palette: PaletteOptions) => {
},
},
},
MuiInputBase: {
root: {
background: palette.background?.paper,
borderRadius: 2,
},
},
MuiOutlinedInput: {
root: {
borderColor: palette.divider,
"&:hover > .MuiOutlinedInput-notchedOutline": {
borderColor: palette.divider,
},
},
},
}
}