Skip to content

Publish styles as separate scss files to allow for easy customization  #248

Closed
@beeman

Description

@beeman

In the current version of this library, the styles are part of SplitComponent.

While this is great for a usability point of view (no need to include a separate style) it limits the flexibility.

To offer a greater flexibility to developers using this library, it makes sense to publish the styles as separate SCSS files.

Pros

  • makes it easier to extend/override the styles.
  • publishing it as SCSS allows for using variables, making it easy to tweak appearance.
  • we can provide with various styles out of the box (dark/light).

Cons

  • Installation takes 1 more step as the user has to include the style.

TODO

  • pull out styles into separate file, making sure it still works.
  • add SCSS variables for colors.
  • get rid of any ng-deep, where possible.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions