Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support relative paths to static assets #83

mbeard opened this issue Nov 2, 2015 · 2 comments

Support relative paths to static assets #83

mbeard opened this issue Nov 2, 2015 · 2 comments


Copy link

mbeard commented Nov 2, 2015

Currently, the compiled CSS salesforce-lightning-design-system.css assumes that static files (icons, fonts, images) reside under an /assets directory.

Can these references be updated to relative paths instead of absolute paths to allow more flexibility in how these files are hosted in consuming apps.

For example
src: url("../fonts/webfonts/SalesforceSans-Light.woff2")

instead of
src: url("/assets/fonts/webfonts/SalesforceSans-Light.woff2")

Copy link


Copy link

kaelig commented Apr 9, 2016

Thank you for your patience, this was just fixed in the latest version of the Lightning Design System!

See full release notes:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

4 participants