- Introduced custom branding CSS styles in `custom-branding.css`. - Created example JSON configuration for custom branding in `custom-branding.example.json`. - Implemented branding configuration logic in `BrandingConfig.ts` to normalize and validate branding settings. - Developed CSS loader to manage loading and unloading of custom stylesheets in `BrandingCssLoader.ts`. - Added DOM rendering capabilities for branding elements in `BrandingDomRenderer.ts`. - Defined types and interfaces for branding elements and configurations in `BrandingTypes.ts`. - Included localization support for German in `de-de.js`. - Added unit tests for branding configuration, CSS loader, and DOM renderer. - Validated project structure and static assets with new validation scripts.
52 lines
1.5 KiB
JSON
52 lines
1.5 KiB
JSON
{
|
||
"$schema": "https://developer.microsoft.com/json-schemas/core-build/serve.schema.json",
|
||
"port": 4321,
|
||
"https": true,
|
||
"serveConfigurations": {
|
||
"default": {
|
||
"pageUrl": "http://clshp001/",
|
||
"customActions": {
|
||
"035ba968-6488-4d42-86b3-0470ffcc95b9": {
|
||
"location": "ClientSideExtension.ApplicationCustomizer",
|
||
"properties": {
|
||
"schemaVersion": 2,
|
||
"enabled": true,
|
||
"debug": true,
|
||
"allowedCssHosts": [],
|
||
"cssfiles": [],
|
||
"placeholdertop": {
|
||
"elements": [
|
||
{
|
||
"type": "section",
|
||
"attributes": {
|
||
"aria-label": "Portalhinweis"
|
||
},
|
||
"styles": {
|
||
"background-color": "#0078d4",
|
||
"color": "#ffffff",
|
||
"padding": "12px 20px",
|
||
"text-align": "center"
|
||
},
|
||
"children": [
|
||
{
|
||
"type": "strong",
|
||
"content": "Willkommen im SharePoint-Portal"
|
||
},
|
||
{
|
||
"type": "span",
|
||
"content": " – aktuelle Informationen finden Sie im Intranet."
|
||
}
|
||
]
|
||
}
|
||
]
|
||
},
|
||
"placeholderbottom": {
|
||
"elements": []
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|