Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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.

...

...

What is it?

...

https://github.com/edx/brand-edx.org#usage is a shared package containing edX brand assets.

...

Installation and usage is described in the README https://github.com/edx/brand-edx.org and follows the proposal in OEP-48.

This package contains:

Logo

  • logo.svg

  • logo-trademark.svg

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?

  • logo.svg

  • logo-trademark.svg

  • It may contain favicon.ico (tbd)

How will teams consume it?

Usage is described in the readme (Paragon Theme

/paragon/theme.scss
/paragon/overrides.scss

The new SASS theme for Paragon. It is Bootstrap compatible so it should work with any Bootstrap based styling.

The usage is described in 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:

  • Colors

  • Fonts and typography

  • Link styles

  • Button styles

  • Border radiuses on a variety of elements (forms, dropdowns, etc)

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 beorg and https://edx.github.io/paragon/ docs. It looks like below:

Code Block
languagesass
// 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 usage contrasts to most MFEs which include Paragon SASS and the edX theme together. This method of inclusion will be deprecated soon:is no longer supported with the new edX theme.

Code Block
languagesass
// frontend-app-*/src/index.scss
@import '~@edx/paragon/scss/edx/theme.scss';

TBD Favicon

  • favicon.ico

Applying the new theme

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.

...

Usage of color variables in app SASS like $blue should be swapped with the semantic variables like $primary.

Code Block
$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 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.

Semantic Color

Should we build to spec now?Legacy

New

Primary

Blue

Dark Greens Green “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.

Grays
Defined in Bootstrap Gray-100 through Gray-900

Grays

Tans “Limestone”

Brand (New)

None

Red “Garnet“

Warning
Danger
Info
Success

Yellow
Red
Light Blue
Green

Oxide Yellow
- no change -
Isotope Blue
- no change -