# Styles
# Sub-File
Styles are stored in styles.json
.
# Medium Styles
Because KDF supports multiple mediums—currently print and web—documents must be able to provide specific styles for each supported medium.
These styles are defined in styles.json
, under the key mediums
. The
corresponding value is an object containing the name and styles of another
medium. For example:
{
"mediums": {
"print": { ... },
"web": { ... }
}
}
{
"mediums": {
"print": {
"pageSize": "A4",
"orientation": "portrait",
"backgroundColor": "white"
}
}
}
# Web
{
"mediums": {
"web": {
"highlightColor": "#454545",
"backgroundColor": "#F8F8F8"
}
}
}
# Elements
TODO