Themes
There are currently two available themes for the library. Both need to be installed separately in order to be used.
Installation
npm install @phormal/theme-basic
or
npm install @phormal/theme-material
Examples of how they look can be found on the examples page.
Importing
import '@phormal/theme-basic/dist/index.css';
Configuration
If you're using the basic
theme, you are now all set up, since this is the default. For using the material
theme, please enter the following into your configuration object:
const config = {
// .. other config
theme: 'material'
}
For more on configuration of the form, please refer to the configuration section.
Last updated on January 5, 2023