diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 75a4a460a48b..bd31027e7fc4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1396,9 +1396,6 @@ importers: '@automattic/jetpack-analytics': specifier: workspace:* version: link:../analytics - '@automattic/jetpack-base-styles': - specifier: workspace:* - version: link:../base-styles '@automattic/jetpack-components': specifier: workspace:* version: link:../components @@ -1417,6 +1414,9 @@ importers: '@wordpress/api-fetch': specifier: 8.0.0 version: 8.0.0 + '@wordpress/base-styles': + specifier: 14.0.0 + version: 14.0.0 '@wordpress/block-editor': specifier: 19.0.0 version: 19.0.0(@types/react@19.3.0)(react-dom@19.3.0(react@19.3.0))(react@19.3.0) diff --git a/projects/js-packages/shared-extension-utils/changelog/update-jetpack-2754-shared-extension-utils-base-styles b/projects/js-packages/shared-extension-utils/changelog/update-jetpack-2754-shared-extension-utils-base-styles new file mode 100644 index 000000000000..c995705fa958 --- /dev/null +++ b/projects/js-packages/shared-extension-utils/changelog/update-jetpack-2754-shared-extension-utils-base-styles @@ -0,0 +1,5 @@ +Significance: patch +Type: changed +Comment: Depend on @wordpress/base-styles directly instead of the jetpack-base-styles wrapper. No change to the built CSS. + + diff --git a/projects/js-packages/shared-extension-utils/package.json b/projects/js-packages/shared-extension-utils/package.json index a67e1669ff21..5aae8928da32 100644 --- a/projects/js-packages/shared-extension-utils/package.json +++ b/projects/js-packages/shared-extension-utils/package.json @@ -29,13 +29,13 @@ "dependencies": { "@automattic/color-studio": "4.1.0", "@automattic/jetpack-analytics": "workspace:*", - "@automattic/jetpack-base-styles": "workspace:*", "@automattic/jetpack-components": "workspace:*", "@automattic/jetpack-connection": "workspace:*", "@automattic/jetpack-script-data": "workspace:*", "@automattic/jetpack-shared-stores": "workspace:*", "@types/jest": "30.0.0", "@wordpress/api-fetch": "8.0.0", + "@wordpress/base-styles": "14.0.0", "@wordpress/block-editor": "19.0.0", "@wordpress/components": "43.0.0", "@wordpress/compose": "9.0.0", diff --git a/projects/js-packages/shared-extension-utils/src/icons.scss b/projects/js-packages/shared-extension-utils/src/icons.scss index 5099fbb2d98d..b01ac93f1ad4 100644 --- a/projects/js-packages/shared-extension-utils/src/icons.scss +++ b/projects/js-packages/shared-extension-utils/src/icons.scss @@ -1,7 +1,7 @@ -@use "@automattic/jetpack-base-styles/gutenberg-base-styles" as gb; +@use "@wordpress/base-styles/colors"; .jetpack-gutenberg-social-icon { - fill: gb.$gray-700; + fill: colors.$gray-700; &.is-facebook { fill: var(--jetpack-social-logo-color-facebook);