kdl-org / kdl-org.github.io Goto Github PK
View Code? Open in Web Editor NEWHere's where kdl.dev is hosted from.
Home Page: https://kdl.dev
Here's where kdl.dev is hosted from.
Home Page: https://kdl.dev
TailwindCSS has a directive called @apply
that takes a list of utility classes and generates the CSS that it would output, so you can use a class. You can see it here:
kdl-org.github.io/src/styles/global.css
Lines 5 to 7 in 1f8369a
However, I've heard that it is discouraged, and using the template language's component abstraction is better. Since we're using HTML (and Liquid) here, there isn't a place that is obvious to me for this component abstraction. There is Web Components, and full-fledged UI libraries like React/Vue/etc, but that all seems overkill.
For now, seems like @apply
does the trick, but I wanted to open this question up to in case someone has some experience in this.
@zkat I noticed that your comparison tweets tend to get a lot of engagement. What would you think about adding some side-by-side comparisons with JSON, TOML, YAML, XML, HTML, etc? Maybe with some well-known files like package.json
, tsconfig.json
, cargo.toml
, GitHub Actions, etc.
Looks like we need to update at least the identifier syntax: https://twitter.com/horsemankukka/status/1437114703164104707
I am not a front-end dev in any sense, other wise I'd submit a PR. I took a quick look around but didn't see how to change this behavior:
I find these backticks distracting, because it makes it harder to understand what is syntax. Is there something that could be tweaked so that it isn't generated this way?
Heya! I did a bit of an overhaul/cleanup of the README, and the website needs updating. It's a pretty big change, but I don't expect to be doing any more major rewrites for a bit. How should we go about doing this? Do you want me to make the changes and put up a PR, split up the work, or what? :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.