Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bramus
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
bramus
2y ago
View transitions are the perfect candidate progressive enhancement. If the browser supports it, then the user will get the rich animations. If it doesn’t, then they get what they currently have. And once other browsers starts supporting it,
2.
▲
by
bramus
3y ago
Toggling between schemes is not part of this feature. Easily toggling light/dark is part of the Web Preferences API feature, which is being prototyped in Chrome: https://chromestatus.com/feature/4631882616012800
3.
▲
by
bramus
3y ago
> I will still need to use prefers-dark-mode for some of my changes Can you detail what those would be? I’m curious to know :)
4.
▲
by
bramus
3y ago
(Hi, author of the post/article here) > This solves one tiny aspect of the larger problem in a non-scalable way that will inevitably lead to bloat and inflexibility. It's a really a naive approach that hasn't taken into ac
5.
▲
by
bramus
3y ago
(Hi, author of the post/article here) Yes, `light-dark()` is very specific in what it can do … but it’s not the end goal. The end goal is to have a generic function – something like `schemed-value()` – that can respond to a plentitude
6.
▲
by
bramus
3y ago
Masonry isn’t ready to be shipped as there are still quite a few open spec issues [^1] that need to be resolved first. [^1]: https://github.com/w3c/csswg-drafts/issues?q=is%3Aissue+is%3...
7.
▲
by
bramus
3y ago
(Hi, author of the post here) `grey` is no accepted value for `color-scheme`, so that would make no sense. Note that `light-dark()` is not the end station here, it’s a step towards a future function that (1) would be able to respond to any
8.
▲
by
bramus
3y ago
( Hi, author of the post here) Thanks for catching this. I’ve updated the post to fix this copy-paste error. CanIUse has no entry for it, as this feature is brand new. The PR add the data ( https://github.com/mdn/browser
9.
▲
JavaScript: What’s New in ECMAScript 2018 (ES2018)?
(bram.us)
1 points
by
bramus
9y ago
|
0 comments
10.
▲
by
bramus
14y ago
Same here ... So I created a dynamic version myself: http://bramus.github.com/mercator-puzzle-redux/ :-)