This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-01-07
Channels
- # announcements (2)
- # beginners (30)
- # calva (7)
- # cherry (15)
- # clerk (21)
- # clojure (1)
- # clojure-losangeles (12)
- # clojure-norway (1)
- # clojure-spec (3)
- # clojurescript (31)
- # conjure (2)
- # cursive (44)
- # datomic (13)
- # emacs (13)
- # honeysql (15)
- # hyperfiddle (7)
- # malli (2)
- # off-topic (17)
- # overtone (6)
- # reitit (7)
- # ring (58)
- # shadow-cljs (12)
- # squint (14)
- # tools-deps (14)
- # web-security (1)
- # xtdb (29)
Although I was an IntelliJ IDEA user for many years I've missed the moment when it started supporting the background image (so probably some other people missed that feature too) Example and instructions here: https://blog.andreyfadeev.com/p/background-image-in-intellij-idea
Oh yeah, that's an ancient feature. :) Soon to be 8 years old. FWIW, I ended up disabling it after a couple of months of using it.
Interesting.
FYI: You can make Emacs show background by adjusting the frame’s alpha. Here are couple of Emacs Lisp functions to set the alpha to 90% (show a little of the background), and then back to 100% (opaque):
(defun yic-frame-alpha-transparent ()
"Make this frame transparent."
(interactive)
(set-frame-parameter (selected-frame) 'alpha '(90 . 90)))
(defun yic-frame-alpha-opaque ()
"Make this frame opaque."
(interactive)
(set-frame-parameter (selected-frame) 'alpha '(100 . 100)))
I'm wondering if people have a preferred library for CSS resets/normalization (broadly speaking). `normalize.css` hasn't been updated in quite some time, which isn't necessarily a bad thing if modern browsers have stabilized on a consistent set of conventions. (EDIT: normalize.css has a https://github.com/csstools/normalize.css/) I've used https://github.com/jensimmons/cssremedy in the past, but by its own documentation it's not ready to be used "off the shelf" without customization. I also found https://github.com/elad2412/the-new-css-reset, which primarily targets modern browsers. My use case is static HTML, and I don't intend to use anything like Tailwind because I prefer to have more direct control over visual presentation of elements.
> because I prefer to have more direct control over visual presentation of elements I think there's a lot of misunderstanding about what tailwind is here. Using tailwind is no different to writing CSS by hand in terms of visual presentation
I have used Tailwind, and personally found that I spent a lot of time learning a redundant vocabulary for base-level CSS terms that I would frequently override anyway. I would prefer to eliminate the mental overhead and work directly with web platform defaults. My question is about CSS resets, not about the merits of Tailwind.
maybe helpful, maybe not, but one way I find things like this is by searching "awesome x" and going to the github projects that come up https://github.com/awesome-css-group/awesome-css#reset-and-normalize
there are often multiple that qualify, like https://github.com/troxler/awesome-css-frameworks#base--reset--normalize
but as for preference I pick a new one every time 🙃
I find myself in the same boat ¯\(ツ)/¯ - looks like sanitize.css is most akin to what I had envisioned and appears pretty authoritative. Thanks for pointing me in the right direction!
I like the way Andy Bell approaches web design, so I usually see what he has to say first. In this case: https://piccalil.li/blog/a-more-modern-css-reset/
i've always used https://meyerweb.com/eric/tools/css/reset/ but these other resources are interesting... especially remedy's changes to quotes
It also appears I incorrectly concluded that normalize.css isn't being updated: its up-to-date home is https://github.com/csstools/normalize.css. (compare 50k+ stars on the original repo with <500 on the current one!)
Riffing off the reference to Andy Bell. I used the system Heydon Pickering and Andy Bell call "every-layout". @UFTRLDZEW Here's the (hand-rolled) https://github.com/adityaathalye/shite/blob/master/sources/static/css/style.css for my static https://evalapply.org, using the "every-layout" system. I haven't found need for a "reset" CSS. It favours composition over inheritance, and uses CSS as a constraints programming language. Let's just say I'm a fan.
I've been using https://www.joshwcomeau.com/css/custom-css-reset/
as a sort-of reset, sort-of theme, where really I just want things to not look like trash when i'm building a simple or throwaway site, I use water.css https://watercss.kognise.dev/