mirror of
https://github.com/go-gitea/gitea.git
synced 2026-05-21 15:29:43 +01:00
8874ba739b
Snap build failure caused by missed swagger ui css file. ``` :: [plugin vite:css] /build/gitea/parts/gitea/build/web_src/css/swagger-standalone.css:undefined:NaN :: Error: [postcss] ENOENT: no such file or directory, open '../../node_modules/swagger-ui-dist/swagger-ui.css' ``` Co-authored-by: silverwind <me@silverwind.io>
14 lines
414 B
CSS
14 lines
414 B
CSS
@import "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;
|
|
}
|