Using Shopify CSS on Embedded API

Shopify Partner
25 0 7

Is there any reservation about taking Shopify's Admin CSS and using it to re-create the Admin layout for my Embedded SDK app? There doesn't appear to be any officially sanctioned mention of this, but it seems the most preferable route if you want to embed apps for a seamless feel.

0 Likes
Shopify Staff
Shopify Staff
154 0 34

Hi Ryan,

The Admin and its CSS are in a state of flux, so depending on it directly it is not recommended because it could break your app at any time. Other than that feel free to base your own styles on the current style of the Admin. When the admin changes, you can then update it accordingly yourself.

0 Likes
Shopify Partner
25 0 7

That's totally understandable. Do you have any reservation if I just took the current CSS and served it from my app's assets? That way your changes don't affect my app, other than possibly looking dated.

Do you have any plans internally to solve the "look-alike" problem, such as a JS builder API? EASDK apps look really, really goofy when it doesn't look like the Shopify Admin. :)

1 Like