Files
CustomBranding/config/serve.json
Torsten Brendgen 490e9adbd8 feat: Add custom branding functionality with CSS and JSON configuration
- 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.
2026-07-20 22:55:47 +02:00

52 lines
1.5 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"$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": []
}
}
}
}
}
}
}