<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Themelet is not reflecting in Liferay7</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=97099978" />
  <subtitle>Themelet is not reflecting in Liferay7</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=97099978</id>
  <updated>2026-04-04T22:46:41Z</updated>
  <dc:date>2026-04-04T22:46:41Z</dc:date>
  <entry>
    <title>RE: Themelet is not reflecting in Liferay7</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111183706" />
    <author>
      <name>Michael Adamczyk</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111183706</id>
    <updated>2018-10-10T13:55:34Z</updated>
    <published>2018-10-10T13:55:34Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;p&gt;Hi, you're putting these&lt;/p&gt;
&lt;p&gt;
  &lt;code&gt;/* inject:imports */&lt;/code&gt;
  &lt;br&gt;
  &lt;code&gt;/* endinject */&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;in the wrong place.&lt;/p&gt;
&lt;p&gt;They should en up in your theme's "_custom.scss" file, not
  the one in your themelet. You'll be needing that theme, otherwise you
  would not be able to extend it with the themelet.&lt;/p&gt;
&lt;p&gt;A themelet is not something you just deploy like a themelet.&lt;/p&gt;
&lt;p&gt;If you would have some custom JS, you will need to edit the
  "portal-normal.ftl" file in your theme, otherwise the JS
  from the themelet won't get injected.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Michael Adamczyk</dc:creator>
    <dc:date>2018-10-10T13:55:34Z</dc:date>
  </entry>
  <entry>
    <title>RE: Themelet is not reflecting in Liferay7</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110589664" />
    <author>
      <name>Ravi Shankar</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110589664</id>
    <updated>2018-07-19T04:59:56Z</updated>
    <published>2018-07-19T04:59:56Z</published>
    <summary type="html">&lt;p&gt;Hi,&lt;br /&gt; I have created a themelet by following steps mentioned
    here-&lt;a
  href="https://community.liferay.com/blogs/-/blogs/liferay-7-themelet"&gt;https://community.liferay.com/blogs/-/blogs/liferay-7-themelet&lt;/a&gt;,
  After Deploy of my extended Theme, My Themelet properties and css not
  going to reflect.&lt;/p&gt;
&lt;p&gt;
  &lt;br /&gt; For using themelets i did some steps like:&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;I created  the themelet (yo liferay-theme:themelet) within Our
    Theme folder.(D:\liferay7ga3\plugins\themes\Test-themelet)&lt;/li&gt;
  &lt;li&gt;I installed  that themelet (npm link within Our themelet folder)&lt;/li&gt;
  &lt;li&gt;I wrote some css inside _custom.scss file (D:\liferay7ga3\plugins\themes\Test-themelet\src\css)&lt;/li&gt;
  &lt;li&gt;I did use that themelet in Our  theme (gulp extend within
    Our theme folder)&lt;/li&gt;
  &lt;li&gt;I did rebuild and Deploy  of Our Theme(gulp build and gulp deploy)&lt;br /&gt;
    &lt;br /&gt;  but i am not getting any reflection in my theme  Please help.&lt;/li&gt;&lt;/ul&gt;</summary>
    <dc:creator>Ravi Shankar</dc:creator>
    <dc:date>2018-07-19T04:59:56Z</dc:date>
  </entry>
  <entry>
    <title>RE: Themelet is not reflecting in Liferay7</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=107829328" />
    <author>
      <name>Ekky Melynda</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=107829328</id>
    <updated>2018-05-05T04:43:57Z</updated>
    <published>2018-05-05T04:43:57Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;i have the same problem&lt;br&gt;i changes in the custom.scss themelet but i do not see the change in my localhost: 8080&lt;br&gt;i've added scss code to change the background color like this&lt;br&gt;&lt;br&gt;&lt;pre&gt;&lt;code&gt;
/* inject:imports */

$primary-color: #333;

body {
  color: $primary-color;
}

/* endinject */
&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;and follow the instructions as in this page https://customer.liferay.com/documentation/7.0/develop/tutorials/-/official_documentation/tutorials/themelets#related-topics&lt;br&gt;&lt;br&gt;is there something wrong so my custom.scss changes in themelet can not be applied in my theme?&lt;br&gt;why the change can not be seen in my localhost: 8080?&lt;br&gt;is there a solution to this problem?&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Ekky Melynda</dc:creator>
    <dc:date>2018-05-05T04:43:57Z</dc:date>
  </entry>
  <entry>
    <title>RE: Themelet is not reflecting in Liferay7</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=97872571" />
    <author>
      <name>Kavita Naik</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=97872571</id>
    <updated>2017-11-02T15:43:32Z</updated>
    <published>2017-11-02T15:43:32Z</published>
    <summary type="html">Thanks  David for your quick reply!&lt;br /&gt;&lt;br /&gt;Sorry, I am new to Liferay  so I am not able to find &amp;#34;liferay-themes-dev root folder&amp;#34;.&lt;br /&gt;Could you please let me know where it is situated or it is the same theme folder in which i want to extend my themelet?&lt;br /&gt;&lt;br /&gt;For your information-&lt;br /&gt;1. I am working on Liferay 7 &lt;br /&gt;2. I have a separate folders for themelet and theme in which I want to extend my themelet&lt;br /&gt;3. Both folders are at different locations.&lt;br /&gt;4. I have installed themelet globally using &amp;#39;npm link&amp;#39;&lt;br /&gt;&lt;br /&gt;Let me know if you need some more information.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Kavita</summary>
    <dc:creator>Kavita Naik</dc:creator>
    <dc:date>2017-11-02T15:43:32Z</dc:date>
  </entry>
  <entry>
    <title>RE: Themelet is not reflecting in Liferay7</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=97863180" />
    <author>
      <name>David Proba</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=97863180</id>
    <updated>2017-11-02T12:38:11Z</updated>
    <published>2017-11-02T12:38:11Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;Your first way is the proper way. So you have &lt;br&gt;&lt;pre&gt;&lt;code&gt;
