Shopify is one of the largest e-commerce platforms on the planet, with a massive 20% global market share of the top 1 million websites using eComme...
For further actions, you may consider blocking this person and/or reporting abuse
Just a note in case anyone has the same issue, I had to run:
brew install shopify/shopify/themekitIn place of:
brew install theme kitI’ll make a note of that in the post - Thank you 🤘
The correct command is
brew install themekit, without the space. This works correctly.Nice, have been looking into something like this for an upcoming project, some useful info in here.
I was wondering, do you know of any ways to use React for a shopify theme with their theme-kit? The documentation I’ve been going through so far hasn’t been that useful for what I’m hoping to do. Perhaps this will end up being an easier approach for me to take?
So I use Vue rather than React but I’m planning on doing a little walk through - It’ll be a similar process to this and you could definitely use the same approach for React. Once you’re working locally with Theme Kit you can treat it almost like any other project, just install React via npm and get a build tool like Webpack etc up. I think the Vue walk through I’m planning to do should be easily transferable to React.
Oh amazing, thanks. I’ll definitely keep an eye out for that, look forward to it! 🤘🏻
Nice writeup on Tailwind + Shopify themes. One area where Tailwind's utility approach really shines is implementing consistent hover effects on brand/partner logo grids - something a lot of Shopify themes handle inconsistently.
A common pattern is displaying trusted brands or partner logos in a row or grid. The typical approach is to show them in grayscale by default and restore color on hover, which keeps the section visually clean without looking empty:
With Tailwind you can express this as
grayscale opacity-60 hover:grayscale-0 hover:opacity-100 transition-all duration-300directly on the img element. Clean and consistent across the theme.The effect also works well for testimonial logos, press mentions sections, and payment method icons - anywhere you want the logos present but not visually competing with your primary CTAs.
I actually built a Shopify app (Eye Catching - apps.shopify.com/beautiful-brands) that adds this exact grayscale-to-color effect as a configurable section, for merchants who want it without touching theme code. Disclosure: I'm the developer. But for anyone building themes directly in Tailwind, the utility approach is definitely the right way to handle it natively.
Use some pics!
Hi Banji, which part of this would you find easier to follow with pictures?
That would be your choice, But I suggest to use some pics in your posts!
Keep it up
Happy Coding Liam Hall
Thanks for this!
Thanks for this! I have been getting back into Shopify after helping another dev with some theme tweaking and have really come to enjoy using TailwindCSS. Gonna have to take this for a spin.
This is perfect! Simplest way I've seen to use tailwind. Thanks for the great guide!
Liam, I'm starting a shopify project soon. are you interested in working on it using tailwind?
Hi George, I’d love to hear more about this project, please drop me an email at hello@wearethreebears.co.uk