suankularb-wittayalai-school / sk-components

A design system for all Suankularb applications
https://sk-components-demo.mysk.school
0 stars 1 forks source link

Better context-awareness with colors #107

Closed SiravitPhokeed closed 1 year ago

SiravitPhokeed commented 1 year ago

Is your feature request related to a problem? Please describe. The default color of components work fine on their own, but can sometimes clash when one is put on top of another. For example, a selected Chip on a Dialog has less emphasis than an unselected one because the contrast between the Chip and the Dialog is low.

Describe the solution you'd like As per one of the library’s philosophies “adaptive and aware,” the library should detect when a component is a child of another component that creates a contrast issue, and choose better default colors.

Additional context This list should be a good starting point: