Skip to content

Consider including the SCSS files in the bundle #4003

@shlomiassaf

Description

@shlomiassaf

@jelbourn

Up until recent release, the SCSS files were shipped with the npm bundle.

We have are requirement for some heavy CSS restyling of the components to fit the company guideline. With some components it was not possible via class override, on those it was possible it looked terrible and unmaintainable, lots of css hacks.

We built a webpack loader that uses AST to visit all decorator styles properties and replace them with a recompiled SCSS. The SCSS got compiled after we changed some $variables and our SCSS file @imported the original material SCSS file of the component restyled.

It worked fine, but now we don't have access to the SCSS files through the npm package, we have to get the whole git as a submodule which is something I would rather not do.

Will you guys consider adding the SCSS files to the bundle?

Metadata

Metadata

Assignees

Labels

needs: discussionFurther discussion with the team is needed before proceeding

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions