Skip to content

Commit

Permalink
✨ (facet) change facet label color
Browse files Browse the repository at this point in the history
  • Loading branch information
sophiamersmann committed Nov 12, 2024
1 parent 1e07f96 commit 05a529f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import {
} from "@ourworldindata/utils"
import { shortenForTargetWidth } from "@ourworldindata/components"
import { action, computed, observable } from "mobx"
import { BASE_FONT_SIZE } from "../core/GrapherConstants"
import { BASE_FONT_SIZE, GRAPHER_DARK_TEXT } from "../core/GrapherConstants"
import {
ChartTypeName,
FacetAxisDomain,
Expand Down Expand Up @@ -838,7 +838,7 @@ export class FacetChart
<text
x={contentBounds.x}
y={contentBounds.top - labelPadding}
fill={"#1d3d63"}
fill={GRAPHER_DARK_TEXT}
fontSize={fontSize}
style={{ fontWeight: 700 }}
>
Expand Down

0 comments on commit 05a529f

Please sign in to comment.