<?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>Custom Theme with DXP</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=78999253" />
  <subtitle>Custom Theme with DXP</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=78999253</id>
  <updated>2026-04-13T13:44:57Z</updated>
  <dc:date>2026-04-13T13:44:57Z</dc:date>
  <entry>
    <title>RE: Custom Theme with DXP</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=90393379" />
    <author>
      <name>Andres Lara</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=90393379</id>
    <updated>2017-06-07T21:33:34Z</updated>
    <published>2017-06-07T21:33:34Z</published>
    <summary type="html">Did you run on the theme root:&lt;br /&gt;1. npm install&lt;br /&gt;2. gulp init &lt;br /&gt;&lt;br /&gt;First step will install everything you theme require to operate.&lt;br /&gt;Second one will give direction where to deploy the theme. &lt;br /&gt;&lt;br /&gt;Note: you shouldn&amp;#39;t have a lot of warning messages.&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;User$ gulp deploy&lt;br /&gt;[15:24:54] Using gulpfile ~/Documents//project/themes/project-theme/gulpfile.js&lt;br /&gt;[15:24:54] Starting &amp;#39;deploy&amp;#39;...&lt;br /&gt;[15:24:54] Starting &amp;#39;build&amp;#39;...&lt;br /&gt;[15:24:54] Starting &amp;#39;build:clean&amp;#39;...&lt;br /&gt;[15:24:55] Finished &amp;#39;build:clean&amp;#39; after 167 ms&lt;br /&gt;[15:24:55] Starting &amp;#39;build:base&amp;#39;...&lt;br /&gt;[15:24:56] Finished &amp;#39;build:base&amp;#39; after 1.41 s&lt;br /&gt;[15:24:56] Starting &amp;#39;build:src&amp;#39;...&lt;br /&gt;[15:24:56] Starting &amp;#39;metal:soy&amp;#39;...&lt;br /&gt;[15:24:56] Finished &amp;#39;metal:soy&amp;#39; after 15 ms&lt;br /&gt;[15:24:56] Starting &amp;#39;metal:build:amd&amp;#39;...&lt;br /&gt;[15:24:56] Starting &amp;#39;metal:build:amd:js&amp;#39;...&lt;br /&gt;[15:24:58] Finished &amp;#39;metal:build:amd:js&amp;#39; after 1.5 s&lt;br /&gt;[15:24:58] Finished &amp;#39;metal:build:amd&amp;#39; after 1.5 s&lt;br /&gt;[15:24:58] Starting &amp;#39;config:amd&amp;#39;...&lt;br /&gt;[15:24:58] Finished &amp;#39;config:amd&amp;#39; after 467 ms&lt;br /&gt;[15:24:58] Starting &amp;#39;provide-capability-property&amp;#39;...&lt;br /&gt;[15:24:58] Finished &amp;#39;provide-capability-property&amp;#39; after 9.88 ms&lt;br /&gt;[15:24:58] Finished &amp;#39;build:src&amp;#39; after 2.34 s&lt;br /&gt;[15:24:58] Starting &amp;#39;build:web-inf&amp;#39;...&lt;br /&gt;[15:24:58] Finished &amp;#39;build:web-inf&amp;#39; after 1.5 ms&lt;br /&gt;[15:24:58] Starting &amp;#39;build:liferay-look-and-feel&amp;#39;...&lt;br /&gt;[15:24:58] Finished &amp;#39;build:liferay-look-and-feel&amp;#39; after 16 ms&lt;br /&gt;[15:24:58] Starting &amp;#39;build:hook&amp;#39;...&lt;br /&gt;[15:24:58] Finished &amp;#39;build:hook&amp;#39; after 7.34 ms&lt;br /&gt;[15:24:58] Starting &amp;#39;build:themelets&amp;#39;...&lt;br /&gt;[15:24:58] Starting &amp;#39;build:themelet-src&amp;#39;...&lt;br /&gt;[15:24:58] Finished &amp;#39;build:themelet-src&amp;#39; after 821 μs&lt;br /&gt;[15:24:58] Starting &amp;#39;build:themelet-css-inject&amp;#39;...&lt;br /&gt;[15:24:58] Starting &amp;#39;build:themelet-js-inject&amp;#39;...&lt;br /&gt;[15:24:58] gulp-inject Nothing to inject into _custom.scss.&lt;br /&gt;[15:24:58] gulp-inject Nothing to inject into portal_normal.ftl.&lt;br /&gt;[15:24:58] Finished &amp;#39;build:themelet-css-inject&amp;#39; after 30 ms&lt;br /&gt;[15:24:58] Finished &amp;#39;build:themelet-js-inject&amp;#39; after 13 ms&lt;br /&gt;[15:24:58] Finished &amp;#39;build:themelets&amp;#39; after 32 ms&lt;br /&gt;[15:24:58] Starting &amp;#39;build:rename-css-dir&amp;#39;...&lt;br /&gt;[15:24:58] Finished &amp;#39;build:rename-css-dir&amp;#39; after 252 μs&lt;br /&gt;[15:24:58] Starting &amp;#39;build:prep-css&amp;#39;...&lt;br /&gt;[15:24:58] Finished &amp;#39;build:prep-css&amp;#39; after 60 μs&lt;br /&gt;[15:24:58] Starting &amp;#39;build:compile-css&amp;#39;...&lt;br /&gt;[15:24:58] Starting &amp;#39;build:compile-lib-sass&amp;#39;...&lt;br /&gt;[15:24:59] Finished &amp;#39;build:compile-lib-sass&amp;#39; after 665 ms&lt;br /&gt;[15:24:59] Finished &amp;#39;build:compile-css&amp;#39; after 666 ms&lt;br /&gt;[15:24:59] Starting &amp;#39;build:fix-url-functions&amp;#39;...&lt;br /&gt;[15:24:59] Finished &amp;#39;build:fix-url-functions&amp;#39; after 43 ms&lt;br /&gt;[15:24:59] Starting &amp;#39;build:move-compiled-css&amp;#39;...&lt;br /&gt;[15:25:00] Finished &amp;#39;build:move-compiled-css&amp;#39; after 491 ms&lt;br /&gt;[15:25:00] Starting &amp;#39;build:remove-old-css-dir&amp;#39;...&lt;br /&gt;[15:25:00] Finished &amp;#39;build:remove-old-css-dir&amp;#39; after 95 ms&lt;br /&gt;[15:25:00] Starting &amp;#39;build:fix-at-directives&amp;#39;...&lt;br /&gt;[15:25:00] Finished &amp;#39;build:fix-at-directives&amp;#39; after 23 ms&lt;br /&gt;[15:25:00] Starting &amp;#39;build:r2&amp;#39;...&lt;br /&gt;[15:25:00] Finished &amp;#39;build:r2&amp;#39; after 153 ms&lt;br /&gt;[15:25:00] Starting &amp;#39;build:war&amp;#39;...&lt;br /&gt;[15:25:00] Starting &amp;#39;plugin:version&amp;#39;...&lt;br /&gt;[15:25:00] Finished &amp;#39;plugin:version&amp;#39; after 1.05 ms&lt;br /&gt;[15:25:00] Starting &amp;#39;plugin:war&amp;#39;...&lt;br /&gt;[15:25:01] Finished &amp;#39;plugin:war&amp;#39; after 676 ms&lt;br /&gt;[15:25:01] Finished &amp;#39;build:war&amp;#39; after 678 ms&lt;br /&gt;[15:25:01] Finished &amp;#39;build&amp;#39; after 6.13 s&lt;br /&gt;[15:25:01] Starting &amp;#39;plugin:deploy&amp;#39;...&lt;br /&gt;[15:25:01] Deploying to /User/.../liferay-dxp-digital-enterprise-7.0-sp3/deploy&lt;br /&gt;[15:25:01] Finished &amp;#39;plugin:deploy&amp;#39; after 8.04 ms&lt;br /&gt;[15:25:01] Starting &amp;#39;deploy:war&amp;#39;...&lt;br /&gt;[15:25:01] Finished &amp;#39;deploy:war&amp;#39; after 28 μs&lt;br /&gt;[15:25:01] Finished &amp;#39;deploy&amp;#39; after 6.14 s&lt;br /&gt;&lt;br /&gt;&lt;/blockquote&gt;</summary>
    <dc:creator>Andres Lara</dc:creator>
    <dc:date>2017-06-07T21:33:34Z</dc:date>
  </entry>
  <entry>
    <title>RE: Custom Theme with DXP</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=88779183" />
    <author>
      <name>Zsombor Nagy</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=88779183</id>
    <updated>2017-04-26T14:23:40Z</updated>
    <published>2017-04-26T14:23:40Z</published>
    <summary type="html">Hi!&lt;br /&gt;&lt;br /&gt;I have a similar question/error report.&lt;br /&gt;So I created a Liferay 7 theme with Yo and set the SASS to Ruby Compass as it is told in the tutorial.&lt;br /&gt;&lt;br /&gt;Whatever change I write in the _custom.scss file &lt;strong&gt;does not apply to the theme&lt;/strong&gt;. I probably miss something, but it isn&amp;#39;t pointed out, what. Could you help me find out what is the problem?&lt;br /&gt;&lt;br /&gt;I&amp;#39;d mention that during theme deployment the console prints out a ton of Warning messages. Is that normal?&lt;br /&gt;&lt;br /&gt;Lastly, as an other question... In the theme&amp;#39;s directory I created with Yo, I created custom layouts too. Everything gets build in the War file for deployment, but I cannot find any of the custom templates in the Portal.&lt;br /&gt;&lt;br /&gt;Thanks for your help! Much appreciations!</summary>
    <dc:creator>Zsombor Nagy</dc:creator>
    <dc:date>2017-04-26T14:23:40Z</dc:date>
  </entry>
  <entry>
    <title>RE: Custom Theme with DXP</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=88282519" />
    <author>
      <name>gnp present</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=88282519</id>
    <updated>2017-04-12T15:39:09Z</updated>
    <published>2017-04-12T15:39:09Z</published>
    <summary type="html">Hi... can you be moore explicit for good understanding? I  created  custom theme for Liferay 7 with yo liferay theme generator and i dont know how import images...&lt;br /&gt;&lt;br /&gt;thank you</summary>
    <dc:creator>gnp present</dc:creator>
    <dc:date>2017-04-12T15:39:09Z</dc:date>
  </entry>
  <entry>
    <title>RE: Custom Theme with DXP</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=79046721" />
    <author>
      <name>Tiago Pretel</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=79046721</id>
    <updated>2016-09-13T11:14:39Z</updated>
    <published>2016-09-13T11:14:39Z</published>
    <summary type="html">I understand the problem.&lt;br /&gt;In the folder src/image i created the subfolder custom.&lt;br /&gt;in the folder js  i created the subfolder custom.&lt;br /&gt;the same for css.&lt;br /&gt;And works &lt;img alt="emoticon" src="@theme_images_path@/emoticons/happy.gif" &gt;</summary>
    <dc:creator>Tiago Pretel</dc:creator>
    <dc:date>2016-09-13T11:14:39Z</dc:date>
  </entry>
  <entry>
    <title>RE: Custom Theme with DXP</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=79012943" />
    <author>
      <name>Tiago Pretel</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=79012943</id>
    <updated>2016-09-12T20:58:13Z</updated>
    <published>2016-09-12T20:58:13Z</published>
    <summary type="html">The strangest thing was to follow the following steps:&lt;br /&gt;&lt;br /&gt;1) edit the file &amp;#34;src/css/_custom.scss&amp;#34; and add this line &lt;br /&gt;@import &amp;#34;layout/variables&amp;#34;;&lt;br /&gt;@import &amp;#34;layout/layout&amp;#34;;&lt;br /&gt;2) executed the command gulp deploy and works !&lt;br /&gt;3) in the folder &amp;#34;src/css/&amp;#34; , i add new file called &amp;#34;test.css&amp;#34;&lt;br /&gt;4) i opened the file _custom.scss and add the line&lt;br /&gt;@import &amp;#34;teste.css&amp;#34;; and don&amp;#39;t work ....&lt;br /&gt;&lt;br /&gt;Please can help me!</summary>
    <dc:creator>Tiago Pretel</dc:creator>
    <dc:date>2016-09-12T20:58:13Z</dc:date>
  </entry>
  <entry>
    <title>Custom Theme with DXP</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=78999252" />
    <author>
      <name>Tiago Pretel</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=78999252</id>
    <updated>2016-09-12T17:06:19Z</updated>
    <published>2016-09-12T17:06:19Z</published>
    <summary type="html">Hello,&lt;br /&gt;I have some questions about the new process of creating a new theme using Liferay DXP.&lt;br /&gt;&lt;br /&gt;I created a new theme project using Yeoman (liferay theme-yo).&lt;br /&gt;Its created a new project in my root with the structure.&lt;br /&gt;&lt;br /&gt;build (Where build my project, when I used the gulp (gulp deploy)&lt;br /&gt;dist (the war of my theme to be distributed)&lt;br /&gt;src (directory of my work to customize).&lt;br /&gt;My question would be this directory (src), within it we have:&lt;br /&gt;css&lt;br /&gt;templates&lt;br /&gt;WEB-INF&lt;br /&gt;&lt;br /&gt;Pergunta 1&lt;br /&gt;Where should I put my images, css, js? It would be within the src or WEB-INF?&lt;br /&gt;&lt;br /&gt;Pergunta 2&lt;br /&gt;Thinking that the custom.css file should I move used the &amp;#34;src / css / _custom.scss&amp;#34;&lt;br /&gt;In this place I created a subfolder called &amp;#34;cssCustom&amp;#34; and it entered my css.&lt;br /&gt;I edited the file &amp;#34;src / css / _custom.scss&amp;#34; and put the following line &amp;#34;@import url (&amp;#34; cssCustom / estilo.css &amp;#34;)&amp;#34;&lt;br /&gt;But he shows me error that did not find the file.&lt;br /&gt;&lt;br /&gt;Can anybody help me ?&lt;br /&gt;&lt;br /&gt;Tanks!!!</summary>
    <dc:creator>Tiago Pretel</dc:creator>
    <dc:date>2016-09-12T17:06:19Z</dc:date>
  </entry>
</feed>
