Frontend iframe renderer framework: 3D models, OpenAPI (#37233) (#37273)

Backport

* #37233
* #37272

---------

Co-authored-by: silverwind <me@silverwind.io>
This commit is contained in:
wxiaoguang
2026-04-18 16:02:18 +08:00
committed by GitHub
parent 26a618ac1a
commit 1412009d0a
34 changed files with 572 additions and 322 deletions

View File

@@ -0,0 +1,13 @@
@import "../../node_modules/swagger-ui-dist/swagger-ui.css";
html,
html body,
html .swagger-ui,
html .swagger-ui .scheme-container {
background: var(--gitea-iframe-bgcolor, var(--color-box-body)) !important;
}
/* swagger's bug: the selector was incorrectly written in "thead": "html.dark-mode .swagger-ui .opblock.opblock-get thead tr td" */
html.dark-mode .swagger-ui table.headers td {
color: var(--color-text) !important;
}