-
Notifications
You must be signed in to change notification settings - Fork 218
docs: tailwind intellisense config classFunctions suggestion #821
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
base: main
Are you sure you want to change the base?
Conversation
You can add the config to this repository as well in
|
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.
Here is my feedback, please have a look
</a> | ||
plugin, it is suggested to add the | ||
<code class="${hlmCode}">hlm</code> | ||
function to the tailwindCSS.classFunctions in either your workspace settings |
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.
You can link to the definition for tailwindCSS.classFunctions
apps/app/src/app/pages/(documentation)/documentation/(ui)/installation.page.ts
Outdated
Show resolved
Hide resolved
class="mt-4" | ||
code=" | ||
// settings.json | ||
'tailwindCSS.classFunctions': ['hlm'], |
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.
Add cva
as well, you can also link to the cva page as well https://cva.style/docs/getting-started/installation#tailwind-css
|
||
<spartan-code | ||
code=" | ||
// your-workspace.vscode-workspace |
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.
Which file is it above you wrote .code-workspace and here its .vscode-workspace? You can check the recommendation from cva as well https://cva.style/docs/getting-started/installation#intellisense.
I think adding it to the settings.json
would be the best recommendation. It will either be the global settings.json
or it may be in the .vscode/settings.json
.
@@ -112,6 +112,53 @@ module.exports = { | |||
|
|||
<spartan-code class="mt-4" code="@import '@spartan-ng/brain/hlm-tailwind-preset.css';" /> | |||
|
|||
<p class="${hlmP}"> | |||
If you are using VSCode and the |
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.
Add a h3 tag above with IntelliSense
with an id for the table of content.
…allation.page.ts Co-authored-by: Marc Stammerjohann <[email protected]>
PR Checklist
Please check if your PR fulfills the following requirements:
guidelines: https://github.com/spartan-ng/spartan/blob/main/CONTRIBUTING.md#-commit-message-guidelines
PR Type
What kind of change does this PR introduce?
Which package are you modifying?
Primitives
Others
What is the current behavior?
Closes #
What is the new behavior?
Does this PR introduce a breaking change?
Other information