Skip to content
Snippets Groups Projects
Commit b72515d0 authored by Maz Ameli's avatar Maz Ameli
Browse files

tweak arrow style

parent 81a082eb
No related branches found
No related tags found
No related merge requests found
......@@ -20,14 +20,14 @@ const INNER_RADIUS = OUTER_RADIUS * INNER_RADIUS_RATIO;
// arrow shape, currently an equilateral triangle
const ARROW_HEIGHT = (OUTER_RADIUS - INNER_RADIUS) * 3 / 4; // 2/3 of segment thickness
const ARROW_BASE = ARROW_HEIGHT / Math.tan(60 / 180 * Math.PI);
const ARROW_BASE = ARROW_HEIGHT / Math.tan(64 / 180 * Math.PI);
const ARROW_STROKE_THICKNESS = 1.25;
// colors
const BACKGROUND_ARC_COLOR = colors["bg-medium"];
const SEGMENT_LABEL_COLOR = colors["text-dark"];
const CENTER_LABEL_COLOR = colors["text-dark"];
const ARROW_FILL_COLOR = colors["text-dark"];
const ARROW_FILL_COLOR = colors["text-medium"];
const ARROW_STROKE_COLOR = "white";
// in ems, but within the scaled 100px SVG element
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment