Skip to content

Commit

Permalink
docs: updated docs theme
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurfiorette committed Mar 25, 2022
1 parent 9e23648 commit 7a1ff7b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
5 changes: 3 additions & 2 deletions docs/css/index.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
section.cover.show {
/* section.cover.show {
height: 95vh;
}
Expand Down Expand Up @@ -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;
}
}
10 changes: 6 additions & 4 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -116,5 +117,6 @@
crossorigin
src="https://cdn.jsdelivr.net/npm/prismjs@1/components/prism-jsx.min.js"
></script>

</body>
</html>
6 changes: 2 additions & 4 deletions docs/js/index.js
Original file line number Diff line number Diff line change
@@ -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]
Expand Down

0 comments on commit 7a1ff7b

Please sign in to comment.