Raindrop.io Bookmarks 06/02/2022
著
- The balance has shifted away from SPAs | Read the Tea Leaves
"I think what's less discussed, though, is how the context has changed in recent years to give MPAs more of an upper hand against SPAs."
- Single Page Applications - TPGi
"Consider seriously whether using a SPA will benefit your users. Does using a SPA solve a specific problem? If not, reconsider. A multi-page website presents far fewer accessibility issues and those are mostly much easier to address."
- Tokens as intents
"What Nathan calls concepts in his post is the basis behind the naming convention that I've been calling intents since 2017 which is a term coined by Joe Schmitt. The idea is that the token name should describe an intention, not the value."
- Naming colors in design systems
"Use a name + value pairing model as much as possible. It's much more extensible and will allow for future changes with minimal disruption. A standard method is to use a combination of color family classifiers (like green or gray) paired with a brightness or contrast value scale (10 is lighter and 100 is darker)."
- The Surprising Truth About Pixels and Accessibility: should I use pixels or rems?
"This is why we should use relative units like rem and em for text size. It gives the user the ability to redefine their value, to suit their needs."
- :where() :is() :has()? New CSS selectors that make your life easier | Polypane, The browser for ambitious developers
"It was created to solve this issue of specificity. It works exactly the same as the :is() pseudo class with one key difference: its specificity will always resolve to (0,0,0), regardless of the selectors inside it."
- Orion Browser by Kagi
"Built on WebKit, Orion gives you a fast, smooth and lightweight browsing experience, without holding your device's battery hostage."