diff --git a/src/pages/_app.tsx b/src/pages/_app.tsx index 37405ed29..aa04fceef 100644 --- a/src/pages/_app.tsx +++ b/src/pages/_app.tsx @@ -2,6 +2,7 @@ import type { AppProps } from 'next/app' import { ThemeProvider } from '@vtex/brand-ui' import 'styles/global.css' +import 'styles/rapidoc.css' import Footer from 'components/footer' import Header from 'components/header' diff --git a/src/pages/docs/api-reference/[slug].tsx b/src/pages/docs/api-reference/[slug].tsx index 79841f180..4e1950e8f 100644 --- a/src/pages/docs/api-reference/[slug].tsx +++ b/src/pages/docs/api-reference/[slug].tsx @@ -6,6 +6,19 @@ interface Props { } const APIPage: NextPage = ({ slug }) => { + const rapidocstyle = { + width: '100%', + height: '100%', + marginTop: '5rem', + '--nav-get-color': '#38853C', + '--nav-put-color': '#D56A00', + '--nav-post-color': '#2978B5', + '--nav-delete-color': '#CC3D3D', + '--red': '#CC3D3D', + '--orange': '#D56A00', + '--green': '#2978B5', + '--blue': '#38853C', + } return ( <>