/* inject:imports */
/* endinject */
&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;somewhere in your _custom.scss&lt;br&gt;&lt;br&gt;For using themelets in general, you have to&lt;br&gt;&lt;ul&gt;&lt;li&gt;create the themelet (yo liferay-theme:themelet) within your liferay-themes-dev root folder&lt;/li&gt;&lt;li&gt;install that themelet (npm link within your themelet folder)&lt;/li&gt;&lt;li&gt;use that themelet in your theme (gulp extend within your theme folder)&lt;/li&gt;&lt;li&gt;rebuild your theme&lt;/li&gt;&lt;/ul&gt;&lt;br&gt;&lt;br&gt;If your themelet is also using some JS magic, paste &lt;br&gt;&lt;pre&gt;&lt;code&gt;
&amp;lt;!-- inject:js --&amp;gt;
&amp;lt;!-- endinject --&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;in your portal_normal template&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>David Proba</dc:creator>
    <dc:date>2017-11-02T12:38:11Z</dc:date>
  </entry>
  <entry>
    <title>RE: Themelet is not reflecting in Liferay7</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=97825924" />
    <author>
      <name>Kavita Naik</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=97825924</id>
    <updated>2017-11-01T14:58:36Z</updated>
    <published>2017-11-01T14:58:36Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;Hi David,&lt;br&gt;&lt;br&gt;Thanks for your reply.&lt;br&gt;&lt;br&gt;I have added provided lines to _custom.scss, but still getting same issue.&lt;br&gt;I tried putting those lines in below three ways:-&lt;br&gt;&lt;br&gt;&lt;pre&gt;&lt;code&gt;/* inject:imports */
/* endinject */
background-color:red;&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;&lt;pre&gt;&lt;code&gt;/* inject:imports */
background-color:red;
/* endinject */
&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;&lt;pre&gt;&lt;code&gt;inject:imports 
background-color:red;
 endinject &lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;Please correct me if I am wrong or if possible please provide some guidelines/examples to follow?&lt;br&gt;&lt;br&gt;Basically, we need to add custom Javascript and css to other application's  theme using themelet.&lt;br&gt;&lt;br&gt;Regards,&lt;br&gt;Kavita&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Kavita Naik</dc:creator>
    <dc:date>2017-11-01T14:58:36Z</dc:date>
  </entry>
  <entry>
    <title>RE: Themelet is not reflecting in Liferay7</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=97764794" />
    <author>
      <name>David Proba</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=97764794</id>
    <updated>2017-10-31T07:36:36Z</updated>
    <published>2017-10-31T07:36:36Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;You need to paste following 2 lines to _custom.scss&lt;br&gt;&lt;br&gt;&lt;pre&gt;&lt;code&gt;/* inject:imports */
/* endinject */
&lt;/code&gt;&lt;/pre&gt;&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>David Proba</dc:creator>
    <dc:date>2017-10-31T07:36:36Z</dc:date>
  </entry>
  <entry>
    <title>Themelet is not reflecting in Liferay7</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=97099977" />
    <author>
      <name>Kavita Naik</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=97099977</id>
    <updated>2017-10-17T13:06:20Z</updated>
    <published>2017-10-17T13:06:20Z</published>
    <summary type="html">Hi,&lt;br /&gt;I have created a themelet by following  steps mentioned here- https://dev.liferay.com/develop/tutorials/-/knowledge_base/7-0/themelets&lt;br /&gt;However, after gulp-deploy themelet style ( body {background-color: red;})  is not reflecting on page.&lt;br /&gt;After gulp-deploy I am getting warning as shown in attached screenshot. &lt;br /&gt;&lt;br /&gt;Is there any additional configurations / process we need to follow before running gulp-deploy?&lt;br /&gt;How do themelets work in Liferay?&lt;br /&gt;Can we extend custom js,css and ftl files in themelet?&lt;br /&gt;&lt;br /&gt;Thanks in advance.</summary>
    <dc:creator>Kavita Naik</dc:creator>
    <dc:date>2017-10-17T13:06:20Z</dc:date>
  </entry>
</feed>
