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

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

Support relative paths to static assets #83

mbeard opened this issue Nov 2, 2015 · 2 comments
Assignees
Labels

Comments

@mbeard
Copy link

@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
Copy link

@qzqzzz qzqzzz commented Nov 3, 2015

+1

@kaelig
Copy link
Contributor

@kaelig 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
Labels
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants