Skip to content

Commit 7c11e9b

Browse files
committed
Merge remote-tracking branch 'template/main'
2 parents 1e019f7 + 38a4b10 commit 7c11e9b

6 files changed

Lines changed: 25 additions & 281 deletions

File tree

.github/workflows/update-template.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,14 @@ on:
44
jobs:
55
update-template:
66
runs-on: ubuntu-latest
7+
permissions:
8+
contents: write
9+
pull-requests: write
710
steps:
811
- name: Checkout
9-
uses: actions/checkout@v3
12+
uses: actions/checkout@v4
1013
- name: actions-template-sync
11-
uses: AndreasAugustin/actions-template-sync@v1.1.8
14+
uses: AndreasAugustin/actions-template-sync@v2
1215
with:
1316
github_token: ${{ secrets.GITHUB_TOKEN }}
1417
source_repo_path: chevere/docs-deploy

.vuepress/config.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ if (!project.plugins) {
1212
project.plugins = [];
1313
}
1414
project.plugins.push(
15-
['@vuepress/pwa', {
16-
serviceWorker: true,
17-
updatePopup: true
18-
}],
1915
['@vuepress/medium-zoom', true]
2016
);
2117
if (!project.themeConfig.nav) {

.vuepress/styles/default-index.styl

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@
44
* ref:https://vuepress.vuejs.org/config/#index-styl
55
*/
66

7+
.float-left {
8+
float:left;
9+
}
10+
11+
.margin-1em {
12+
margin: 1em;
13+
}
14+
715
.home .hero img
816
max-width 450px!important
917

@@ -72,3 +80,7 @@ code, kbd, .line-number
7280
.embed-responsive-1by1:before {
7381
padding-top: 100%
7482
}
83+
84+
a > span {
85+
display: inline-block;
86+
}

.vuepress/styles/default-palette.styl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,6 @@
77
$codeBgLightColor = $codeBgColor
88
$preTextLightColor = $preTextColor
99
$languageTextLightColor = $languageTextColor
10-
$lineNumbersLightColor = $lineNumbersColor
10+
$lineNumbersLightColor = $lineNumbersColor
11+
$accentColor = #006edb
12+
$accentDarkColor = #2B73DE

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,11 @@
1111
"devDependencies": {
1212
"@vuepress/plugin-google-analytics": "^1.9.7",
1313
"@vuepress/plugin-medium-zoom": "^1.9.7",
14-
"@vuepress/plugin-pwa": "^1.9.7",
1514
"vuepress": "^1.9.7",
1615
"vuepress-plugin-container": "^2.1.5"
1716
},
1817
"author": "Rodolfo Berrios",
1918
"dependencies": {
20-
"vuepress-theme-default-prefers-color-scheme": "^2.0.0"
19+
"vuepress-theme-default-prefers-color-scheme": "https://github.com/rodber/vuepress-theme-default-prefers-color-scheme#2.0.1"
2120
}
2221
}

0 commit comments

Comments
 (0)