iceshatt3r
iceshatt3r
Ok for future reference it's escaping issue in Code.compile_string https://github.com/BeaconCMS/beacon/blob/823cfa135acd47bb740f1f6c513f91616a0e5a7a/lib/beacon/loader/module_loader.ex#L6 How tailwind code should look like ``` @media (min-width: 768px) { .md\:text-red-400 { --tw-text-opacity: 1; color: rgb(248 113 113 /...
@leandrocp This code is generated by https://github.com/BeaconCMS/beacon/blob/main/lib/beacon/css_compiler.ex#L27 and I assume it goes here https://github.com/BeaconCMS/beacon/blob/main/lib/beacon/loader/layout_module_loader.ex#L46 Somewhere in between loosing single backslash since the output of `md:\display` is actually `md:display` in ``...
Thanks for clarifying :) The tailwind code from screenshot is saved in Beacon.Layouts.Layout body, the page has only inside. I created layout with tailwind code inside first and after that...