Skip to content

Conversation

@wesleyboar
Copy link
Member

@wesleyboar wesleyboar commented Jul 23, 2022

Overview

Add npm start command to demo core-styles patterns (using Fractal).

This demo lets us prove CSS modules work before a client* uses them.

* Clients are core-components, Core-CMS, Core-Portal, and future external parties.

To Do

Related

Changes

  • .gitignore demo output
  • docs: fractal usage hints, demo homepage
  • configure fractal (and customize its theme)
  • split build script into build:css and build:demo
  • support different ways to load stylesheets
  • change c-button demo code from KSS to Fractal
  • install Fractal dependencies in root

Testing

  1. npm ci

  2. npm run build:css

  3. npm run start

  4. UI of patterns in demo match Portal UI for the same pattern.﹡

  5. (bonus) Test CMS UI Demo.†

﹡ See screenshots in "UI" section.
† The CMS (or any client) can apply its styles atop the core-styles demo.

UI

primary secondary tertiary small
core-styles primary core-styles secondary core-styles tertiary core-styles small

Fixes

no italics for pseudo-icons (474eff3)

fp-1499 474eff3 core-styles

@wesleyboar wesleyboar changed the title feat: fp-1499, core-styles pattern demo Task/fp 1499 core-styles pattern demo Jul 25, 2022
@wesleyboar wesleyboar force-pushed the task/fp-1499-cms-pattern-library branch from 25d184d to 5803ef7 Compare July 25, 2022 20:02
@wesleyboar
Copy link
Member Author

Retiring this repo in favor of https://github.com/TACC/tup-ui.

@wesleyboar wesleyboar closed this Jul 28, 2022
@wesleyboar wesleyboar reopened this Jul 29, 2022
@wesleyboar wesleyboar changed the title Task/fp 1499 core-styles pattern demo Task/fp 1499 ui pattern demo Jul 29, 2022
@wesleyboar wesleyboar requested review from rstijerina and taoteg July 29, 2022 21:43
@wesleyboar wesleyboar merged commit 7676bc5 into main Aug 16, 2022
@wesleyboar wesleyboar deleted the task/fp-1499-cms-pattern-library branch August 16, 2022 17:34
@wesleyboar wesleyboar changed the title Task/fp 1499 ui pattern demo feat: fp-1499 ui pattern demo Aug 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants