mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 00:40:14 +01:00
🚹 feat: Miscellaneous Accessibility Improvements (#10913)
* 🔱 fix: Fork Menu Accessibility Improvements (#10910) * feat: more accessible aria-label for fork button * fix: alignment between text and checkbox * feat: add text change on focus for parity with on hover for keyboard accessibility * 🤔 fix: Programmatic Expansion State for Thinking Button (#10912) * 🙋♂️ feat: Accessible Default User Icon Colors (#10909) * fix: downshift values for all non-compliant default bg-colors for user icons to achieve 4.5:1 contrast threshold minimums with text * 🚪 feat: Open Sidebar Label Accessibility (#10893) * feat: more accessible labelling on open / close sidebar
This commit is contained in:
parent
abcf606328
commit
4a0fbb07bc
5 changed files with 88 additions and 34 deletions
|
|
@ -25,6 +25,24 @@ const useAvatar = (user: TUser | undefined) => {
|
|||
seed,
|
||||
fontFamily: ['Verdana'],
|
||||
fontSize: 36,
|
||||
backgroundType: ['solid'],
|
||||
backgroundColor: [
|
||||
'd81b60',
|
||||
'8e24aa',
|
||||
'5e35b1',
|
||||
'3949ab',
|
||||
'DB3733',
|
||||
'1B79CC',
|
||||
'027CB8',
|
||||
'008291',
|
||||
'008577',
|
||||
'58802F',
|
||||
'8A761D',
|
||||
'9C6D00',
|
||||
'B06200',
|
||||
'D1451A',
|
||||
],
|
||||
textColor: ['ffffff'],
|
||||
});
|
||||
|
||||
let avatarDataUri = '';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue