Skip to content

Commit 5c038a1

Browse files
committed
Add width height scope to line height tokens
1 parent 6ca2aba commit 5c038a1

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

tokens/figma/utils/constants.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ export const VARIABLE_SCOPES = {
2828
LINE_HEIGHT: "LINE_HEIGHT",
2929
FONT_FAMILY: "FONT_FAMILY",
3030
TEXT_CONTENT: "TEXT_CONTENT",
31+
WIDTH_HEIGHT: "WIDTH_HEIGHT",
3132
};
3233

3334
export const BRANDS = {

tokens/figma/variables.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ export const getNonColorVariables = (
114114
variableScopes: [
115115
VARIABLE_SCOPES.LINE_HEIGHT,
116116
VARIABLE_SCOPES.TEXT_CONTENT,
117+
VARIABLE_SCOPES.WIDTH_HEIGHT,
117118
],
118119
hasAlias: false,
119120
},

0 commit comments

Comments
 (0)