docs: update text and code blocks theme (#11361)

Changes made to the docs UI:

**Code Blocks:** Implemented "Mac Terminal" style blocks with traffic
light dots, rounded corners, and deep shadows. Enforced high-contrast
dark theme for code in all modes.

**Typography**: Updated weights and tighter letter spacing for headings.

**Admonitions**: Updated alerts to use cleaner borders and softer
shadows.

---------

Co-authored-by: Copilot <[email protected]>
This commit is contained in:
Federico Coppede
2026-01-16 10:14:38 +00:00
committed by GitHub
co-authored by Copilot
parent e401da3cfa
commit 7f81b866a5
2 changed files with 116 additions and 6 deletions
+4
View File
@@ -1,3 +1,5 @@
const { themes } = require('prism-react-renderer');
/** @type {import('@docusaurus/types').DocusaurusConfig} */
module.exports = {
title: "ZITADEL Docs",
@@ -182,6 +184,8 @@ module.exports = {
copyright: `Copyright © ${new Date().getFullYear()} ZITADEL Docs - Built with Docusaurus.`,
},
prism: {
theme: themes.github,
darkTheme: themes.dracula,
additionalLanguages: [
"csharp",
"dart",