Skip to content

Commit

Permalink
feat: Graph styling refinements
Browse files Browse the repository at this point in the history
  • Loading branch information
ianjon3s committed Apr 24, 2024
1 parent dac9b33 commit 50d0d12
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const Option: React.FC<any> = (props) => {

const href = "";

let background = "#F9F8F8"; // no flag color
let background = "#666"; // no flag color
let color = "#000";
try {
const flag = flatFlags.find(({ value }) =>
Expand Down
7 changes: 3 additions & 4 deletions editor.planx.uk/src/pages/FlowEditor/floweditor.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
$black: #0b0c0c;
$lineColor: #d0d0d0;
$nodeBorder: $black;
$optionBorder: #b1b4b6;
$hangerBackground: #f2f2f2;
Expand Down Expand Up @@ -184,8 +183,8 @@ $pixel: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAA
background-image: linear-gradient(
90deg,
$optionBorder,
$optionBorder 50%,
transparent 50%,
$optionBorder 40%,
transparent 40%,
transparent 100%
);
background-size: 12px 2px;
Expand Down Expand Up @@ -411,7 +410,7 @@ $pixel: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAA
bottom: -$nodeBorderWidth;
width: 0;
height: 0;
border-top: 12px solid $nodeBorder;
border-top: 12px solid #555;
border-right: 12px solid transparent;
}
}
Expand Down

0 comments on commit 50d0d12

Please sign in to comment.