Element | Property | Color token |
---|
Container | background-color | $layer-01 |
| background-color | $layer-02 |
| background-color | $background-inverse |
The width and height of a popover container can vary depending on the amount of
content within it. We recommend to not exceed a popover width size of four
columns.
Element | Property | px / rem | Spacing token |
---|
Container | max-width | 352 / 22 | – |
| padding | 16 / 1 | $spacing-05 |
Caret tip | height, width | 8 / .5 | – |
| margin-top | 4 / .25 | $spacing-02 |
Structure and spacing measurements a popover container. | px / rem
Structure and spacing measurements between a popover container and trigger button. | px / rem