[COMPASS-5288] Add theme context to compass-components Created: 12/Nov/21  Updated: 18/Mar/22  Resolved: 18/Mar/22

Status: Closed
Project: Compass
Component/s: UI / UX
Affects Version/s: None
Fix Version/s: No version

Type: Task Priority: Major - P3
Reporter: Rhys Howell Assignee: Unassigned
Resolution: Done Votes: 0
Labels: dark-mode
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on COMPASS-5289 Add theme context to Confirmation Mod... Closed
Epic Link: COMPASS-4448
Story Points: 3
Documentation Changes: Not Needed

 Description   

Now that we have a context that can provide the theme to components, we can add the context pulling to compass-components. We have one component already using this context as a reference (linked dependency ticket).

We'll want to get the theme in these compass-components:

  • Button
  • Icon button
  • Card
  • Checkbox
  • TextArea
  • TextInput
  • Modal
  • FileInput
  • Tooltip
  • Toggle
  • Tabs
  • Menu
  • Select

If any of these end up requiring additional configurations we can break it into another ticket.



 Comments   
Comment by Rhys Howell [ 18/Mar/22 ]

Done as part of https://jira.mongodb.org/browse/COMPASS-5520

Generated at Wed Feb 07 22:39:04 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.