Skip to content

Commit

Permalink
Change the styling of the <DependencyGraph> to have more contrast i…
Browse files Browse the repository at this point in the history
…n light mode

Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
  • Loading branch information
Fox32 committed Sep 8, 2021
1 parent 5d79be7 commit 60c03f6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .changeset/brave-eggs-rush.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@backstage/core-components': patch
---

Change the styling of the `<DependencyGraph>` to have more contrast in light
mode. Nodes now have a design similar to material UI buttons.
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ import { RenderNodeProps } from './types';

const useStyles = makeStyles((theme: BackstageTheme) => ({
node: {
fill: theme.palette.background.paper,
stroke: theme.palette.border,
fill: theme.palette.primary.light,
stroke: theme.palette.primary.light,
},
text: {
fill: theme.palette.textContrast,
fill: theme.palette.primary.contrastText,
},
}));

Expand Down

0 comments on commit 60c03f6

Please sign in to comment.