Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
kilianc committed May 12, 2024
1 parent 6b22cf4 commit 5a702e8
Show file tree
Hide file tree
Showing 4 changed files with 74 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.vscode
cover.out
cover.txt
cover.html
5 changes: 3 additions & 2 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ runs:
rm .git/index
git clean -fdx
touch index.html
git add index.html
cp ../nord.css .
git add index.html nord.css
git config user.email "go-coverage-action@github.com"
git config user.name "go-coverage-action"
git commit -m "chore: initial commit"
Expand All @@ -62,6 +63,6 @@ runs:
with:
github-token: ${{ inputs.token }}
script: |
const script = require('${{ github.workspace }}/src/update-code-coverage-comment.js')
const script = require('${{ github.workspace }}/update-code-coverage-comment.js')
const revision = '${{ github.event.pull_request.head.sha || github.sha }}'
await script({ context, github }, revision)
70 changes: 70 additions & 0 deletions nord.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
:root {
--nord-deep-dark: #242931;
--nord0: #2e3440;
--nord0-pale: rgba(46, 52, 64, 0.3);
--nord1: #3b4252;
--nord1-pale: rgba(59, 66, 82, 0.3);
--nord2: #434c5e;
--nord2-pale: rgba(67, 76, 94, 0.3);
--nord3: #4c566a;
--nord3-pale: rgba(76, 86, 106, 0.3);
--nord4: #d8dee9;
--nord4-pale: rgba(216, 222, 232, 0.3);
--nord5: #e5e9f0;
--nord5-pale: rgba(229, 233, 240, 0.3);
--nord6: #eceff4;
--nord6-pale: rgba(236, 239, 244, 0.3);
--nord7: #8fbcbb;
--nord7-pale: rgba(143, 188, 187, 0.3);
--nord8: #88c0d0;
--nord9: #81a1c1;
--nord10: #5e81ac;
--nord10-pale: rgba(94, 129, 172, 0.3);
--nord11: #bf616a;
--nord11-pale: rgba(191, 97, 106, 0.3);
--nord12: #d08770;
--nord12-pale: rgba(208, 135, 112, 0.3);
--nord13: #ebcb8b;
--nord13-pale: rgba(235, 203, 139, 0.3);
--nord14: #a3be8c;
--nord14-pale: rgba(163, 190, 140, 0.3);
--nord15: #b48ead;
--nord15-pale: rgba(180, 140, 173, 0.3);
}

* {
font-family: Menlo, Monaco, source-code-pro, "Ubuntu Mono", "DejaVu sans mono", Consolas, monospace, Menlo, Monaco, "Courier New", monospace;
font-weight: normal !important;
font-size: 14px;
}

body {
background: var(--nord0) !important;
color: var(--nord4) !important;
padding: 10px;
}

#topbar {
background: var(--nord1) !important;
border-color: var(--nord3) !important;
}

select {
background-color: var(--nord-deep-dark);
color: var(--nord9);
border: 1px solid var(--nord3);
border-radius: 3px;
padding: 2px;
}

.cov0 { color: var(--nord11) !important; }
.cov1 { color: var(--nord13) !important; }
.cov2 { color: var(--nord14) !important; }
.cov3 { color: var(--nord14) !important; }
.cov4 { color: var(--nord14) !important; }
.cov5 { color: var(--nord14) !important; }
.cov6 { color: var(--nord14) !important; }
.cov7 { color: var(--nord14) !important; }
.cov8 { color: var(--nord14) !important; }
.cov9 { color: var(--nord14) !important; }
.cov10 { color: var(--nord14) !important; }
File renamed without changes.

0 comments on commit 5a702e8

Please sign in to comment.