Banda-Media/lunchMemo

[BUG] Tailwind Extending

Closed this issue · 1 comments

Describe the bug
Need to verify that Tailwind config files work as intended and that the current CSS setup is functioning. Currently the background class does NOT get created during the proper build process, however does work in the dev mode.

To Reproduce
Steps to reproduce the behavior:

  1. yarn build
  2. yarn start (background will be white)
    Normal:
  3. yarn dev (backgrounds will change on demand)

Expected behavior

Backgrounds should change

Screenshots

https://lunch-memo-git-feat-auto-bg.andresmweber.vercel.app/

Device

  • Windows Desktop
  • Linux Desktop
  • MacOS Desktop
  • iOS device
  • Android device

Browser

  • Chrome
  • Firefox
  • Safari
  • Opera (wtf)
  • IE/Edge (wtf)

(optional) Additional Info

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

This was due to PurgeCSS purging all runtime dynamically applied classes as intended. Adding a whitelist allowed overriding that behavior and was fixed in #172