The UI Team will deliver a couple key retheming assets during Q2 to enable product delivery squads to retheme their applications as easily as possible.
A common location for brand assets including logo | |
---|---|
What is it? | A shared package containing edX brand assets. Consolidating the inclusion of brand imagery from this shared package will make a logo swap easier to do at the end of Q2. This package will contain the existing edX logo until we are ready to launch the brand in January. Teams should change swap any inclusion of the edX logo from within their projects to instead include from this package. We will need to discuss a specific effort around logos in our shared headers and footers at the FEDX group in the coming weeks. |
What will this contain? |
|
How will teams consume it? | Usage is described in the readme (https://github.com/edx/brand-edx.org#usage ) An example usage in an MFE will be posted later. |
A new SASS theme for Paragon. | |
---|---|
What is it? | A new SASS theme for use with Paragon or Bootstrap-based pages. |
What will this theme change? | This theme will contain only non-breaking changes. It will contain new:
|
How will teams consume it? | This theme will live in a the new brand-edx.org pages. The usage guidelines will be added there with the new theme, but usage will likely be: // frontend-app-*/src/index.scss @import '~@edx/brand/theme.scss'; @import '~@edx/paragon/core/core.scss'; @import '~@edx/brand/overrides.scss'; This is in contrast to most MFEs which include Paragon SASS and the edX theme together. This method of inclusion will be deprecated soon: // frontend-app-*/src/index.scss @import '~@edx/paragon/scss/edx/theme.scss'; |
What do teams need to do to prepare to use this asset? | Consolidating styles on to Paragon vs. app-specific styles as much as possible will increase the impact of this theme change for teams. $blue -> $primary or theme-color('primary') $red -> $error or theme-color('error') $yellow -> $warning or theme-color('warning') $green -> $success or theme-color('success') For a full list see the color variables in Paragon. In general, I expect this to be a relatively painless swap. Please reach out to Adam Butterworth (Deactivated) if you find issues when the time comes. |
Implications for teams building features in the meantime.
If your team is building features in Paragon-based UIs before these retheme assets are delivered, avoid adding custom styling for fonts or buttons and instead ensure that they leverage Paragon components and styles.
If designs contain new colors, know that some colors will be seamlessly changed with the new Paragon theme (Primary color blue → red). For building them in can be deferred. For other colors Paragon doesn’t have any similar brand color concepts built into it so no seamless transition is possible yet. Garnet red however will be the “primary” color in the new Paragon theme so all of our dark blues should seamlessly flip with the new theme.
Color | Should we build to spec now? |
---|---|
Dark Greens “Elm” | Build now. There’s no equivalent color in Paragon themes. |
Tans “Limestone” | Build now. There’s no equivalent color in Paragon themes. |
Red “Garnet“ | Unnecessary. This color will be primary in the next theme. Today our primary is a deep blue. |
Any semantic color: warning yellow, error red, info blue, success green | No. These colors will change with the new theme. |