Skip to content

Commit

Permalink
add note about glass variant contrast
Browse files Browse the repository at this point in the history
  • Loading branch information
joshfarrant committed Jan 23, 2025
1 parent bd7048c commit c717a98
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/docs/content/components/IDE.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,8 @@ See Storybook for a comprehensive example of the Chat feature, inclusive of synt

A `glass` variant is available to simplify placement of the `IDE` on background images. This variant adds alpha transparency and background blurring.

When using the `glass` variant, pay close attention to the background image behind the tabs of the `IDE.Editor`. Ensure there is sufficient contrast between the text and the background on inactive tabs.

```jsx live
<Box
padding={48}
Expand Down

0 comments on commit c717a98

Please sign in to comment.