Skip to content

Commit

Permalink
Merge pull request #9 from shawal-mbalire/new_feature
Browse files Browse the repository at this point in the history
fixed yaml file to use pnpm
  • Loading branch information
shawal-mbalire authored Feb 7, 2025
2 parents fc9cb5c + fcbcc6d commit 422c511
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/firebase-hosting-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: cd portfolio && npm ci && npm run build
- run: npm i -g pnpm && cd portfolio && pnpm install && pnpm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: ${{ secrets.GITHUB_TOKEN }}
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/firebase-hosting-pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools

name: Deploy to Firebase Hosting on PR
on: pull_request
permissions:
checks: write
contents: read
pull-requests: write
jobs:
build_and_preview:
if: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: npm i -g pnpm && cd portfolio && pnpm install && pnpm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: ${{ secrets.GITHUB_TOKEN }}
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_SHAWALMBALIRECOM }}
projectId: shawalmbalirecom
6 changes: 3 additions & 3 deletions portfolio/src/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@ header{

/* Light Theme */
.light-theme {
--backgroundColor: white;
--backgroundColor: #edf5fc; /* Softer blue hue */
--fontColor: black;
--glassColor: black;
--iconColor: black;
--glowColor: rgba(0, 0, 0, 0.2);
--primaryColor: white;
--primaryColor: #edf5fc; /* Softer blue hue */
--secondaryColor: black;
--tertiaryColor: blue;

Expand Down Expand Up @@ -92,5 +92,5 @@ header{
body {
background-color: var(--backgroundColor);
color: var(--fontColor);
/* transition: background-color 0.05s ease, color 0.05s ease; */
transition: background-color 0.5s ease, color 0.5s ease;
}

0 comments on commit 422c511

Please sign in to comment.