-
-
Notifications
You must be signed in to change notification settings - Fork 91
Docusaurus add tailwind #2965
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
AndreasArvidsson
merged 12 commits into
cursorless-dev:main
from
trillium:docusaurus-add-tailwind
Jun 9, 2025
Merged
Docusaurus add tailwind #2965
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
7ca39b3
feat: add tailwindcss dependencies to cursorless-org-docs
trillium d2ad48a
chore: Duplicate tailwind.config from cursorless-org
trillium 36e7471
feat: Create postcss for cursorless-org-docs
trillium 44641c8
feat: Create tailwind plugin for docusaurus in cursorless-org-docs
trillium 9beb4b4
feat: Add tailwind directives to custom.css
trillium 24b37cb
chore: Add tailwind-config as plugin in docusaurus.config
trillium d7b7634
fix: Remove extraneous objects from talewind.config
trillium 1e17213
chore: Update pnpm-lock
trillium c5047a1
chore: Rename file tailwind-config.js -> tailwind-plugin.js
trillium f4c7db4
chore: Resolve prettier error in docusaurus.config.mts
trillium 8217bae
Ran meta updater
AndreasArvidsson 101f736
Update lock file
AndreasArvidsson File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
module.exports = { | ||
plugins: { | ||
tailwindcss: {}, | ||
autoprefixer: {}, | ||
}, | ||
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
module.exports = function tailwindPlugin(context, options) { | ||
return { | ||
name: "tailwind-plugin", | ||
configurePostCss(postcssOptions) { | ||
postcssOptions.plugins.push(require("tailwindcss")); | ||
return postcssOptions; | ||
}, | ||
}; | ||
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import { fontFamily as _fontFamily } from "tailwindcss/defaultTheme"; | ||
|
||
/** @type {import('tailwindcss').Config} */ | ||
export const content = ["./src/**/*.{js,ts,jsx,tsx}"]; | ||
export const corePlugins = { | ||
preflight: false, | ||
}; | ||
export const plugins = []; |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.