Is Shopoify's Polaris Used For Styling Themes Or Only For Creating Custom/Public Apps?
It's not clear to me whether a designer would adhere to Polaris specs if they were developing a custom theme for the Shopify store. Would they base it off of the file structure in Shopify sections, snippets, etc. or does Polaris provide something better?
Answer
Polaris is used only for Apps since it provides a similar style to the Shopify admin.
That said you can use it in a theme if you want to use similar styled elements as the admin, but coding a whole theme using Polaris will look a little back-end if you understand what I mean.
The idea of Polaris is to make Apps look similar to the Shopify admin design so that users are not faced with the color of the rainbow when they open a random app in their shopify panel.
All Polaris design guidelines and components are written for Apps and not themes.
So yes, you can use it on a theme, but No I don't recommend it.
Related Questions
- → Does anyone know how to solve IP canonicalization with shopify platform?
- → How can I add a featured image from a blog post to my homepage on shopify
- → Shopify - Get list of product from a specific collection
- → Shopify webhooks not wanted
- → Comparing two large files are taking over four hours
- → Need "add to cart" button price to update with correct amount depending on what checkbox is checked
- → How to append a variable inside another vaiable name in liquid html
- → GET /admin/webhooks.json returns an empty array
- → Javascript function not getting executed properly
- → How to give border to to current displaying border
- → Shopify background image
- → Dynamic Attribute Names in Shopify Cart
- → What after added shopify store into shipstation