You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we expose the exact colors we are using in the codebase to the SDK: brand, text-dark, text-light and text-medium. The text-* colors currently represent the different tints, where text-dark is darker than text-light.
This is problematic for dark-themed SDK users, as for dark themes those names could have the opposite semantic. We could remap these colors in the publicly-exposed theme configuration so that they're theme agnostic - so they have good meaning in both dark and light themes.
text-dark to text-primary
text-medium to text-secondary
text-light to text-tertiary
The text was updated successfully, but these errors were encountered:
heypoom
changed the title
Rename color scheme names to be theme-agnostic in embedding SDK
Remap color scheme names to be theme-agnostic in embedding SDK
May 16, 2024
Currently we expose the exact colors we are using in the codebase to the SDK:
brand
,text-dark
,text-light
andtext-medium
. Thetext-*
colors currently represent the different tints, wheretext-dark
is darker thantext-light
.This is problematic for dark-themed SDK users, as for dark themes those names could have the opposite semantic. We could remap these colors in the publicly-exposed theme configuration so that they're theme agnostic - so they have good meaning in both dark and light themes.
text-dark
totext-primary
text-medium
totext-secondary
text-light
totext-tertiary
The text was updated successfully, but these errors were encountered: