()
| 4 | * Return the default customization settings for a site. |
| 5 | */ |
| 6 | export function defaultCustomization(): api.SiteCustomizationSettings { |
| 7 | return { |
| 8 | styling: { |
| 9 | theme: api.CustomizationTheme.Clean, |
| 10 | primaryColor: { light: '#346DDB', dark: '#346DDB' }, |
| 11 | infoColor: { light: '#787878', dark: '#787878' }, |
| 12 | warningColor: { light: '#FE9A00', dark: '#FE9A00' }, |
| 13 | dangerColor: { light: '#FB2C36', dark: '#FB2C36' }, |
| 14 | successColor: { light: '#00C950', dark: '#00C950' }, |
| 15 | corners: api.CustomizationCorners.Rounded, |
| 16 | font: api.CustomizationDefaultFont.Inter, |
| 17 | monospaceFont: api.CustomizationDefaultMonospaceFont.IBMPlexMono, |
| 18 | background: api.CustomizationBackground.Plain, |
| 19 | icons: api.CustomizationIconsStyle.Regular, |
| 20 | links: api.CustomizationLinksStyle.Default, |
| 21 | depth: api.CustomizationDepth.Subtle, |
| 22 | sidebar: { |
| 23 | background: api.CustomizationSidebarBackgroundStyle.Default, |
| 24 | list: api.CustomizationSidebarListStyle.Default, |
| 25 | }, |
| 26 | search: api.CustomizationSearchStyle.Subtle, |
| 27 | }, |
| 28 | internationalization: { |
| 29 | locale: api.CustomizationLocale.En, |
| 30 | }, |
| 31 | insights: { |
| 32 | trackingCookie: true, |
| 33 | }, |
| 34 | favicon: {}, |
| 35 | header: { |
| 36 | preset: api.CustomizationHeaderPreset.Default, |
| 37 | links: [], |
| 38 | }, |
| 39 | footer: { |
| 40 | groups: [], |
| 41 | }, |
| 42 | themes: { |
| 43 | default: api.CustomizationThemeMode.Light, |
| 44 | toggeable: true, |
| 45 | }, |
| 46 | pdf: { |
| 47 | enabled: true, |
| 48 | }, |
| 49 | feedback: { |
| 50 | enabled: false, |
| 51 | }, |
| 52 | ai: { |
| 53 | mode: api.CustomizationAIMode.None, |
| 54 | }, |
| 55 | externalLinks: { |
| 56 | target: api.SiteExternalLinksTarget.Self, |
| 57 | }, |
| 58 | advancedCustomization: { |
| 59 | enabled: true, |
| 60 | }, |
| 61 | git: { |
| 62 | showEditLink: false, |
| 63 | }, |
no outgoing calls
no test coverage detected