<?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>Liferay Themes after workspace update</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121524433" />
  <subtitle>Liferay Themes after workspace update</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121524433</id>
  <updated>2026-04-09T12:43:15Z</updated>
  <dc:date>2026-04-09T12:43:15Z</dc:date>
  <entry>
    <title>Liferay Themes after workspace update</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121524432" />
    <author>
      <name>Sebastian Wikholm</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121524432</id>
    <updated>2022-09-27T12:48:45Z</updated>
    <published>2022-09-27T10:41:47Z</published>
    <summary type="html">&lt;p&gt;I had compablity issues with my Liferay development enviroment and a
  production server which im trying to setup. The development enviroment
  was upgraded from a previous version of lifery (at the time that
  Liferay 7.4GA1 was released), and on the production server we hade
  Lifray 7.4GA25. After uppdating the workspace and the local bundle in
  the ide and putting the target platform version to 7.4GA25 i am able
  to build all projects except for a theme which was created for Liferay 7.4GA1. &lt;br /&gt;
  &lt;br /&gt; The error i get is:&lt;/p&gt;
&lt;blockquote&gt;
  &lt;p&gt;Using native Sass compiler&lt;br /&gt; SLF4J: Failed to load class
    &amp;quot;org.slf4j.impl.StaticLoggerBinder&amp;quot;.&lt;br /&gt; SLF4J:
    Defaulting to no-operation (NOP) logger implementation&lt;br /&gt; SLF4J:
    See http://www.slf4j.org/codes.html#StaticLoggerBinder for further
    details.&lt;br /&gt; Parsed /css/clay.scss in 24168ms&lt;br /&gt; Exception in
    thread &amp;quot;main&amp;quot;
    com.liferay.sass.compiler.jsass.internal.JSassCompilerException:
    io.bit3.jsass.CompilationException: Error: Undefined variable:
    &amp;quot;$cadmin-selector&amp;quot;.&lt;br /&gt;         on line 1 of
    build/buildTheme/css/application/_drag_drop.scss&lt;br /&gt;         from
    line 10 of build/buildTheme/css/_application.scss&lt;br /&gt;         from
    line 9 of build/buildTheme/css/main.scss&lt;br /&gt; &amp;gt;&amp;gt;
    html#{$cadmin-selector} {&lt;/p&gt;
  &lt;p&gt;   ------^&lt;/p&gt;
  &lt;p&gt;    at
    com.liferay.sass.compiler.jsass.internal.JSassCompiler.compileFile(JSassCompiler.java:134)&lt;br /&gt;
        at
    com.liferay.css.builder.CSSBuilder._parseSass(CSSBuilder.java:393)&lt;br /&gt;
        at
    com.liferay.css.builder.CSSBuilder._parseSassFile(CSSBuilder.java:405)&lt;br /&gt;
        at
    com.liferay.css.builder.CSSBuilder.execute(CSSBuilder.java:166)&lt;br /&gt;
        at
    com.liferay.css.builder.CSSBuilder.main(CSSBuilder.java:80)&lt;br /&gt;
    Caused by: io.bit3.jsass.CompilationException: Error: Undefined
    variable: &amp;quot;$cadmin-selector&amp;quot;.&lt;br /&gt;         on line 1 of
    build/buildTheme/css/application/_drag_drop.scss&lt;br /&gt;         from
    line 10 of build/buildTheme/css/_application.scss&lt;br /&gt;         from
    line 9 of build/buildTheme/css/main.scss&lt;br /&gt; &amp;gt;&amp;gt;
    html#{$cadmin-selector} {&lt;/p&gt;
  &lt;p&gt;   ------^&lt;/p&gt;
  &lt;p&gt;    at io.bit3.jsass.adapter.NativeAdapter.compileFile(Native
    Method)&lt;br /&gt;     at
    io.bit3.jsass.adapter.NativeAdapter.compile(NativeAdapter.java:44)&lt;br /&gt;
        at io.bit3.jsass.Compiler.compile(Compiler.java:124)&lt;br /&gt;   
     at
    com.liferay.sass.compiler.jsass.internal.JSassCompiler.compileFile(JSassCompiler.java:115)&lt;br /&gt;
        ... 4 more&lt;/p&gt;
  &lt;p&gt;&amp;gt; Task :modules:xxx-theme:buildCSS FAILED&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Ive created a new theme in this enviroment and added my custom css
  and js and templates etc to that one and get the same errors.
  $cadmin-selector seems to be something which i find in 134 files and
  should be defined.&lt;br /&gt;
  &lt;br /&gt; What am i missing? Any help would be appreciated!&lt;/p&gt;</summary>
    <dc:creator>Sebastian Wikholm</dc:creator>
    <dc:date>2022-09-27T10:41:47Z</dc:date>
  </entry>
</feed>
