Compare commits

...

5 Commits

Author SHA1 Message Date
naomi aec68b86bb release: v3.2.0
Node.js CI / Lint and Test (push) Successful in 45s
2025-10-29 12:56:18 -07:00
naomi 791a0fab4f feat: new font wooooo 2025-10-29 12:56:18 -07:00
naomi a7540edb8f chore: remove sonar
Node.js CI / Lint and Test (push) Successful in 43s
2025-09-03 16:19:48 -07:00
naomi eee2fb7de3 release: v3.1.0
Code Analysis / SonarQube (push) Failing after 17s
Node.js CI / Lint and Test (push) Successful in 43s
2025-09-03 16:18:46 -07:00
naomi ee00ff835a feat: update theme colours (#6)
Code Analysis / SonarQube (push) Failing after 18s
Node.js CI / Lint and Test (push) Has been cancelled
### Explanation

_No response_

### Issue

_No response_

### Attestations

- [ ] I have read and agree to the [Code of Conduct](https://docs.nhcarrigan.com/community/coc/)
- [ ] I have read and agree to the [Community Guidelines](https://docs.nhcarrigan.com/community/guide/).
- [ ] My contribution complies with the [Contributor Covenant](https://docs.nhcarrigan.com/dev/covenant/).

### Dependencies

- [ ] I have pinned the dependencies to a specific patch version.

### Style

- [ ] I have run the linter and resolved any errors.
- [ ] My pull request uses an appropriate title, matching the conventional commit standards.
- [ ] My scope of feat/fix/chore/etc. correctly matches the nature of changes in my pull request.

### Tests

- [ ] My contribution adds new code, and I have added tests to cover it.
- [ ] My contribution modifies existing code, and I have updated the tests to reflect these changes.
- [ ] All new and existing tests pass locally with my changes.
- [ ] Code coverage remains at or above the configured threshold.

### Documentation

_No response_

### Versioning

_No response_

Reviewed-on: #6
Co-authored-by: Naomi Carrigan <commits@nhcarrigan.com>
Co-committed-by: Naomi Carrigan <commits@nhcarrigan.com>
2025-09-03 16:18:35 -07:00
3 changed files with 11 additions and 44 deletions
-34
View File
@@ -1,34 +0,0 @@
name: Code Analysis
on:
push:
branches:
- main
jobs:
sonar:
name: SonarQube
steps:
- name: Checkout Source Files
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: SonarCube Scan
uses: SonarSource/sonarqube-scan-action@v4
timeout-minutes: 10
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: "https://quality.nhcarrigan.com"
with:
args: >
-Dsonar.sources=.
-Dsonar.projectKey=website-headers
- name: SonarQube Quality Gate check
uses: sonarsource/sonarqube-quality-gate-action@v1
with:
pollingTimeoutSec: 600
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: "https://quality.nhcarrigan.com"
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "website-headers",
"version": "3.0.0",
"version": "3.2.0",
"description": "",
"main": "index.js",
"type": "module",
+10 -9
View File
@@ -11,7 +11,7 @@ console.log(`
Loading NHCarrigan library v${nhcarriganHeadersVersion}.
Copyright (c) ${new Date().getFullYear().
toString()} NHCarrigan
Changelog: https://codeberg.org/nhcarrigan/website-headers/releases
Changelog: https://git.nhcarrigan.com/nhcarrigan/website-headers/releases
Licensed under our public license: https://docs.nhcarrigan.com/legal/license
Questions? Contact us at https://docs.nhcarrigan.com/about/contact
========================================
@@ -131,13 +131,14 @@ const nhcarriganHeadersStyles = document.createElement("style");
nhcarriganHeadersStyles.id = "nhcarrigan-global-styles";
nhcarriganHeadersStyles.innerHTML = `
@font-face {
font-family: 'OpenDyslexic';
src: url('https://cdn.nhcarrigan.com/fonts/OpenDyslexicMono-Regular.otf') format('opentype');
font-family: 'Vampyr';
src: url('https://cdn.nhcarrigan.com/fonts/vampyr.ttf') format('truetype');
}
:root {
--foreground: #2a0a18;
--background: #ffb6c1bb;
--foreground: #8F2447;
--background: #E1F6F9DC;
font-size: 16pt;
}
* {
@@ -147,7 +148,7 @@ nhcarriganHeadersStyles.innerHTML = `
}
html {
font-family: 'OpenDyslexic', monospace;
font-family: 'Vampyr', monospace;
cursor: url('https://cdn.nhcarrigan.com/cursors/cursor.cur'), auto;
min-height: 100vh;
min-width: 100vw;
@@ -206,7 +207,7 @@ footer {
cursor: url('https://cdn.nhcarrigan.com/cursors/pointer.cur'), pointer;
color: var(--foreground);
font-size: 1rem;
font-family: 'OpenDyslexic', monospace;
font-family: 'Vampyr', monospace;
}
#show-socials-button > i, #theme-select-button > i {
font-size: 1.5rem;
@@ -251,8 +252,8 @@ a {
color: var(--background);
}
.is-dark {
--foreground: #ffb6c1;
--background: #2a0a18bb;
--foreground: #E1F6F9;
--background: #8F2447bb;
}
@media screen and (max-width: 625px) {
#tree-nation-offset-website {