Closed anitsh closed 3 years ago
Spending some time in analysis and attempting to implementing new design system, I have come to realize that it will takes longer and more time to completely upgrade. And this process needs to be small incremental steps. Hence this task is closed.
Some of the Primer
components has been integrated but the complete Theme
integration by moving the Theme to the existing platform is not done as the existing implementation style differs significantly. For the further analysis of Primer is done at https://github.com/codeanit/til/issues/198
Objective: Analyze and implement a design system.
What is Design System? Link
Problem:
The current theme system does not follow Theme Specification.
Context:
Emotion is used as Style System at the moment. And there isn't any standard design system implemented.
Emotion is a library designed for writing css styles with JavaScript. It provides powerful and predictable style composition in addition to a great developer experience with features such as source maps, labels, and testing utilities. Both string and object styles are supported. https://emotion.sh/docs/introduction
'emotion-theming' package from Emotion is used for theming. Theming is accomplished by placing the
ThemeProvider
component at the top of the React component tree and wrapping descendants with thewithTheme
higher-order component.https://emotion.sh/docs/theming https://emotion.sh/docs/emotion-theming
Design Systems Under Review: