Una 🇺🇦
31.2K posts

Una 🇺🇦
@Una
Building the web you build on @GoogleChrome ✨🎨 Web Experience DevRel Lead 🦄 @csswg + @openuicg. #CSSPodcast host 🎬 https://t.co/J9Y8U6Bz4f
Brooklyn, NY Katılım Kasım 2008
1.4K Takip Edilen88K Takipçiler
Una 🇺🇦 retweetledi

Does anyone @Shopify know why you can't sell things in fractions (i.e. 0.5, 0.25)?
Seems like a basic platform feature but apparently the only way to do this is via paid apps that are expensive and don't work well.
The fabric/sewing community is very upset about this. WHY is this an issue?
English

The answer, unfortunately, is that computers are bad at math and don't like fractions
Una 🇺🇦@Una
Does anyone @Shopify know why you can't sell things in fractions (i.e. 0.5, 0.25)? Seems like a basic platform feature but apparently the only way to do this is via paid apps that are expensive and don't work well. The fabric/sewing community is very upset about this. WHY is this an issue?
English


@Una @RohitPaulK @Shopify Store owners can simply charge $10 per 1/3rd of a yard. Or $10 per quarter yard, or any other unit. It just means that if you buy "2" of them it's no longer 2 yards, it's 2 units (so maybe 2/3 or 2/10 or whatever other unit)
English


Yeah some stores do this but it’s not always super clear.
I.e if they say in the fine print that the amount is for 1/3 of a yard and I order 2. If I didn’t catch the fine print I would expect 2 yards and only 2/3 shows up (already cut) which can be frustrating.
The price could be $9 for that 1/3 but it’s not unusual to buy whole yards for $9, just as it isn’t unusual to buy them for $27.
English

@RohitPaulK @Shopify This is particularly in the dialog because the biggest fabric store chain in the US (JoAnne Fabrics) closed recently and folks have turned more to online shopping.
(So no, not satire)
English

Yes which sucks if you want to buy things like fabric because each unit (yard) can be like $30/yard. If you need 1.2 yards you're paying $24 extra for volume you don't need. This frustrates consumers who feel store owners are just money-grabbing, but I recently learned that's not why, and the store owners feel like their hands are tied.
English

@argyleink @Shopify Fraction quantities, i.e. buying 1.5 yards of fabric, or 1/4 yard of lace, etc.
English
Una 🇺🇦 retweetledi

📝 New CSS Article!
I wrote about border-shape. A super powerful feature! You might think I'm exaggerating but I am not.
css-tricks.com/get-ready-for-…
This is just a tiny overview of its potential. Stay tuned for more articles/demos that will blow your mind!
English

I used to love to watch these kinds of videos where experienced devs would show off new technologies and patterns.
I fell that I don't do it that much, but also the whole industry.
youtube.com/watch?v=8FSLsV…

YouTube
English
Una 🇺🇦 retweetledi

Hey Designers! This talk by @Una on modern UI patterns for a better user experience on the web during CSS Day 2026 is definitely worth watching.⭐️
youtu.be/8FSLsVAJj2w?si…

YouTube
English

Because there were about three years of arguments and discussions about the contrast algorithm to use and ultimately it landed on WCAG2, which nobody even likes because it doesn’t work well for mid tones. But with an asterisk that developers will be able to choose the contrast algorithm in the future, but it’s not really defined yet
English

@kentcdodds @Una How come light-dark() took so long to make it into CSS? It’s the most important feature for any business out there 😎
English

This is rad @una! una.im/modern-css-the…
So glad to see this make it into the platform.
English

@Una One thing I would probably add is to persist the state across reloads and multiple pages using localStorage unless there is a prettier way to solve this.
English

With style queries now in all browsers, here's my take on the best way to do dynamic color theming with modern CSS:
- register a custom property
- light-dark() to style based on color-scheme
- contrast-color() to auto-pick black or white for foreground text on any background
- style queries to branch into custom color pallets based on contrast-color
Some other fun tricks in here too like using light-dark() with transparent to swap between shadows and glowy borders
Blog post ⬇️⬇️

English

Agentic shopping demos are the Soylent of AI 😂
This is so spot on @syntaxfm
youtube.com/watch?v=obQvDM…

YouTube
English



