Skip to content

Commit

Permalink
fix: remove global styles from wpds-tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
artmsilva committed Apr 9, 2024
1 parent 494ec35 commit 2886b69
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ui/tokens/scripts/build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { renderToString } from "react-dom/server.js";
import { getCssText, darkTheme } from "@washingtonpost/wpds-theme";
import fs from "fs";

// Needed in order for the react render (with stitches) to generate the dark color tokens
// eslint-disable-next-line testing-library/render-result-naming-convention
const css = renderToString(
React.createElement("style", {
Expand Down

0 comments on commit 2886b69

Please sign in to comment.