@codecademy/brand-components

Brand component library for Codecademy

Usage no npm install needed!

<script type="module">
  import codecademyBrandComponents from 'https://cdn.skypack.dev/@codecademy/brand-components';
</script>

README

Brand Components

Component Guidelines

The Brand Components package will be used for components that are more experimental or tied to brand representation. These are components that might be more frequently subject to style updates do their nature, but are not just solely used in the main Codecademy monolith app. (e.g., a brand component might also be used in a Gatsby hosted campaign page)

See the Gamut FAQs for more details.

box-sizing

Brand Components expect box-sizing: border-box to be applied to all elements on the page globally. If it isn't there already, add something like this to your application's global stylesheet:

*,
*::before,
*::after {
  box-sizing: border-box;
}