Open jemoon opened 4 months ago
Hi @jemoon. Thank you for your report.
To speed up processing of this issue, make sure that you provided sufficient information.
Add a comment to assign the issue: @magento I am working on this
Join Magento Community Engineering Slack and ask your questions in #github channel.
@adobe export issue to JIRA project PWA as Bug
:white_check_mark: Jira issue https://jira.corp.adobe.com/browse/PWA-3364 is successfully created for this GitHub issue.
Describe the bug
After new theme creation (according to: https://developer.adobe.com/commerce/pwa-studio/guides/theming/#create-a-new-theme) there are multiple error notices shown in console during compilation f.eg
/components/Header/currencySwitcher.module.css The '-sm' screen does not exist in your theme
To reproduce
Steps to reproduce the behavior:
my-theme-preset.js
with following content:module.exports = { theme: { extend: { fontFamily: { sans: ["Courier", "sans-serif"], }, }, }, };
tailwind.config.js
by placing following line:const myThemePreset = require("./my-theme-preset");
presets: [venia, myThemePreset]
Expected behavior
Compilation process should be finished withour any errors.
Please complete the following device information:
Please let us know what packages this bug is in regards to:
venia-concept
venia-ui
pwa-buildpack
peregrine
pwa-devdocs
upward-js
upward-spec
create-pwa