Skip to content

Commit

Permalink
fix: resolve contrast issue with header bar (fixes #1739) (#1741)
Browse files Browse the repository at this point in the history
* fix: resolve contrast issue with header bar (fixes #1739)

* ci: add commitlint check
  • Loading branch information
greatislander authored Mar 11, 2024
1 parent 49d674e commit 1499fa8
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 45 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Lint assets
name: Run tests

on:
push:
Expand All @@ -9,7 +9,7 @@ on:
branches:
- dev
jobs:
lint:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -22,3 +22,6 @@ jobs:
run: npm ci
- name: Lint assets
run: npm run lint
- name: Ensure that commitlint works
run: |
echo "fix: make sure commitlint works" | npx --no-install commitlint
50 changes: 8 additions & 42 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 @@ -61,7 +61,7 @@
},
"devDependencies": {
"@commitlint/cli": "18.6.0",
"@commitlint/config-conventional": "19.0.3",
"@commitlint/config-conventional": "18.6.3",
"autoprefixer": "10.4.17",
"cross-env": "7.0.3",
"decap-server": "3.0.2",
Expand Down
6 changes: 6 additions & 0 deletions src/assets/styles/components/_idrc-indicator.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,9 @@
}
}
}

.idrc-indicator-element a {
color: $black;
text-decoration: underline;
text-underline-offset: calc(2 / 16 * 1rem);
}

0 comments on commit 1499fa8

Please sign in to comment.