docs: updated docs theme

This commit is contained in:
arthurfiorette 2022-03-25 16:51:34 -03:00
parent 9e2364819d
commit 7a1ff7bb98
No known key found for this signature in database
GPG Key ID: 9D190CD53C53C555
3 changed files with 11 additions and 10 deletions

View File

@ -1,4 +1,4 @@
section.cover.show {
/* section.cover.show {
height: 95vh;
}
@ -30,8 +30,9 @@ input[type='search']:focus {
box-shadow: 0 0 0.3rem var(--theme-color) !important;
border: 0.1rem solid var(--theme-color) !important;
}
*/
article,
p {
max-width: min(90vw, 70rem) !important;
}
}

View File

@ -82,11 +82,12 @@
<title>Axios Cache Interceptor</title>
<!-- Docsify styles -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsify-themeable@0/dist/css/theme-simple.css">
<link
rel="stylesheet"
href="//cdn.jsdelivr.net/npm/docsify@4/lib/themes/vue.css"
theme="light"
/>
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/prism-themes@1/themes/prism-one-light.min.css"
></link>
<link rel="stylesheet" href="css/index.css" />
</head>
@ -116,5 +117,6 @@
crossorigin
src="https://cdn.jsdelivr.net/npm/prismjs@1/components/prism-jsx.min.js"
></script>
</body>
</html>

View File

@ -1,13 +1,11 @@
window.$docsify = {
name: '🚀 Axios Cache Interceptor',
name: 'Axios Cache Interceptor',
loadSidebar: 'config/sidebar.md',
notFoundPage: 'config/404.md',
homepage: 'pages/homepage.md',
themeColor: 'hsl(275, 100%, 50%)',
subMaxLevel: 1,
subMaxLevel: 2,
search: 'auto',
plugins: [window.runkitDocsify]