Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
krsdcbl
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
krsdcbl
2y ago
if the styles only concern the context you work on, this could easily be done with vanilla scoped inline styles If those declarations are relevant to multiple components within your codebase, then you'll still need to leave the context
32.
▲
by
krsdcbl
2y ago
It definitely isn't, my point is that it seems to be largely is misunderstood as this being it's main purpose. Tailwind is unquestionably accelerating drafting up a custom UI, and also makes this much more approachable for webdevs
33.
▲
by
krsdcbl
2y ago
Curious about your expectations: Do you rely on utility classes only in your workflow, or do you split reusable patterns into "original CSS"-like @apply blocks? And how would you categorise the complexity of the Apps/UIs you
34.
▲
by
krsdcbl
2y ago
This is the core fallacy though, imho: css ITSELF is already the tool for "mapping individual styles" to DOM elements. Oldschool "CSS Frameworks" are libraries intended to bootstrap UI creation by providing abstractions
35.
▲
by
krsdcbl
2y ago
Further down the thread I've left some lengthy comments arguing for exactly this. There are two concerns in defining and maintaining design systems that are (so far) hard or impossible to manage well with vanilla CSS & decoupled st
36.
▲
by
krsdcbl
2y ago
Tbh I never really understood the reason for the existence of css-in-js either. Just do vanilla `<style> @scope { /* your component styles without any naming bloat ... */ } </style>` nested in the markup/jsx,
37.
▲
by
krsdcbl
2y ago
I think this is precisely what I am ranting about. These two usecases is what makes Tailwind so useful and accessible for drafting stuff up, but also bear the pitfalls of tech debt to actually maintain and iterate the design system of compl
38.
▲
by
krsdcbl
2y ago
Exactly my point: it provides an interface to manage design tokens, instead of having to think about those constantly and litter your code with magic values everywhere. But the way this systemisation is integrated throws away most of the ad
39.
▲
by
krsdcbl
2y ago
SASS and LESS have their place, but they are tooling, not replacements The time it took for CSS to progress like this although is on Browser vendors, not on the language - lots of recent features that seem utterly late to the game have exis
40.
▲
by
krsdcbl
2y ago
I think OP is pointing to the irony of using an increasingly verbose and overly complex wrapper API that makes it utterly painful to maintain styles "just" to avoid learning css, which is regarded by many developers as confusing o
41.
▲
by
krsdcbl
2y ago
this makes so much sense - speaking German and English fluently, my brain always defaulted to interpret "ij" in dutch as "ee’" - but it took your comment to make me understand that it's indeed correct, and actually
42.
▲
by
krsdcbl
2y ago
fun fact, this had me realise the term isn't some kind of in joke spawned of a colleague's mind, but actually a meme in the progess of becoming one
43.
▲
by
krsdcbl
2y ago
Death strandings naming is not too far from very common naming conventions throughout history, it's a nicely subtle touch. Glenn Miller, Gregory Porter and Sam Smith just happen to have been more inclined to make music.
44.
▲
by
krsdcbl
2y ago
thanks, just realised I mix those up quite frequently
45.
▲
by
krsdcbl
2y ago
> the privacy fight is just completely unwinnable I'm afraid it is, in the current state of things. Another depressing example is how we collectively seem to accepted to keep referring to "unique fingerprinting and observation
46.
▲
by
krsdcbl
2y ago
Yet this is a single example that actually was resolved, while far from the only inconsistencies and bugs. While from an engine side, the situation with bugs lingering for years, and web features that still can't be used way, way after
47.
▲
by
krsdcbl
2y ago
its a conundrum. WebKit is a great engine, but nearly all good implementations are provided by Corps who's interests have very little to do with providing a good browser, and lots to do with what you do with that browser. Firefox in tu
48.
▲
by
krsdcbl
2y ago
... * proceeds to remind u on next app launch unless you click [yes] *
49.
▲
by
krsdcbl
2y ago
It's fascinating how specific words in different languages can be, yet how they have a range of meaning that still relates them closely. "solstafir" means almost the same, but more precisely translates as "crepuscular ra
50.
▲
by
krsdcbl
2y ago
but it may very well be seen as a mark of English pragmatism, or other more fitting attribution of archetypes, in return. Interpretations of cultural origins of expressions in either language and romantic admiration for the shapes that word
51.
▲
by
krsdcbl
2y ago
I'm rather reading this as a reaction to EU law making standardized usb c mandatory on phones.
52.
▲
by
krsdcbl
2y ago
if the government in question is supportive of said problem entities, they won't "deal" with it If the government in question has free reign on regulating said traffic, it's an avenue for repressions and censorship Other
53.
▲
by
krsdcbl
2y ago
Same, i struggle to find a good explanation. 50 a month is definitely pretty low as well for where i come from, but the median for a family of four would still be around 20-25% of the numbers reported in the article. A couple consuming 1&#x
54.
▲
by
krsdcbl
2y ago
such laws are unlikely to be implemented as temporary measures, which op specifically talks about.
55.
▲
by
krsdcbl
2y ago
I'm asking myself if this might be a good application for a WebGL shader? The issue with "theming to look sketched" is the same as with "hand drawn looking components" - it has to be integrated for your specific DOM
56.
▲
by
krsdcbl
2y ago
I think you're missing an important demographic, people with even minor motoric or visual impairments, who'd face great friction when accessing information, if it weren't for technologies that let us adapt UIs to various phys
57.
▲
by
krsdcbl
2y ago
omw to "consologgi = console.log"
58.
▲
by
krsdcbl
2y ago
It was "fun" when tinkering with some really creative special concern, it was an insufferable pain when your job was finding ways to layout all the "fun" designers envisioned who weren't highly familiar with CSS. Be
59.
▲
by
krsdcbl
2y ago
my thoughts exactly - i think this points to a possible naming issue, since "masonry" is a relatively vague alias that does not really describe the underlying layouting logic, it just became ubiquitous enough for people building w
60.
▲
by
krsdcbl
2y ago
I heavily agree! This take is imho dangerously conflates personal taste and motivation with "should a heavily generalized and clearly purposed layout system be complicated with some magic keyuword options to serve your specific intents
More ›