Default z-index design tokens #901
-
Hi Team! Default theme seems to have z-index tokens starting from 0 and ending with 90, while for Legacy it's from 2000 to 2090. See: https://paste.twilio.design/tokens Right now when I'm trying to use default theme in Console, modal's dark background won't cover console nav and header. Thank you in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi @henrieri Yes that token value difference is intentional. The default theme is intended to be used with the new Console navigation and header, so the lower number values in the default theme will work. @hharnisc do you know if there is a way for downstream teams to know they are using the new navigation? If so, they could switch themes based on some sort of flag. |
Beta Was this translation helpful? Give feedback.
-
@richbachman thank you for a quick answer. If there's an account flag for it, it would be quite easy to check. |
Beta Was this translation helpful? Give feedback.
Hi @henrieri
Yes that token value difference is intentional. The default theme is intended to be used with the new Console navigation and header, so the lower number values in the default theme will work.
@hharnisc do you know if there is a way for downstream teams to know they are using the new navigation? If so, they could switch themes based on some sort of flag.