Project Configuration
Configuration option for whole Berry Template
Last updated
Configuration option for whole Berry Template
Last updated
Berry has a single source of truth for default configuration which lets users manage it effectively. It also makes it scalable for new configurations. you can set config like font, border, theme layout, locale, etc. All those can be configured at ..src/config.js
Option
Default
Data Type
Description
basename
/
String
build time set subdomain or path of project directory
defaultPath
/dashboard/default
string
default path once login success
fontFamily
'Roboto', sans-serif
String
set font family
borderRadius
12
number
border-radius for card and textboxes
outlinedFilled
true
boolean
defines backfill color for textboxes. setting it false will show transparent background for outline textboxes
theme
light
String
light, dark
18n
en
String
en
- English
fr
- français
ro
- Română
zh
- 中国人
rtlLayout
false
boolean
set layout from right to left.
jwt
-
Object
JSON web token configuration
firebase
-
Object
Firebase Authentication config
auth0
-
Object
auth0 login config