From 15148818c45b63f37475b60ca5616b884e43181b Mon Sep 17 00:00:00 2001 From: taysea Date: Tue, 29 Oct 2024 20:38:29 +0000 Subject: [PATCH] Update tokens from Figma --- .../tokens/component/element.default.json | 28 +++++++++---------- design-tokens/tokens/semantic/color.dark.json | 12 ++++---- .../tokens/semantic/color.light.json | 12 ++++---- package.json | 4 +-- yarn.lock | 7 +---- 5 files changed, 29 insertions(+), 34 deletions(-) diff --git a/design-tokens/tokens/component/element.default.json b/design-tokens/tokens/component/element.default.json index 744e414b4..e7ac36774 100644 --- a/design-tokens/tokens/component/element.default.json +++ b/design-tokens/tokens/component/element.default.json @@ -123,6 +123,20 @@ } } }, + "icon": { + "size": { + "$type": "number", + "$value": "{size.icon.xsmall}", + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["WIDTH_HEIGHT"], + "codeSyntax": {} + } + } + } + }, "width": { "$type": "number", "$value": "{base.dimension.600}", @@ -146,20 +160,6 @@ "codeSyntax": {} } } - }, - "icon": { - "size": { - "$type": "number", - "$value": "{size.icon.xsmall}", - "$description": "", - "$extensions": { - "com.figma": { - "hiddenFromPublishing": false, - "scopes": ["WIDTH_HEIGHT"], - "codeSyntax": {} - } - } - } } }, "small": { diff --git a/design-tokens/tokens/semantic/color.dark.json b/design-tokens/tokens/semantic/color.dark.json index a5c6ebb91..60a41a22a 100644 --- a/design-tokens/tokens/semantic/color.dark.json +++ b/design-tokens/tokens/semantic/color.dark.json @@ -469,29 +469,29 @@ } } }, - "inverse": { + "heading": { "default": { "$type": "color", - "$value": "{base.color.grey.1200}", + "$value": "{color.text.strong}", "$description": "", "$extensions": { "com.figma": { "hiddenFromPublishing": false, - "scopes": ["TEXT_FILL"], + "scopes": ["ALL_SCOPES"], "codeSyntax": {} } } } }, - "heading": { + "inverse": { "default": { "$type": "color", - "$value": "{color.text.strong}", + "$value": "{base.color.grey.1200}", "$description": "", "$extensions": { "com.figma": { "hiddenFromPublishing": false, - "scopes": ["ALL_SCOPES"], + "scopes": ["TEXT_FILL"], "codeSyntax": {} } } diff --git a/design-tokens/tokens/semantic/color.light.json b/design-tokens/tokens/semantic/color.light.json index e85d47313..0a2617f6b 100644 --- a/design-tokens/tokens/semantic/color.light.json +++ b/design-tokens/tokens/semantic/color.light.json @@ -469,29 +469,29 @@ } } }, - "inverse": { + "heading": { "default": { "$type": "color", - "$value": "{base.color.white.100}", + "$value": "{color.text.strong}", "$description": "", "$extensions": { "com.figma": { "hiddenFromPublishing": false, - "scopes": ["TEXT_FILL"], + "scopes": ["ALL_SCOPES"], "codeSyntax": {} } } } }, - "heading": { + "inverse": { "default": { "$type": "color", - "$value": "{color.text.strong}", + "$value": "{base.color.white.100}", "$description": "", "$extensions": { "com.figma": { "hiddenFromPublishing": false, - "scopes": ["ALL_SCOPES"], + "scopes": ["TEXT_FILL"], "codeSyntax": {} } } diff --git a/package.json b/package.json index 1cd5a7402..ee81cd5c7 100644 --- a/package.json +++ b/package.json @@ -21,9 +21,9 @@ "eslint-plugin-prettier": "^4.2.1", "eslint-plugin-react": "^7.31.11", "eslint-plugin-react-hooks": "^4.6.0", + "husky": "^8.0.0", "jest": "^27.5.1", - "prettier": "^2.8.8", - "husky": "^8.0.0" + "prettier": "^2.8.8" }, "workspaces": [ "aries-core", diff --git a/yarn.lock b/yarn.lock index 58cb9f6a3..5ac4146ef 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7355,12 +7355,7 @@ graphlib@^2.1.5: dependencies: lodash "^4.17.15" -grommet-icons@^4.12.1: - version "4.12.1" - resolved "https://registry.yarnpkg.com/grommet-icons/-/grommet-icons-4.12.1.tgz#780aa7cd59c5586f642f221bdb5c6becd04ad000" - integrity sha512-LhOP6BkDAGiSNcUOfsGGRo+AKD6zWOXeNeusY1WYvKplAR6mKCAQfH7Nig2Buc/v5zadKSko2NDtCQqwJaME0Q== - -"grommet-icons@https://github.com/grommet/grommet-icons/tarball/stable": +grommet-icons@^4.12.1, "grommet-icons@https://github.com/grommet/grommet-icons/tarball/stable": version "4.12.1" resolved "https://github.com/grommet/grommet-icons/tarball/stable#92f4e88ab19fa618a4952ac74802f606bf44c207"