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

Closed
mbeard opened this Issue Nov 2, 2015 · 2 comments

Comments

Projects
None yet
4 participants
@mbeard

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")

@qzqzzz

This comment has been minimized.

qzqzzz commented Nov 3, 2015

+1

brandonferrua added a commit that referenced this issue Nov 18, 2015

@kaelig kaelig added bug enhancement and removed bug enhancement labels Dec 3, 2015

@rickschmoo rickschmoo added this to the 03/16 milestone Feb 4, 2016

@rickschmoo rickschmoo assigned kaelig and unassigned rickschmoo Feb 4, 2016

@kaelig kaelig closed this Mar 8, 2016

@kaelig

This comment has been minimized.

Contributor

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: https://www.lightningdesignsystem.com/release-notes/

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