3

The styles are actually messed up in the preview, too, but it's harder to tell because of the nearly-white background of a Lightning App. In the Lightning Experience, the branding is applied, which includes a blue background. This is where the difference in appearance comes from. Try adding a colored background to the app and you'll see what I mean. You'll ...


1

I am not completely sure what it is that you mean when you say "current record" but I imagine that it's related to some sort of event like onclick, onkeyup, etc. As @rahulgawale mentioned you can leverage the use of HTML's data attributes. From the documentation: data-* attributes allow us to store extra information on standard, semantic HTML ...


1

I think its a known issue with LightningOut App. I was also facing similar issue. Only the difference was I'd include Lightning Web Component in a Lightning App. And this Lightning App was loaded in Visualforce Page. When I enabled different theme and loaded this page in the browser, the brand color gets overridden. Further in the browser console, I observed ...


Only top voted, non community-wiki answers of a minimum length are eligible