big size of legacy-theme/ts/color-schemes.js #6181
-
as shown in right side of following image legacy-theme takes a big part of production final app. (322 KB) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Uh oh! @nazarifard, at least one image you shared is missing helpful alt text. Check your discussion body to fix the following violations:
Alt text is an invisible description that helps screen readers describe images to blind or low-vision users. If you are using markdown to display images, add your alt text inside the brackets of the markdown image. Learn more about alt text at Basic writing and formatting syntax: images on GitHub Docs.
|
Beta Was this translation helpful? Give feedback.
-
Hey @nazarifard! We will likely be removing this in our next major release. We've changed how themes are utilized in Primer React, moving away from styled-components and into CSS Modules. This guide explains how to import the CSS themes for now, but until we do a major release we still need to support the older legacy JS themes. |
Beta Was this translation helpful? Give feedback.
Hey @nazarifard! We will likely be removing this in our next major release. We've changed how themes are utilized in Primer React, moving away from styled-components and into CSS Modules. This guide explains how to import the CSS themes for now, but until we do a major release we still need to support the older legacy JS themes.