HackerTrans
TopNewTrendsCommentsPastAskShowJobs

SirHound

no profile record

Submissions

Show HN: CSS Studio. Design by hand, code by agent

cssstudio.ai
175 points·by SirHound·3 maanden geleden·107 comments

Interview: David Haz, Creator of React Bits

motion.dev
1 points·by SirHound·6 maanden geleden·0 comments

The Web Animation Performance Tier List

motion.dev
3 points·by SirHound·8 maanden geleden·0 comments

comments

SirHound
·3 maanden geleden·discuss
It works with Cursor and Windsurf not without them
SirHound
·3 maanden geleden·discuss
Thanks! Redesign incoming based on the comments here so hopefully everything is clearer soon
SirHound
·3 maanden geleden·discuss
It’s a one off fee for lifetime updates
SirHound
·3 maanden geleden·discuss
Haiku is fastest and also quite good at this! Because the edits are quite accurate in terms of its this element with this value
SirHound
·3 maanden geleden·discuss
Works on any stack
SirHound
·3 maanden geleden·discuss
Is it? I started my career as a magazine designer, then web designer, then web developer. Seems natural from my perspective that my design skills have atrophied but im still visually inclined.
SirHound
·3 maanden geleden·discuss
I think it's a good point. I'm going to spend a bit more time on the design - and if sales continue well then I can look at getting a designer.
SirHound
·3 maanden geleden·discuss
Fixed the dates, and actually removed the Motion deeplink as I can see it was confusing. Thanks
SirHound
·3 maanden geleden·discuss
Oh. Hmm. I suppose I shouldn't deeplink into the Motion website. I can see why this is confusing. Also, re the dates. Looks to be a Framer bug that I will contact them about. Thanks.
SirHound
·3 maanden geleden·discuss
It only knows about changes from the tool. I started this project by attempting to listen to changes from DevTools via a Mutation Observer but it was extremely noisy on many sites.

I haven't added display and visibility yet, it's on the list, but you would simply toggle them back. There is an element selector sidebar so they're not going anywhere.
SirHound
·3 maanden geleden·discuss
Yeah I mean you can basically achieve this set up even with frameworks, if you're using stylesheets, but it's the copy/pasting and finding source code that is usually the pain. With this you just press apply (or enable auto-apply) and your agent gets to work. You can also edit the content, add/remove/reorder elements etc, I don't know how good the browser dev tools are at writing all that back though.
SirHound
·3 maanden geleden·discuss
Glad you enjoyed it! Thanks for the feedback. In fairness some of the the things like a video on the homepage are there as a response from initial comments in this thread.
SirHound
·3 maanden geleden·discuss
Yeah about an hour before you sent this I updated the homepage with a video.
SirHound
·3 maanden geleden·discuss
If you make the page small and then make some changes, it knows you're doing so in a small breakpoint. So if you have mobile-specific styles and you edit some - these are going to remain mobile specific. I am working (right this second) on a canvas mode where you can see breakpoints side by side which will make this a bit easier than physically making your screen small.
SirHound
·3 maanden geleden·discuss
Sorry, I mean to say the agent does figure out the right place, based on your technical decisions. So if you want to use classes it isn't going to start adding style attributes. The skill contains instructions about following the existing setup within the codebase.
SirHound
·3 maanden geleden·discuss
What blog posts?
SirHound
·3 maanden geleden·discuss
That's a great idea, I'll look into doing a more long form demonstration
SirHound
·3 maanden geleden·discuss
You can apply the token directly but of course this isn't as nice as freeform editing. I suspect the pixel value would be used because the intention probably isn't to change the root variable (as there's an explicit option for that). I'm thinking of making a token mode where we limit you to the values of available CSS variables or Tailwind classes (perhaps unless you hold shift or something)
SirHound
·3 maanden geleden·discuss
Thanks for your feedback!

I just pushed a video to the homepage, there was already a live demo though, it was actually quite simple to implement (mostly gate a few things). There was a bit of a fear that agent somewhere out there would still be listening though...

I think a diff is an excellent idea. Perhaps with the ability to remove specific changes and switch before/after.

In terms of Tailwind, I'm thinking about a token/strict mode which would detect Tailwind classes and CSS variables. It wouldn't expose these in the sense you had to apply each one manually, but if you were for instance changing padding, it would snap between all your pre-defined tokens.

For the draw feature I think I'm just heavily Framer-pilled and it lets you pre-determine a rough width and height within a stack. But perhaps there's space for a click-to-add also with minimum dimensions.
SirHound
·3 maanden geleden·discuss
Just put out a fix for this, thanks