I have `theme watch --allow-live` running and yet when I look at my store, which is using the theme I'm developing, I don't see any updates to the CSS or to the markup.
This is my first time creating a theme.
After "theme watch -- allow-live" you need to make changes and SAVE. The logs will appear in your PowerShell or where you added the theme watch command. Post those logs here so I can see what's going on in your theme kit.
Hi Umair,
It turns out the reason things weren't updating is because there was an "error" in my CSS.
I commented out the code that was causing a problem and now it works. There is a post saying that Sass is being deprecated and to use CSS custom properties instead, yet the default theme generated by themekit still comes with an .scss file and using the native CSS variables generated an error??
:root {
// --black: rgb(0,0,0);
// --white: rgb(255,255,255);
// --cream: #F2F0EA;
// --tiny: 8px;
}
I've never used CSS variables, I still use scss. Maybe you can try updating your theme kit?
User | Count |
---|---|
815 | |
131 | |
89 | |
72 | |
68 |