verben-authentication-ui
v1.1.5
Published
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 18.2.0.
Readme
VerbenAuthenticationUi
This library was generated with Angular CLI version 18.2.0.
Theming
This library is theme-aware: its component styles read the verben-ng-ui
--vbn-* CSS custom properties instead of hardcoded colors, so it automatically
follows whatever theme the host application configures. It ships no theme
config of its own (no theme.css, no forRoot()) — that is the host app's job.
Host requirement: the consuming application must load
node_modules/verben-ng-ui/styles/theme.css (which requires verben-ng-ui@>=1.3.0,
matching this library's peer dependency) and call VerbenUiModule.forRoot({...})
once. See that package's INTEGRATION.md for the full multi-layer setup.
Translucent greys and tints (e.g. #66666680, rgba(0, 0, 0, 0.25)) are
intentionally left as literals — mapping them onto solid tokens would drop their
alpha channel.
Two files here are generated, not hand-written:
src/theme/tailwind.css is Tailwind output built by npm run build:lib:tailwind
and @imported by the user-management and user-request-approval component styles.
Never hand-edit it — change the templates and regenerate, or you will produce
malformed escaped selectors that silently match nothing.
Code scaffolding
Run ng generate component component-name --project verben-authentication-ui to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project verben-authentication-ui.
Note: Don't forget to add
--project verben-authentication-uior else it will be added to the default project in yourangular.jsonfile.
Build
Run ng build verben-authentication-ui to build the project. The build artifacts will be stored in the dist/ directory.
Publishing
After building your library with ng build verben-authentication-ui, go to the dist folder cd dist/verben-authentication-ui and run npm publish.
Running unit tests
Run ng test verben-authentication-ui to execute the unit tests via Karma.
Further help
To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.
