You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** When true, text is pushed to the bottom of its text-box (making it "on grid" as the total heigth is rounded to a multiple of 4px), when false it is centered within the text-box. Only works when variant is "ui"
8
8
* @default false
9
9
*/
10
-
onGrid?: boolean
11
-
/** header: uses the "equinor" typeface. Please use the "as" prop to assign the correct header level when variant is header. Always "on grid"
12
-
* body: uses "inter" typeface. Is always "on grid"
13
-
* ui: uses inter typeface. For use in ui components such as buttons, tabs, chips etc. Unlocks "onGrid" prop which is false by default to center text vertically.
10
+
baselined?: boolean
11
+
/** header: uses the "equinor" typeface. Please use the "as" prop to assign the correct header level when variant is header. Always "baselined"
12
+
* body: uses "inter" typeface. Is always "baselined"
13
+
* ui: uses inter typeface. For use in ui components such as buttons, tabs, chips etc. Unlocks "baselined" prop which is false by default to center text vertically.
/*TODO: determine if --override-text-color/link-color is needed or if inherit covers all the bases. override overrides all, while inherit only applies when color prop is not set*/
0 commit comments