Groww-OSS / ui-toolkit

Standard UI Library adopted in Groww. Customized as per requirement and preferences of devs in Groww.
MIT License
0 stars 0 forks source link

Move Theming/styles to ui-toolkit #11

Closed QYQKJikVDuSxdXxHplIapIxLN8ibP0IfVSRhNnP closed 3 years ago

QYQKJikVDuSxdXxHplIapIxLN8ibP0IfVSRhNnP commented 3 years ago

Like components, the default theming should also be provided by the library itself. Cause theme is also an integral part of the design and should have a single source of truth.

Still, to be flexible we will provide the option for the user to define their own theming or alter the current one.

To use the default theming as it is the user will simply have to import our custom file provided by the library. Note the theming classes provided will be used by other elements as well which are not part of the ui-toolkit. For example import @ui-toolkit/typography.css can be imported and you can use the custom classes anywhere inside the project

UprCQ79Wj0ra39h16r9sf0Whs1U8C1wBMBso6yc commented 3 years ago

base-css created.