Skip to content

Commit

Permalink
Merge remote-tracking branch 'template/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
rodber committed Jan 27, 2025
2 parents 1e019f7 + 38a4b10 commit 7c11e9b
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 281 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/update-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@ on:
jobs:
update-template:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: actions-template-sync
uses: AndreasAugustin/actions-template-sync@v1.1.8
uses: AndreasAugustin/actions-template-sync@v2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
source_repo_path: chevere/docs-deploy
Expand Down
4 changes: 0 additions & 4 deletions .vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ if (!project.plugins) {
project.plugins = [];
}
project.plugins.push(
['@vuepress/pwa', {
serviceWorker: true,
updatePopup: true
}],
['@vuepress/medium-zoom', true]
);
if (!project.themeConfig.nav) {
Expand Down
12 changes: 12 additions & 0 deletions .vuepress/styles/default-index.styl
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@
* ref:https://vuepress.vuejs.org/config/#index-styl
*/

.float-left {
float:left;
}

.margin-1em {
margin: 1em;
}

.home .hero img
max-width 450px!important

Expand Down Expand Up @@ -72,3 +80,7 @@ code, kbd, .line-number
.embed-responsive-1by1:before {
padding-top: 100%
}

a > span {
display: inline-block;
}
4 changes: 3 additions & 1 deletion .vuepress/styles/default-palette.styl
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@
$codeBgLightColor = $codeBgColor
$preTextLightColor = $preTextColor
$languageTextLightColor = $languageTextColor
$lineNumbersLightColor = $lineNumbersColor
$lineNumbersLightColor = $lineNumbersColor
$accentColor = #006edb
$accentDarkColor = #2B73DE
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,11 @@
"devDependencies": {
"@vuepress/plugin-google-analytics": "^1.9.7",
"@vuepress/plugin-medium-zoom": "^1.9.7",
"@vuepress/plugin-pwa": "^1.9.7",
"vuepress": "^1.9.7",
"vuepress-plugin-container": "^2.1.5"
},
"author": "Rodolfo Berrios",
"dependencies": {
"vuepress-theme-default-prefers-color-scheme": "^2.0.0"
"vuepress-theme-default-prefers-color-scheme": "https://github.com/rodber/vuepress-theme-default-prefers-color-scheme#2.0.1"
}
}
Loading

0 comments on commit 7c11e9b

Please sign in to comment.