Skip to content

Add ready-to-use CSS to distribution package #197

@adamkudrna

Description

@adamkudrna

All we need is to document two styling options:

  1. Import a ready-to-use compiled CSS reactui.css.
  2. Import source Sass files from src/scss.

All Sass endpoints should be compiled to CSS, minified (but keep the unminified version too), and placed in dist:

  • foundation(.min).css
  • helpers(.min).css
  • theme(.min).css
  • components(.min).css

src can then be excluded from publishing. Sass source files remain intact.

Suggested Webpack plugin (maybe it's no longer the right choice): https://webpack.js.org/plugins/mini-css-extract-plugin/#minimal-example

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentation

Type

No type

Projects

Status

✅ Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions