Within your main/global CSS file, import the package. This way subsequent CSS files, components and pages will have access to the libraries classes and variables.
import'@thg-altitude/standalone-components-css';
Time For A Test Run
Test the installation by adding a component such as the one below into your project:
You’re all set! From here its up to you to use as little or as much of the package as you like, and by using a tool like Tailwind, any unused CSS will be pruned from your project at build time keeping your pages quick and lightweight.
So, whats next?
If you want to explore how to take our default themes and make them your own, then go ahead and get familiar with the Altitude Design System. Wether you need to get our styles inline with our current sites, or want to use the Altitude Design System as the basis for styling your site, we explain it all here.
In love with the default stylings already, and want to get straight into integrating our components into your site, check out any of the component specific documentation examples to grab the code and get started.