Skip to content

Commit

Permalink
Revert "chore: up docs deps"
Browse files Browse the repository at this point in the history
This reverts commit 5037ce7.
  • Loading branch information
posva committed Sep 10, 2024
1 parent 277e3af commit dd146d9
Show file tree
Hide file tree
Showing 7 changed files with 256 additions and 1,233 deletions.
31 changes: 2 additions & 29 deletions packages/docs/.vitepress/theme/components/HomeSponsors.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,39 +38,12 @@ const translations = {
</template>

<style scoped>
.become-sponsor {
font-size: 0.9em;
width: auto;
text-align: center;
background-color: transparent;
padding: 0.75em 2em;
border-radius: 2em;
transition: all 0.3s ease;
box-sizing: border-box;
border: 2px solid var(--vp-button-brand-hover-bg);
text-decoration: none;
}
.become-sponsor:hover {
text-decoration: none;
background-color: var(--vp-button-brand-hover-bg);
color: var(--vp-button-brand-text) !important;
}
.sponsors-top .become-sponsor {
font-size: 0.75em;
padding: 0.2em;
width: auto;
max-width: 150px;
}
.sponsors_outer {
text-align: center;
padding: 35px 40px 45px;
background-color: var(--vp-c-bg-accent);
/* transition when toggling dark mode */
transition:
background-color 300ms ease-in-out,
color 300ms ease-in-out;
transition: background-color 300ms ease-in-out, color 300ms ease-in-out;
}
.cta {
Expand Down
27 changes: 27 additions & 0 deletions packages/docs/.vitepress/theme/styles/vars.css
Original file line number Diff line number Diff line change
Expand Up @@ -156,13 +156,40 @@ html.dark .DocSearch {
}
}

.become-sponsor {
font-size: 0.9em;
font-weight: 700;
width: auto;
text-align: center;
background-color: transparent;
padding: 0.75em 2em;
border-radius: 2em;
transition: all 0.15s ease;
box-sizing: border-box;
border: 2px solid var(--c-yellow-2);
}

.become-sponsor.become-sponsor:hover {
background-color: var(--c-yellow-1);
text-decoration: none;
border-color: var(--c-yellow-1);
color: var(--c-text-light-1);
}

.vp-doc a {
text-decoration: none;
}
.vp-doc a:hover {
text-decoration: underline;
}

.sponsors-top .become-sponsor {
font-size: 0.75em;
padding: 0.2em;
width: auto;
max-width: 150px;
}

kbd {
display: inline-block;
padding: 3px 5px;
Expand Down
2 changes: 1 addition & 1 deletion packages/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@chenfengyuan/vue-countdown": "^2.1.2",
"@vueuse/core": "^10.11.0",
"pinia": "workspace:*",
"vitepress": "1.3.4",
"vitepress": "1.3.1",
"vitepress-translation-helper": "^0.2.1",
"vue-use-spring": "^0.3.3"
}
Expand Down
4 changes: 2 additions & 2 deletions packages/online-playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
"serve": "vite preview"
},
"devDependencies": {
"@vitejs/plugin-vue": "^5.1.3",
"@vitejs/plugin-vue": "^5.1.0",
"execa": "^9.3.0",
"vite": "^5.4.3"
"vite": "^5.3.5"
},
"dependencies": {
"@vue/repl": "^3.0.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
"serve": "vite preview"
},
"devDependencies": {
"@vitejs/plugin-vue": "^5.1.3",
"vite": "^5.4.3"
"@vitejs/plugin-vue": "^5.1.0",
"vite": "^5.3.5"
},
"dependencies": {
"@vueuse/core": "^10.11.0",
"mande": "^2.0.9",
"pinia": "workspace:*",
"swrv": "^1.0.4",
"vue-promised": "^2.2.0",
"vue-router": "^4.4.3"
"vue-router": "^4.4.0"
}
}
2 changes: 1 addition & 1 deletion packages/testing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
},
"devDependencies": {
"pinia": "workspace:*",
"tsup": "^8.2.4"
"tsup": "^8.2.3"
},
"peerDependencies": {
"pinia": ">=2.2.1"
Expand Down
Loading

0 comments on commit dd146d9

Please sign in to comment.