From 4adcb8c938cdc9775c135ecee4a8759a3ea4be02 Mon Sep 17 00:00:00 2001 From: Cory LaViska Date: Tue, 25 Jan 2022 17:09:53 -0500 Subject: [PATCH] fixes #571 --- docs/resources/changelog.md | 1 + scripts/build.js | 4 +- scripts/make-css.js | 42 --- scripts/make-themes.js | 62 ++++ src/styles/component.styles.ts | 6 - src/styles/utility.styles.ts | 23 -- src/themes/_utility.css | 25 ++ src/themes/dark.css | 522 ++++++++++++++++++++++++++++++++ src/themes/dark.styles.ts | 524 --------------------------------- src/themes/light.css | 522 ++++++++++++++++++++++++++++++++ src/themes/light.styles.ts | 524 --------------------------------- 11 files changed, 1134 insertions(+), 1121 deletions(-) delete mode 100644 scripts/make-css.js create mode 100644 scripts/make-themes.js delete mode 100644 src/styles/utility.styles.ts create mode 100644 src/themes/_utility.css create mode 100644 src/themes/dark.css delete mode 100644 src/themes/dark.styles.ts create mode 100644 src/themes/light.css delete mode 100644 src/themes/light.styles.ts diff --git a/docs/resources/changelog.md b/docs/resources/changelog.md index e247d2e9..c0e03e47 100644 --- a/docs/resources/changelog.md +++ b/docs/resources/changelog.md @@ -11,6 +11,7 @@ _During the beta period, these restrictions may be relaxed in the event of a mis - Fixed a bug that caused `` to render the wrong size when `--track-width` was increased [#656](https://github.com/shoelace-style/shoelace/issues/656) - Implemented stricter linting to improve consistency and reduce errors, which resulted in many small refactors throughout the codebase [#647](https://github.com/shoelace-style/shoelace/pull/647) - Improved accessibility of `` and `` by making the title an `

` and adding a label to the close button +- Refactored themes so utility styles are no longer injected as `