mirror of
https://github.com/data-privacy-stack/presidio.git
synced 2026-07-23 11:20:55 -05:00
Apply the Data Privacy Stack community brand to the documentation site ahead of the project transition. - mkdocs.yml: rename site to "Presidio", add light/dark palette toggle, Inky icon as logo + favicon, brand fonts, and UX features - stylesheets/extra.css: full violet/indigo theme (light + dark), hero wordmark lockup, and component polish - index.md: add hero block (mascot + "Presidio" / "by data privacy stack") - api-docs: replace Microsoft logo with the Inky mascot and recolor the ReDoc theme to match the new palette - assets: add Inky mascot, favicon, and app-icon SVGs Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
72 lines
2.4 KiB
HTML
72 lines
2.4 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>ReDoc</title>
|
|
<meta charset="utf-8"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
|
|
|
|
<style>
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id="redoc-container"></div>
|
|
<script src="https://unpkg.com/redoc@latest/bundles/redoc.standalone.js"></script>
|
|
<script type="text/javascript">
|
|
(function() {
|
|
Redoc.init(
|
|
"./api-docs.yml",
|
|
{
|
|
"untrustedSpec": true,
|
|
"theme": {
|
|
"colors": {
|
|
"primary": {
|
|
"main": "#4f46e5"
|
|
},
|
|
"success": {
|
|
"main": "#22c55e"
|
|
},
|
|
"http": {
|
|
"get": "#4f46e5",
|
|
"post": "#7c3aed",
|
|
"put": "#8957e8",
|
|
"delete": "#e5484d"
|
|
}
|
|
},
|
|
"typography": {
|
|
"fontSize": "16px",
|
|
"fontFamily": "Inter, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif",
|
|
"headings": {
|
|
"fontFamily": "'Plus Jakarta Sans', Inter, sans-serif",
|
|
"fontWeight": "700",
|
|
"lineHeight": "1.3em"
|
|
},
|
|
"links": {
|
|
"color": "#4f46e5"
|
|
},
|
|
"code": {
|
|
"color": "#7c3aed",
|
|
"backgroundColor": "rgba(124, 58, 237, 0.08)"
|
|
}
|
|
},
|
|
"sidebar": {
|
|
"backgroundColor": "#fbfbfd",
|
|
"textColor": "#11131a",
|
|
"activeTextColor": "#4f46e5"
|
|
},
|
|
"rightPanel": {
|
|
"backgroundColor": "#131d4a",
|
|
"textColor": "#ffffff"
|
|
}
|
|
}
|
|
},
|
|
document.getElementById('redoc-container'));
|
|
})();
|
|
</script>
|
|
</body>
|
|
</html>
|