@flatland-association/flatland-ui
v2.3.0
Published
Flatland association identity UI components.
Readme
Flatland UI
Flatland association identity UI components.
Installation
- Install the package
- Link the package's resources in your
angular.json- In
"assets", add{ "glob": "**/*", "input": "<PATH_TO_NODE_MODULES>/@flatland-association/flatland-ui/public", "output": "ui" } - In
"styles", add:"<PATH_TO_NODE_MODULES>/@flatland-association/flatland-ui/src/styles.scss"
- In
- Include the package's
tailwind.configas base and the module code as content to your project's tailwind configuration like this:const { theme: baseTheme } = require('<PATH_TO_NODE_MODULES>/@flatland-association/flatland-ui/tailwind.config') /** @type {import('tailwindcss').Config} */ module.exports = { presets: [require('<PATH_TO_NODE_MODULES>/@flatland-association/flatland-ui/tailwind.config')], // relative to where the project's `package.json` sits content: ['node_modules/@flatland-association/flatland-ui/**/*.mjs', './src/**/*.{html,ts}'], - Include the routes for "impressum", "privacy" and "not found" in your
app.routes.ts{ path: 'impressum', component: ImpressumView }, { path: 'privacy', component: PrivacyView }, { path: '**', component: NotFoundView }, - (Optional) Include the default icon:
<link rel="icon" type="image/x-icon" href="ui/fl-icon-neutral-bright.png" />
