Skip to content

Commit

Permalink
Update grammars, themes and dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
MatTheCat committed Sep 23, 2023
1 parent 5cb53cd commit 9a4c935
Show file tree
Hide file tree
Showing 11 changed files with 56 additions and 37 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/publication-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,24 @@ jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false
show-progress: false

- uses: actions/setup-node@v3
with:
cache: npm
cache-dependency-path: package-lock.json
node-version: '20.5.0'
node-version: '20.7.0'

- name: install dependencies
run: npm ci --no-audit --omit=dev --prefer-offline

- name: compile
run: node scripts/compile.js

- uses: actions/upload-pages-artifact@v1
- uses: actions/upload-pages-artifact@v2
with:
path: ./public

Expand Down
4 changes: 2 additions & 2 deletions compose.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
services:
caddy:
image: caddy:2.6.4-alpine
image: caddy:2.7.4-alpine
ports:
- 80:80
- 443:443
Expand All @@ -12,7 +12,7 @@ services:

node:
command: scripts/watch.js
image: node:20.5.0-alpine3.18
image: node:20.7.0-alpine3.18
init: true
user: ${HOST_UID:?}
volumes:
Expand Down
46 changes: 23 additions & 23 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"jsdom": "^22.1.0",
"mathjax-node": "^2.1.1",
"onigasm": "^2.2.5",
"postcss": "^8.4.27",
"postcss": "^8.4.30",
"vscode-textmate": "^9.0.0",
"yargs": "^17.7.2"
},
Expand Down
6 changes: 3 additions & 3 deletions scripts/grammar/source.css.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions scripts/grammar/source.shell.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
"Once accepted there, we are happy to receive an update request."
],
"version": "https://github.com/jeff-hykin/better-shell-syntax/commit/ce62ea59e8e522f8a07d8d8a2d1f992c6c600b91",
"version": "https://github.com/jeff-hykin/better-shell-syntax/commit/a3de7b32f1537194a83ee848838402fbf4b67424",
"name": "Shell Script",
"scopeName": "source.shell",
"patterns": [
Expand Down Expand Up @@ -268,7 +268,7 @@
"patterns": [
{
"begin": "(?=\\S)",
"end": ";;",
"end": ";;&?|;&",
"endCaptures": {
"0": {
"name": "punctuation.terminator.case-clause.shell"
Expand Down Expand Up @@ -311,7 +311,7 @@
},
{
"begin": "(?<=\\))",
"end": "(?=;;)",
"end": "(?=;;&?|;&)",
"name": "meta.scope.case-clause-body.shell",
"patterns": [
{
Expand Down
1 change: 1 addition & 0 deletions scripts/theme/dark_plus.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
"source.cpp keyword.operator.new",
"keyword.operator.delete",
"keyword.other.using",
"keyword.other.directive.using",
"keyword.other.operator",
"entity.name.operator"
],
Expand Down
2 changes: 2 additions & 0 deletions scripts/theme/dark_vs.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,15 @@
"list.activeSelectionIconForeground": "#FFF",
"terminal.inactiveSelectionBackground": "#3A3D41",
"widget.border": "#303031",
"actionBar.toggledBackground": "#383a49"
},
"tokenColors": [
{
"scope": [
"meta.embedded",
"source.groovy.embedded",
"string meta.image.inline.markdown",
"variable.legacy.builtin.python"
],
"settings": {
"foreground": "#D4D4D4"
Expand Down
1 change: 1 addition & 0 deletions scripts/theme/light_plus.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
"source.cpp keyword.operator.new",
"source.cpp keyword.operator.delete",
"keyword.other.using",
"keyword.other.directive.using",
"keyword.other.operator",
"entity.name.operator"
],
Expand Down
6 changes: 4 additions & 2 deletions scripts/theme/light_vs.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,16 @@
"list.activeSelectionIconForeground": "#FFF",
"list.focusAndSelectionOutline": "#90C2F9",
"terminal.inactiveSelectionBackground": "#E5EBF1",
"widget.border": "#d4d4d4"
"widget.border": "#d4d4d4",
"actionBar.toggledBackground": "#dddddd"
},
"tokenColors": [
{
"scope": [
"meta.embedded",
"source.groovy.embedded",
"string meta.image.inline.markdown"
"string meta.image.inline.markdown",
"variable.legacy.builtin.python"
],
"settings": {
"foreground": "#000000ff"
Expand Down
12 changes: 12 additions & 0 deletions source/assets/code.css
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,9 @@
[class*=" keyword.control.anchor.regexp"] {
color: #EE0000;
}
[class*=" keyword.other.directive.using"] {
color: #AF00DB;
}
[class*=" meta.definition.variable.name"] {
color: #001080;
}
Expand Down Expand Up @@ -398,6 +401,9 @@
[class*=" string.unquoted.plain.out.yaml"] {
color: #0000ff;
}
[class*=" variable.legacy.builtin.python"] {
color: #000000ff;
}
[class*=" keyword.operator.logical.python"] {
color: #0000ff;
}
Expand Down Expand Up @@ -882,6 +888,9 @@
}
[class*=" keyword.control.anchor.regexp"] {
color: #DCDCAA;
}
[class*=" keyword.other.directive.using"] {
color: #C586C0;
}
[class*=" meta.definition.variable.name"] {
color: #9CDCFE;
Expand All @@ -906,6 +915,9 @@
}
[class*=" storage.type.parameters.groovy"] {
color: #4EC9B0;
}
[class*=" variable.legacy.builtin.python"] {
color: #D4D4D4;
}
[class*=" keyword.operator.logical.python"] {
color: #569cd6;
Expand Down

0 comments on commit 9a4c935

Please sign in to comment.