feat: enable tailwind css option for ui styling #85
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.
I chose a pretty simple way to handle this. I can also add a text input in the settings for a cdn link if users want to choose their specific tailwind version that gets loaded or a dropdown select with various versions. Here I have just hardcoded the most recent stable version from the cdn. Not sure how well this will play if the cdn is ever unavailable, or the user if offline. for this case I can download a copy of the minified cdn script and save it somewhere in the project files, though these are just some thoughts I am having now, while writing this. Im using this forked version from dev in my own vault, Im just getting around to rebuilding it after having come across this plugin. I was a heavy dataview user mid last year, but my extensive querying ended up rendering my first vault unusable and I fell out of practice.