rapi-doc / RapiDoc

RapiDoc -WebComponent for OpenAPI Spec
https://rapidocweb.com
MIT License
1.65k stars 277 forks source link

them does not have any effect #985

Closed rabol closed 9 months ago

rabol commented 9 months ago

I'm trying to stet the theme like this:

<!doctype html> <!-- Important: must specify -->
<html>
<head>
    <meta charset="utf-8"> <!-- Important: rapi-doc uses utf8 characters -->
    <script type="module" src="https://unpkg.com/rapidoc/dist/rapidoc-min.js"></script>
</head>
<body>

<rapi-doc spec-url="{{ route("scribe.openapi") }}"
          render-style="read"
          allow-try="false"
          theme="light"
          allow-server-selection="false"
          allow-spec-url-load="false"
          allow-spec-file-load="false"
> </rapi-doc>
</body>
</html>

However, it still shows up in dark mode.

rabol commented 9 months ago

Sorry, I did expect something else from dark/light mode