Open kerns opened 4 years ago
This is definitely interesting and something we have thought about doing for a while. Would your implementation of this be something you would like to share with us?
Absolutely. Only, I would write this differently I think in a greenfield scenario. I was really just adapting to the code model already in place ...and I took some shortcuts. 😬 But, well ...just let me know how I can help.
My apologies for the slow response time. Totally understandable with the shortcuts, it would just be interesting and helpful to see your implementation to get an external perspective :) Do you have a fork of this or another preferred way for us to have a look?
No worries. I will think about the easiest way to hand-off in light of my schedule at the moment. I am also using some Sass/.scss for the generation of lightswitches... it could be nice that you include these in your dist as well. I will look at it as soon as I can!
Yes. That would be very nice. Looking forward to it!
Yes. That would be very nice. Looking forward to it!
Let's setup a playground some place using TW 2.0. I can rebuild the same or similar design, one that is also dark mode compatible.
Yes. That would be very nice. Looking forward to it!
Let's setup a playground some place using TW 2.0. I can rebuild the same or similar design, one that is also dark mode compatible.
Would perhaps a repository fork with a pull request suffice? https://gist.github.com/Chaser324/ce0505fbed06b947d962
This is a great idea to make available within the resource folder of the plugin (where script.js & style.css rest) A developer can than choose to use a tailwind build or not at the site settings > template
I would not recommend to make tailwind a default because you lose agility when hooking into just 1 framework
Just offering to work with you on a new design implementation in tailwind that completely rethinks the way we interface with the javascript layer, ...with an eye toward making future upgrades (or other layouts) much, much easier to roll-out. So a more concrete/disciplined abstraction of function and layout, ...if it's possible.
This is still a little rough but it's from my very much working implementation. It's a bottom bar modal that also employs a full screen overlay to prevent interaction with the site until some form of consent – this could be an option.
The tab is a small button at the bottom...
That opens this full screen with details and options for each group...
Maybe we can work on something more in this direction in the future. I know a lot of developers would be delighted to see something tailwind based.