Royal-Navy / design-system

Build web applications that meet the Royal Navy service standards
https://storybook.design-system.navy.digital.mod.uk
Apache License 2.0
108 stars 32 forks source link

`styled-components` Context Provider (CSS Framework deprecation) #2344

Closed hxltrhuxze closed 3 years ago

hxltrhuxze commented 3 years ago

As we are moving the Design System to Styled Components, we should look to deprecate the CSS Framework package. In order to do so, we should create a <ContextProvider> component that wraps applications using the RNDS. This provider would contain everything in the CSS framework that isn't currently covered by Styled Components.

Acceptance criteria

thyhjwb6 commented 3 years ago

My suggestion is that we break this into three separate parts so we could investigate and deprecate first and then implement the main change after.

m7kvqbe1 commented 3 years ago

We have broken the context / theming part of this out into a separate ticket: https://github.com/Royal-Navy/design-system/issues/2351