Skip to content

Support relative paths to static assets #83

Closed
@mbeard

Description

@mbeard

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions