Una Content
Customizing una-content.
una-content is configured through app.config.ts
and uno.config.ts
.
app.config.ts
uno.config.ts
Fields Reference
Illustrative type declarations:
Icons
All configurable icons can be set to iconify icons, emojis and urls, using smart icon under the hood.
site
namestring
<page> - <site_name>
. descriptionstring
ogImagestring
theme
customizableboolean
true
colorColor
zinc
radiusstring
0.5
header
showLoadingIndicatorboolean
true
titlestring
showTitleboolean
true
borderboolean
false
darkModeToggleboolean
true
logo{ light: string; dark: string; }
{ light: '/logo.svg', dark: '/logo-dark.svg' }
/public
. light
is for the icon shown in light mode, dark
is for the icon shown in dark mode. showTitleInMobileboolean
false
navINav[]
[]
linksILink[]
[]
aside
useLevelboolean
true
collapseboolean
false
main
paddedboolean
true
breadCrumbboolean
true
showTitleboolean
true
codeCopyToastboolean
true
codeCopyToastTextstring
'Copied to clipboard!
fieldRequiredTextstring
'required'
codeIconRecord<string, string>
footer
creditsstring
''
linksILink[]
[]
toc
enableboolean
true
enableInMobileboolean
false
titlestring
'On This Page'
linksILink[]
[]
search
enableboolean
true
inAsideboolean
false
style'input' | 'button'
input
placeholderstring
'Search...'
placeholderDetailedstring
'Search documentation...'
Default Config
composables/useConfig.ts