App reviews, troubleshooting, and recommendations
I am developing a Shopify app using Remix Run and React while utilizing Shopify Polaris components.
I want to apply custom CSS styles to a Polaris component without modifying colors, buttons, or fonts.
Is it possible to use custom CSS within a Polaris-based Shopify app? If so, what is the recommended approach to do this while ensuring compatibility with Shopify’s guidelines?
Here is an example of how I am currently applying style:
<div style={{ whiteSpace: "nowrap" }}>
<Text as="p" variant="bodySm" tone="subdued"> 1 of 3 tasks complete </Text>
</div
Is this approach acceptable, or is there a better way to achieve this?
Additionally, if custom CSS is allowed, could you provide guidance on the best practices for adding custom styles in a Shopify app? What are the recommended methods to ensure that styles do not conflict with Polaris and remain compliant with Shopify’s design system?
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025