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
In UXP, importing themes from @spectrum-web-components/theme should add stylesheets to the document for CSS variable references by SWC components.
Note: I am aware that the <sp-theme> component is not officially supported in UXP (see documentation here), but prior versions had been loading styles correctly. I will be using version 0.42.5 as an example.
Actual behavior
Importing themes and using <sp-theme> provider does not add stylesheets to the document. As a result, components that rely on Adobe styling do not render with correct styles.
Screenshots
UXP Plugin with version 0.42.5 dependencies:
UXP Plugin with version 1.1.1 dependencies:
What browsers are you seeing the problem in?
No response
How can we reproduce this issue?
For simple testing, I used this Adobe example starter project. These steps for reproduction outline a comparison between versions 0.42.5 and 1.1.1 to emphasize the difference in behaviors between a version known to work in UXP (0.42.5) and the latest (1.1.1).
For reference, this bug was observed in Adobe Photoshop 2024, running on macOS Sonoma 14.1.1.
Update the dependencies in the package.json file by running the following commands:
Code of conduct
Impacted component(s)
Theme
Expected behavior
In UXP, importing themes from
@spectrum-web-components/theme
should add stylesheets to the document for CSS variable references by SWC components.Note: I am aware that the
<sp-theme>
component is not officially supported in UXP (see documentation here), but prior versions had been loading styles correctly. I will be using version 0.42.5 as an example.Actual behavior
Importing themes and using
<sp-theme>
provider does not add stylesheets to the document. As a result, components that rely on Adobe styling do not render with correct styles.Screenshots
UXP Plugin with version 0.42.5 dependencies:

UXP Plugin with version 1.1.1 dependencies:

What browsers are you seeing the problem in?
No response
How can we reproduce this issue?
For simple testing, I used this Adobe example starter project. These steps for reproduction outline a comparison between versions 0.42.5 and 1.1.1 to emphasize the difference in behaviors between a version known to work in UXP (0.42.5) and the latest (1.1.1).
For reference, this bug was observed in Adobe Photoshop 2024, running on macOS Sonoma 14.1.1.
package.json
file by running the following commands:npm run build
dist/manifest.json
and pressing "Load"Sample code or abstract reproduction which illustrates the problem
No response
Severity
SEV 2
Logs taken while reproducing problem
No response
The text was updated successfully, but these errors were encountered: