Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Add dark mode/light theme - Vanilla.js #290

Closed
wants to merge 8 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/add-hacktoberfest-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
uses: actions/checkout@v4
- name: Get issue number from PR body
id: issue_number
uses: actions/github-script@v7
uses: actions/github-script@v6
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm I don't think you want these changes in your PR 🤔

with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
Expand All @@ -30,7 +30,7 @@ jobs:
}
- name: Get labels from linked issue
if: steps.issue_number.outputs.has_issue == 'true'
uses: actions/github-script@v7
uses: actions/github-script@v6
id: issue_labels
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -50,7 +50,7 @@ jobs:
- name: Check for required labels
if: steps.issue_number.outputs.has_issue == 'true' && steps.issue_labels.outputs.result != '[]'
id: check_labels
uses: actions/github-script@v7
uses: actions/github-script@v6
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
Expand All @@ -60,7 +60,7 @@ jobs:
return hacktoberfestLabel || sizeLabelPresent;
- name: Add labels to PR
if: steps.issue_number.outputs.has_issue == 'true' && steps.check_labels.outputs.result == 'true'
uses: actions/github-script@v7
uses: actions/github-script@v6
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pfi-exemplar-container-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v3

- name: Log in to the container registry
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446 # v3.2.0
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand All @@ -46,7 +46,7 @@ jobs:
type=sha

- name: Build and push container image
uses: docker/build-push-action@4f58ea79222b3b9dc2c8bbdd6debcef730109a75 # v6.9.0
uses: docker/build-push-action@94f8f8c2eec4bc3f1d78c1755580779804cb87b2 # v6.0.1
with:
context: javascript/tbdex-pfi-exemplar
push: true
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ jobs:

steps:
- name: "Checkout code"
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
with:
persist-credentials: false

- name: "Run analysis"
uses: ossf/scorecard-action@62b2cac7ed8198b15735ed49ab1e5cf35480ba46 # v2.4.0
uses: ossf/scorecard-action@0864cf19026789058feabb7e87baa5f140aac736 # v2.3.1
with:
results_file: results.sarif
results_format: sarif
Expand Down Expand Up @@ -67,6 +67,6 @@ jobs:

# Upload the results to GitHub's code scanning dashboard.
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@4d85deb8548d03be541760228f3fe9e6a4d5d27d # v2.26.12
uses: github/codeql-action/upload-sarif@17573ee1cc1b9d061760f3a006fc4aac4f944fd5 # v2.2.4
with:
sarif_file: results.sarif
18 changes: 9 additions & 9 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:
outputs:
languages: ${{ steps.build-matrix.outputs.languages }}
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: discover all examples
id: build-matrix
run: node .github/generate-test-steps.js >> "$GITHUB_OUTPUT"

javascript:
name: JavaScript / ${{ matrix.example.name }}
needs: all
Expand All @@ -28,8 +28,8 @@ jobs:
matrix:
example: ${{ fromJSON(needs.all.outputs.languages).javascript }}
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: ${{ matrix.example.misc.node-version || '20.4.0' }}
- name: test setup
Expand All @@ -43,14 +43,14 @@ jobs:
kotlin:
name: Kotlin / ${{ matrix.example.name }}
needs: all
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
example: ${{ fromJSON(needs.all.outputs.languages).kotlin }}
steps:
- name: Check out code
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Enable KVM
run: |
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
Expand All @@ -59,8 +59,8 @@ jobs:
- name: Set up JDK 17
uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 # v4.4.0
with:
java-version: "17"
distribution: "adopt"
java-version: '17'
distribution: 'adopt'
- name: Cache Gradle packages
uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1
with:
Expand All @@ -77,7 +77,7 @@ jobs:
working-directory: ${{ matrix.example.directory }}
if: matrix.example.test.pre != null
- name: test in android emulator
uses: reactivecircus/android-emulator-runner@f0d1ed2dcad93c7479e8b2f2226c83af54494915 # v3.32.0
uses: reactivecircus/android-emulator-runner@77986be26589807b8ebab3fde7bbf5c60dabec32 # v2.31.0
with:
api-level: 29
script: ${{ matrix.example.tests.command }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/vc-to-dwn-server-container-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v3

- name: Log in to the container registry
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446 # v3.2.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There shouldn't be changes here either!

with:
registry: ghcr.io
username: ${{ github.actor }}
Expand All @@ -46,7 +46,7 @@ jobs:
type=sha

- name: Build and push container image
uses: docker/build-push-action@4f58ea79222b3b9dc2c8bbdd6debcef730109a75 # v6.9.0
uses: docker/build-push-action@94f8f8c2eec4bc3f1d78c1755580779804cb87b2 # v6.0.1
with:
context: javascript/vc-to-dwn-server
push: true
Expand Down
33 changes: 15 additions & 18 deletions CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,21 +1,18 @@
# any files outside of examples, and examples that don't yet have a codeowner
* @finn-tbd @angiejones @blackgirlbytes @acekyd @EbonyLouis

javascript/book-reviews @angiejones
javascript/dinger @blackgirlbytes
javascript/dinger-starter @blackgirlbytes
javascript/dwa-starter-react-vite @leordev @blackgirlbytes
javascript/dwa-starter-vanillajs-vite @leordev @blackgirlbytes
javascript/dwa-starter-vue @leordev @blackgirlbytes @acekyd
javascript/fan-club-credential @nitro-neal @blackgirlbytes @EbonyLouis
javascript/kcc-issuance-snippet @angiejones
javascript/kcc-prototype-exemplar @KendallWeihe @EbonyLouis @acekyd
javascript/pfi-aud-usd-tbdex @michaelneale @acekyd
javascript/shared-todo @acekyd
javascript/shared-todo-starter @acekyd
javascript/tbdex-pfi-exemplar @michaelneale @mistermoe @jiyoontbd @acekyd
javascript/todo @acekyd @blackgirlbytes
javascript/todo-starter @acekyd @blackgirlbytes
javascript/vc-to-dwn-server @blackgirlbytes
kotlin/tbdex-example-android @michaelneale @jiyoontbd @acekyd @angiejones
swift/tbdex-example-ios @acekyd @angiejones
javascript/book-reviews @angiejones
javascript/dinger @blackgirlbytes
javascript/dinger-starter @blackgirlbytes
javascript/fan-club-credential @nitro-neal @blackgirlbytes @EbonyLouis
javascript/kcc-prototype-exemplar @KendallWeihe @EbonyLouis @acekyd
javascript/pfi-aud-usd-tbdex @michaelneale @acekyd
javascript/shared-todo @acekyd
javascript/shared-todo-starter @acekyd
javascript/tbdex-pfi-exemplar @michaelneale @mistermoe @jiyoontbd @acekyd
javascript/todo @acekyd @blackgirlbytes
javascript/todo-starter @acekyd @blackgirlbytes
javascript/dwa-starter-react-vite @leordev @blackgirlbytes
javascript/vc-to-dwn-server @blackgirlbytes
kotlin/tbdex-example-android @michaelneale @jiyoontbd @acekyd @angiejones
swift/tbdex-example-ios @acekyd @angiejones
22 changes: 11 additions & 11 deletions javascript/dinger-starter/package-lock.json

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

22 changes: 11 additions & 11 deletions javascript/dinger/package-lock.json

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

4 changes: 2 additions & 2 deletions javascript/dwa-starter-react-vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@web5/dids": "^1.1.4",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"lucide-react": "^0.452.0",
"lucide-react": "^0.451.0",
"next-themes": "^0.3.0",
"node-stdlib-browser": "^1.2.0",
"qrcode.react": "^4.0.1",
Expand Down Expand Up @@ -69,7 +69,7 @@
}
},
"resolutions": {
"sharp": "0.33.5",
"sharp": "0.32.6",
"sharp-ico": "0.1.5"
}
}
Loading
Loading