Closed
Description
openedon Apr 28, 2020
Hi, I am currently using the redoc tag in a Vuejs project. How can I get themes to work with the tag? Do I need to pass it as an Object? A string?
Here is an example:
<redoc
:theme="{
colors: {
rightPanel: { backgroundColor: '#DFC350', textColor: '#445AFF' },
http: {
get: '#DFC350'
}
}
}"
spec-url="http://petstore.swagger.io/v2/swagger.json"
/>
<script src="https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js" />
Any help would be much appreciated. Thanks!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment