siemens / ix

Siemens Industrial Experience is a design system for designers and developers, to consistently create the perfect digital experience for industrial software products.
https://ix.siemens.io/
MIT License
205 stars 69 forks source link

Importing siemens-ix.css does not result in the same style as splitting it up in siemens-ix-core.css and chosen themes #1523

Open Endunry opened 4 weeks ago

Endunry commented 4 weeks ago

Prerequisites

What happened?

I wanted to add a custom theme and followed the documentation as stated here This resulted in a table not being displayed correctly, or the crucial part. Not in the same way which either means there is something wrong with the core-css, or the documentation is kind of misleading in that regard.

I created a simple stack-blitz here: https://stackblitz.com/edit/xnfrdi-ptmfn7?file=src%2Fstyles.css

Toggling between only the siemens-ix.css and the core + theme results in the table formatting differently.

matthiashader commented 4 weeks ago

Hello @Endunry. In the core-css, the dependencies like bootstrap are not included, which is why the tables are not stylled correctly. non-core: https://github.com/siemens/ix/blob/main/packages/core/scss/ix.scss core: https://github.com/siemens/ix/blob/main/packages/core/scss/ix-core.scss