Skip to content

Commit

Permalink
Merge pull request #210 from open-rpc/fix/dark-light-theme
Browse files Browse the repository at this point in the history
fix: white bg for docs
  • Loading branch information
stevanlohja authored Jun 4, 2019
2 parents b0feaf5 + 17614a9 commit f9f3a25
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -243,13 +243,13 @@ export default class App extends React.Component<{}, IState> {
private getPlayground = () => {
if (!this.state.uiSchema.appBar["ui:splitView"]) {
return (
<Paper className="docs" elevation={0} key={2}>
<div className="docs" key={2}>
<Documentation
schema={this.state.parsedSchema as OpenRPC}
uiSchema={this.state.uiSchema}
reactJsonOptions={this.state.reactJsonOptions}
/>
</Paper>
</div>
);
} else {
return this.getSplitPane();
Expand Down
4 changes: 3 additions & 1 deletion src/themes/openrpcTheme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ export const lightTheme = createMuiTheme({
},
},
palette: {

background: {
default: "white",
},
},
});

Expand Down

0 comments on commit f9f3a25

Please sign in to comment.