From 25ec9f8e2a9e29b9460ab6541f99e03436e1d591 Mon Sep 17 00:00:00 2001 From: Naomi Carrigan Date: Fri, 4 Jul 2025 14:30:25 -0700 Subject: [PATCH] feat: add id to programmatically remove custom styling (#3) ### Explanation _No response_ ### Issue _No response_ ### Attestations - [x] I have read and agree to the [Code of Conduct](https://docs.nhcarrigan.com/community/coc/) - [x] I have read and agree to the [Community Guidelines](https://docs.nhcarrigan.com/community/guide/). - [x] 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 - [x] I have run the linter and resolved any errors. - [x] My pull request uses an appropriate title, matching the conventional commit standards. - [x] 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: https://git.nhcarrigan.com/nhcarrigan/website-headers/pulls/3 Co-authored-by: Naomi Carrigan Co-committed-by: Naomi Carrigan --- src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.ts b/src/index.ts index 6089c8d..6675ad0 100644 --- a/src/index.ts +++ b/src/index.ts @@ -105,6 +105,7 @@ largeIcon.href = "https://cdn.nhcarrigan.com/favicon/favicon-32x32.png"; // #region Styles const styles = document.createElement("style"); +styles.id = "nhcarrigan-global-styles"; styles.innerHTML = ` @font-face { font-family: 'OpenDyslexic';