@mantis-core/styles
v0.1.2
Published
Shared SCSS tokens and Mantis Core style overrides.
Downloads
270
Maintainers
Readme
@mantis-core/styles
Shared SCSS tokens and style overrides for Mantis Core components.
Scope
- Shared visual tokens.
- PrimeReact-oriented overrides.
- Namespace contract:
mantis-core-*.
Out Of Scope
- App/domain-specific styles.
- Client brand names in class prefixes.
Exports
@mantis-core/styles->scss/index.scss@mantis-core/styles/scss/*-> direct SCSS partials
File Structure
scss/
index.scss
buttons.scss
ckeditor.scss
date-picker.scss
gallery.scss
inputs.scss
paginator.scss
rich-text-preview.scss
select.scss
select-button.scss
switch.scss
table.scssUsage
@use "@mantis-core/styles/scss/index.scss";Or import only what you need:
@use "@mantis-core/styles/scss/table.scss";
@use "@mantis-core/styles/scss/paginator.scss";Styling Contract
When consuming components from @mantis-core/ui, include the style modules that define:
mantis-core-table*mantis-core-table-toolbar*mantis-core-table-filters*mantis-core-paginator
Build
@mantis-core/styles ships raw SCSS (no TS output):
pnpm --filter @mantis-core/styles build