7.3: How to build a theme compatible with stylebooks and master pages?7.3: How to build a theme compatible with stylebooks and master pages?https://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=1207359022024-03-28T08:52:55Z2024-03-28T08:52:55ZRE: 7.3: How to build a theme compatible with stylebooks and master pages?Fernando Fernandezhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1211963152021-10-13T14:24:29Z2021-10-13T14:24:27Z<p>Meanwhile I've found this documentation about the CSS variables that
a theme declares and constitute the Stylebook structure:</p>
<p>
<a href="https://learn.liferay.com/dxp/latest/en/site-building/site-appearance/style-books/developer-guide/style-book-token-definitions.html">https://learn.liferay.com/dxp/latest/en/site-building/site-appearance/style-books/developer-guide/style-book-token-definitions.html</a> </p>
<p>While I apreciate the advantages of stylebooks, master pages, etc.,
there are still some use cases when we need to come up with a theme of
our own. </p>
<p>I my current situation I just need to change the favicon - a
customization we're not able to do on the new 7.3 UI.</p>
<p> </p>
<p>Thanks Olaf</p>Fernando Fernandez2021-10-13T14:24:27ZRE: RE: 7.3: How to build a theme compatible with stylebooks and master pagFernando Fernandezhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1207411802021-04-22T13:50:33Z2021-04-22T13:50:33Z<p>No precise requirement ATM.</p>
<p>Let's imagine we have a heavy customized theme with lots of legacy
extras. We would like to make it compatible with stylebooks withou
having to change a lot of logic. </p>
<p>To evaluate this posibility, we would like to understand a little
better how to support the new features in themes. </p>
<p>Hence the question. :-)</p>Fernando Fernandez2021-04-22T13:50:33ZRE: RE: 7.3: How to build a theme compatible with stylebooks and master pagOlaf Kockhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1207393122021-04-22T12:37:55Z2021-04-22T12:37:55Z<p>well... yeah. The funny stuff usually requires a developer and a
redeployment to publish any updates, thus it makes it quite hard to
push some updated requirement to production. The new technique just
requires UI updates, no redeployment.</p>
<p>I'm not saying you should change your plans, but maybe it's time to
unlearn old habits. (Keyword, seriously, is "maybe". I'm not
implying anything). I'm famous for asking "what do you actually
want to achieve with this?" - maybe there's a quick way to point
out how to solve funny things with MP/SB/Classic. If there isn't, you
can still go back to the custom theme.</p>
<p>So far, let's make sure this isn't a <a
href="https://xyproblem.info/">x-y problem</a>.</p>Olaf Kock2021-04-22T12:37:55ZRE: RE: 7.3: How to build a theme compatible with stylebooks and master pagFernando Fernandezhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1207410932021-04-22T09:25:33Z2021-04-22T09:25:33Z<p>Well... yes but we are used to do lots of funny stuff with themes. ;-)</p>
<p>It would be nice to keep the dubious but useful practices of theme
tweaking while taking advantage of the new stuff. </p>
<p> </p>Fernando Fernandez2021-04-22T09:25:33ZRE: 7.3: How to build a theme compatible with stylebooks and master pages?Olaf Kockhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1207361002021-10-13T14:25:12Z2021-04-21T12:38:55Z<p>The proposed beauty is that you don't need to, as
classic+stylebooks+master pages should bring you a long way...</p>Olaf Kock2021-04-21T12:38:55Z7.3: How to build a theme compatible with stylebooks and master pages?Fernando Fernandezhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1207359012021-04-21T09:22:51Z