Added components styles to docusaurus

This commit is contained in:
Ozzie Gooen 2022-06-03 15:59:29 -07:00
parent 4bad537a5d
commit f276bc8d72
2 changed files with 3 additions and 6 deletions

View File

@ -20,7 +20,6 @@ const config = {
projectName: "squiggle", // Usually your repo name. projectName: "squiggle", // Usually your repo name.
plugins: [ plugins: [
"docusaurus-tailwindcss",
() => ({ () => ({
configureWebpack(config, isServer, utils, content) { configureWebpack(config, isServer, utils, content) {
return { return {
@ -61,7 +60,7 @@ const config = {
"https://github.com/quantified-uncertainty/squiggle/tree/develop/packages/website/", "https://github.com/quantified-uncertainty/squiggle/tree/develop/packages/website/",
}, },
theme: { theme: {
customCss: require.resolve("./src/css/custom.css"), customCss: [require.resolve("./src/css/custom.css")],
}, },
}), }),
], ],

File diff suppressed because one or more lines are too long