Skip to content

Commit

Permalink
Component | Chord Diagram | Add label font size CSS variable
Browse files Browse the repository at this point in the history
  • Loading branch information
reb-dev committed Dec 19, 2023
1 parent b7f40c9 commit ef6c472
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/ts/src/components/chord-diagram/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export const variables = injectGlobal`
--vis-chord-diagram-label-text-fill-color-bright: #ffffff;
--vis-chord-diagram-label-text-fill-color-dark: #a5abb2;
--vis-chord-diagram-label-text-font-size: 16px;
--vis-dark-chord-diagram-link-fill-color: #575c65;
}
Expand Down Expand Up @@ -66,6 +67,7 @@ export const labelText = css`
dominant-baseline: middle;
user-select: none;
font-size: var(--vis-chord-diagram-label-text-font-size);
> textPath {
dominant-baseline: central;
Expand Down

0 comments on commit ef6c472

Please sign in to comment.