Merge branch 'main' into ci/release-flow

This commit is contained in:
Hammy 2024-09-19 01:38:58 +01:00 committed by GitHub
commit cd60f81946
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 23 additions and 12 deletions

View file

@ -23,7 +23,7 @@ jobs:
with:
path: "dist/"
- name: Upload produced css
- name: Upload CSS
uses: actions/upload-artifact@v4
with:
name: css
@ -31,9 +31,7 @@ jobs:
release:
needs: "build"
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
@ -41,12 +39,9 @@ jobs:
steps:
- name: "Release"
id: "release"
uses: "google-github-actions/release-please-action@v3"
with:
release-type: "simple"
draft: true
- name: Download a single artifact
uses: "googleapis/release-please-action@v4"
- name: Download CSS
uses: actions/download-artifact@v4
with:
name: css
@ -65,13 +60,10 @@ jobs:
deploy:
needs: "build"
runs-on: "ubuntu-latest"
permissions:
pages: "write"
id-token: "write"
environment:
name: "github-pages"
url: "${{ steps.deployment.outputs.page_url }}"

View file

@ -0,0 +1,3 @@
{
".": "0.4.1"
}

View file

@ -0,0 +1,10 @@
{
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
"last-release-sha": "cecfa246aa84e74e91e8bd8eb5add82734a35211",
"packages": {
".": {
"package-name": "",
"release-type": "simple"
}
}
}

View file

@ -23,6 +23,7 @@ $lvl3: if($isDark, $base, $crust);
--color-primary: #{$accent};
--color-primary-contrast: #{$lvl1};
--color-primary-hover: #{ctx_lighten($accent, 5%)};
--color-primary-dark-1: #{ctx_lighten($accent, 3%)};
--color-primary-dark-2: #{ctx_lighten($accent, 6%)};
@ -154,6 +155,7 @@ $lvl3: if($isDark, $base, $crust);
--color-orange-badge-bg: #{$lvl1};
--color-orange-badge-hover-bg: #{ctx_lighten($peach, 5%)};
--color-git: #{$peach};
--color-highlight-bg: #{color.change($yellow, $alpha: 0.15)};
/* target-based colors */
--color-body: #{$lvl1};
@ -282,6 +284,10 @@ $lvl3: if($isDark, $base, $crust);
color: $text !important;
}
.inline-code-block {
color: #{$crust};
}
::selection {
background: color.change($accent, $alpha: 0.3) !important;
}