Skip to content

Commit

Permalink
Just needed a change to the purge
Browse files Browse the repository at this point in the history
  • Loading branch information
samrobbins85 committed Dec 24, 2020
1 parent 8a47fc1 commit d8d498d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
22 changes: 12 additions & 10 deletions plugin/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -419,15 +419,6 @@ var base_output = {
'url("https://fonts.cdnfonts.com/s/18083/cmuntt.woff") format("woff")',
},
],
".latex-style": {
fontFamily: "Latin Modern",
lineHeight: "1.8",
maxWidth: "80ch",
margin: "0 auto",
padding: "2rem 1.25rem",
counterReset: "theorem definition sidenote-counter lemma",
color: "hsl(0, 5%, 10%)",
},
...prefix(base, ".latex-style "),
};

Expand Down Expand Up @@ -568,7 +559,18 @@ const syntax_components = {
},
};

var components_output = prefix(components, ".latex-style ");
var components_output = {
".latex-style": {
fontFamily: "Latin Modern",
lineHeight: "1.8",
maxWidth: "80ch",
margin: "0 auto",
padding: "2rem 1.25rem",
counterReset: "theorem definition sidenote-counter lemma",
color: "hsl(0, 5%, 10%)",
},
...prefix(components, ".latex-style "),
};

module.exports = plugin(function ({
addBase,
Expand Down
2 changes: 1 addition & 1 deletion tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
purge: {
content: ["./components/**/*.{js,ts,jsx,tsx}", "./pages/**/*.{js,mdx}"],
content: ["./components/**/*.{js,ts,jsx,tsx}", "./pages/**/*.{js,md}"],
layers: ["base", "utilities"],
},
theme: {
Expand Down

0 comments on commit d8d498d

Please sign in to comment.