open-consul/ui/packages/consul-ui/docs
Michael Klein 4df01dd6a1
ui: Setup Hashicorp Design System for usage in consul-ui (#14394)
* Use postcss instead of ember-cli-sass

This will make it possible to work with tailwindcss.

* configure postcss to compile sass
* add "sub-app" css into app/styles tree

* pin node@14 via volta

Only used by people that use volta

* Install tailwind and autoprefixer

* Create tailwind config

* Use tailwind via postcss

* Fix: tailwind changes current styling

When adding tailwind to the bottom of app.scss we apparently
change the way the application looks. We will import
it first to make sure we don't change the current styling
of the application right now.

* Automatic import of HDS colors in tailwind

* Install @hashicorp/design-system-components

* install add-on
* setup postcss scss pipeline to include tokens css
* import add-on css

* Install ember-auto-import v2

HDS depends on v2 of ember-auto-import so we need to upgrade.

* Upgrade ember-cli-yadda

v0.6.0 of ember-cli-yadda adds configuration for webpack.
This configuration is incompatible with webpack v5
which ember-auto-import v2 is using.
We need to upgrade ember-cli-yadda to the latest
version that fixes this incompatability with auto-import v2

* Install ember-flight-icons

HDS components are using the addon internally.

* Document HDS usage in engineering docs

* Upgrade ember-cli-api-double

* fix new linting errors
2022-10-06 17:17:20 +02:00
..
bookmarklets.mdx ui: Move peers to a subapplication (#13725) 2022-07-14 11:22:45 +01:00
data-layer.mdx ui: First pass at writing some data layer related Eng docs (#11203) 2022-01-12 09:26:02 +00:00
hds.mdx ui: Setup Hashicorp Design System for usage in consul-ui (#14394) 2022-10-06 17:17:20 +02:00
i18n.mdx ui: Add initial i18n docs page (#10888) 2021-09-22 18:51:39 +01:00
index.mdx ui: Fix brand coloring for inline-code plus docs (#11578) 2021-11-23 18:32:11 +00:00
significant-patterns.mdx ui: Allow templateName paths to be relative (#11955) 2022-01-12 09:27:00 +00:00
testing.mdx ui: Bump our browser support (#11505) 2021-11-11 13:37:49 +00:00
upgrades.mdx