Twitxy Saved

Derek Briggs

Verified account Shopify

@PixelJanitor

Design + Code @Shopify. Co-host @shape_fm. Angel Investor.
Colorado, USA pixeljanitor.com Joined July 2010
693 Following 11K Followers 10K Posts

Latest posts 5

Derek Briggs Verified account @PixelJanitor
It's been absolutely *thrilling* to team up with with Michael and the Remix team lately. Contributing by introducing new tooling and api's based on the level of quality we're achieving around the software we're building with it has unlocked a whole new level of excitement.
MJ Verified account @mjackson 4d
Remix 3 is getting really, really good. Lots of small refinements in this release. And our release cadence is increasing quickly.
View quoted post on X
0 replies 3 reposts 28 likes 3.6K views View on X
Derek Briggs Verified account @PixelJanitor
Getting so much amazing feedback on this already. Thanks so much to Ridd and the dive team for having me back again ❤️

If you want to hear more around how we're approaching the next generation of interface innovation at @Shopify, check it out:
Ridd 🤿 Verified account @ridd_design 6d
this week's episode with @PixelJanitor is all about scaling craft + impact as an IC

just wait until you see some of the design details he screen-shares 😍

youtube.com/watch?v=r4IW73…
View quoted post on X
12 replies 3 reposts 88 likes 4.4K views View on X
Derek Briggs Verified account @PixelJanitor
This is why you use motiondev. Because Matt thinks about all the things so that you don’t have to.
Matt Perry @mattgperry Oct 30
Transform/clipPath/filter/opacity animations aren't a magic bullet for great performance.

They can run in (essentially) three modes. Paint-triggering, compositor rendering, and compositor animation. When and why each type of animation runs is pretty confusing 🧵
View quoted post on X
1 replies 1 reposts 67 likes 4.5K views View on X
Derek Briggs Verified account @PixelJanitor
Highly recommend. Did this recently with shop.com and made font assets 74% smaller and 80% fewer font requests. Easy improvement with easy gains.
shop.com Shop - Shopping designed around you Shop from top brands, earn exclusive rewards, and track your packages all in one place. Now available on iOS, Android, and web.
Shu Verified account @shuding Oct 29
Tell your agent to optimize your site’s web fonts. I’m seeing a huge difference on my blog.

Full prompt:

Make this site's web fonts load faster without changing how anything looks. Shrink font bytes as far as possible, keep rendering identical, and prove it with before/after pixel diffs. Treat any visual change as a regression unless I approve it. If an optimization would change rendering, tell me what it saves and what it changes, and keep the site looking the same by default. Keep the current loading behavior: don't touch font-display or fallback fonts. Don't add font processing to the build; write a script I run by hand, commit its output, and note when it needs rerunning. First measure the current state: each font file's size, glyph count, variable axes, OpenType features and hinting, plus font bytes per page and what each page preloads. Then find out what the site actually uses, checking inline component styles as well as stylesheets: which characters appear in the content, which axis values and weights each font needs (including one-off overrides and bold inside italics), which OpenType features are turned on, and CSS side effects like `hyphens: auto` using the U+2010 hyphen. Cut each font down to that. Keep the used characters plus Latin-1 and Latin Extended-A, and leave CJK to system fonts if that's how it renders today. Limit variable axes to the ranges in use, and only fix an axis at one value if nothing overrides it. Drop unused OpenType features and hinting. Split each font into two files. A small core with ASCII and the punctuation most pages use (curly quotes, dashes, ellipsis) gets preloaded. An extended file behind `unicode-range` only downloads when a page needs one of its characters. Each file's `unicode-range` should list only characters it actually contains. Watch out for a few things. A generated fallback face between the core and extended files will draw the extended characters before the real font does. Fonts with a Reserved Font Name under the OFL must be renamed internally once subset. Check the generated files, since font tools have quirks. Before calling it done, build a baseline from the same content and pixel-diff before and after on pages with code, italics, accented characters, components with their own font settings, and CJK. Explain every visible difference: content change, regression to fix, or harmless sub-pixel rounding. Re-measure bytes per page and confirm the extended files only load where needed. When you're done, tell me the bytes before and after per font and per page, the pixel-diff results, anywhere you deviated from what I asked and what it cost, and how to rerun the script. Later, it may be worth embedding the core font in the global stylesheet and precaching the extended files after idle.
View quoted post on X