-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add tailwind css #98
Add tailwind css #98
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ | |
node_modules/ | ||
book | ||
.DS_Store | ||
css/tailwind.css | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
nodejs 22.11.0 |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,15 @@ multilingual = false | |
src = "pages" | ||
title = "Frequency Documentation" | ||
|
||
[preprocessor.local] | ||
command = "node preprocessor.mjs" | ||
[preprocessor.button-links] | ||
command = "node preprocessors/button-links.mjs" | ||
|
||
[preprocessor.svg-embed] | ||
command = "node preprocessors/svg-embed.mjs" | ||
|
||
[preprocessor.tailwind] | ||
renderers = ["html"] | ||
command = 'node preprocessors/noop-npx.mjs "npx -y tailwindcss -i ./theme/css/tailwind.css -o ./css/tailwind.css"' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why |
||
|
||
[output.html] | ||
no-section-label = true | ||
|
@@ -16,9 +23,9 @@ git-repository-url = "https://github.com/frequency-chain/docs" | |
edit-url-template = "https://github.com/frequency-chain/docs/blob/main/{path}" | ||
preferred-dark-theme = "coal" | ||
additional-css = [ | ||
"css/tailwind.css", | ||
"css/side-nav.css", | ||
"css/header.css", | ||
"css/footer.css", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. All tailwind standard now, so almost copy paste from svelte generated code. |
||
"css/extended.css", | ||
"css/highlight.css", | ||
"css/highlight-dark.css", | ||
|
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generated file