When building components in Astro, you might not want to use Astro files.
How has the week been for you?
I’ve been working pretty hard on my component library over the last few days, mostly spend pondering about how to make components that can be easily restyled with CSS (and even Tailwind).
I don’t have a complete picture yet, but I have a pretty good idea of what I’ll be able to create. I’ve posted some updates over on Twitter if you’re keen to find out more.
Here’s a sneak peek: Creating text gradients can be as easy as adding a gradient class, a text-gradient class, and the gradients you want to use.
When building components in Astro, you might not want to use Astro files
When I started building with Astro, I thought most of my components should be built with Astro files.
But after a couple of months building with Astro, my thinking has changed. I no longer build most of my components with astro files. I mostly use Svelte files instead.
Today I want to share with you why I do this — and perhaps you’ll find it useful as you explore Astro and the possibilities it gives you.
The Freelancing Workshop is now complete
I’ve hosted 6 workshops on freelancing over the past 6 weeks and we’ve just had our final session today. Next week, we’re starting a new topic.
I’m not sure what to cover yet, but I’m thinking about one of these.
- Designing for developers
- Building with Astro (or other Static Site Generators)
- Node, Express, MongoDB
Let me know which one you may be interested in? I’ll announce what I’m gonna talk about next week before our call on Thursday, so you can join Dojo in time if you’re interested in the topic :)
That’s it for this week!
Lots of updates today as you can tell. It’s been a busy week.
What are you up to these few weeks? What sort of content would you like me to write about or teach about? Let me know! Happy to chat :)
Stay awesome,
Zell