Merge pull request #625 from quantified-uncertainty/website-tailwind

Add tailwindcss to website
This commit is contained in:
Ozzie Gooen 2022-05-31 15:10:35 -07:00 committed by GitHub
commit 52521230a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 833 additions and 965 deletions

View File

@ -20,6 +20,7 @@ const config = {
projectName: "squiggle", // Usually your repo name.
plugins: [
"docusaurus-tailwindcss",
() => ({
configureWebpack(config, isServer, utils, content) {
return {

View File

@ -16,12 +16,13 @@
"@docusaurus/preset-classic": "2.0.0-beta.21",
"@quri/squiggle-components": "^0.2.20",
"clsx": "^1.1.1",
"docusaurus-tailwindcss": "^0.1.0",
"hast-util-is-element": "2.1.2",
"prism-react-renderer": "^1.3.3",
"react": "^18.1.0",
"react-dom": "^18.1.0",
"remark-math": "^3",
"rehype-katex": "^5",
"hast-util-is-element": "2.1.2"
"remark-math": "^3"
},
"browserslist": {
"production": [

View File

@ -4,6 +4,10 @@
* work well for content-centric websites.
*/
@tailwind base;
@tailwind components;
@tailwind utilities;
/* You can override the default Infima variables here. */
:root {
--ifm-color-primary: #2488df;

1788
yarn.lock

File diff suppressed because it is too large Load Diff