diff --git a/components/colors/colors.js b/components/colors/colors.js index 4166045d61e..2cf5cb70890 100644 --- a/components/colors/colors.js +++ b/components/colors/colors.js @@ -1,5 +1,3 @@ -import '@webcomponents/shadycss/entrypoints/custom-style-interface.js'; - if (!document.head.querySelector('#d2l-colors')) { const style = document.createElement('style'); style.id = 'd2l-colors'; @@ -94,5 +92,4 @@ if (!document.head.querySelector('#d2l-colors')) { } `; document.head.appendChild(style); - window.ShadyCSS.CustomStyleInterface.addCustomStyle(style); } diff --git a/components/html-block/html-block.js b/components/html-block/html-block.js index e32b68606cb..532f5a42324 100644 --- a/components/html-block/html-block.js +++ b/components/html-block/html-block.js @@ -70,13 +70,13 @@ export const htmlBlockContentStyles = css` a:visited, a:link, a:active { - color: var(--d2l-color-celestine); + color: var(--d2l-color-celestine, #006fbf); cursor: pointer; text-decoration: none; } a:hover, a:focus { - color: var(--d2l-color-celestine-minus-1); + color: var(--d2l-color-celestine-minus-1, #004489); outline-width: 0; text-decoration: underline; } @@ -85,7 +85,7 @@ export const htmlBlockContentStyles = css` a:visited, a:link, a:active { - color: var(--d2l-color-ferrite); + color: var(--d2l-color-ferrite, #494c4e); } } mjx-assistive-mml math { diff --git a/components/typography/typography.js b/components/typography/typography.js index 2c680cb33ed..f4190eb1684 100644 --- a/components/typography/typography.js +++ b/components/typography/typography.js @@ -1,4 +1,3 @@ -import '@webcomponents/shadycss/entrypoints/custom-style-interface.js'; import '../colors/colors.js'; export const importUrl = 'https://s.brightspace.com/lib/fonts/0.5.0/assets/'; @@ -144,5 +143,4 @@ if (!document.head.querySelector('#d2l-typography-font-face')) { } `; document.head.appendChild(style); - window.ShadyCSS.CustomStyleInterface.addCustomStyle(style); } diff --git a/package-lock.json b/package-lock.json index c28c06ca3e0..c702b9805a3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1285,11 +1285,6 @@ } } }, - "@webcomponents/shadycss": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/@webcomponents/shadycss/-/shadycss-1.11.0.tgz", - "integrity": "sha512-L5O/+UPum8erOleNjKq6k58GVl3fNsEQdSOyh0EUhNmi7tHUyRuCJy1uqJiWydWcLARE5IPsMoPYMZmUGrz1JA==" - }, "abbrev": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", diff --git a/package.json b/package.json index 2050ecb2a76..264053a2c95 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,6 @@ "@brightspace-ui/intl": "^3", "@formatjs/intl-pluralrules": "^1", "@open-wc/dedupe-mixin": "^1", - "@webcomponents/shadycss": "^1", "focus-visible": "^5", "ifrau": "^0.39", "intl-messageformat": "^7",