coala-eucalyptus
v0.0.5
Published
Coala Component Library for Angular 18+
Downloads
5
Readme
Eucalyptus
Coala Component Library for Angular 18+
Installation
- Setup npm registry in
.npmrc
(create if not existing)
registry=https://artifacts.we.decodeinsurance.de/repository/npm-devzone-public/
maxsockets=3
fund=false
- Install the package
npm i @coala/eucalyptus
- Setup global styles in
angular.json
"styles": [
"src/styles.css",
"node_modules/@coala/eucalyptus/src/assets/css/global.css" <--- Add this line
]
Usage
All eucalyptus components have the prefix "coala-", e.g. "coala-tag"
<coala-tag tagText="Cool Tag"></coala-tag>
To work, the corresponding component, e.g. TagComponent must be imported (IDE should handle this).
Additional information
When used in a project Eucalyptus enforces various global styles:
- Normalized CSS (https://necolas.github.io/normalize.css/)
- Global variables for colors and spacing (node_modules/@coala/eucalyptus/src/assets/css/)
- Default Font (https://fonts.google.com/specimen/Inter)