cancel
Showing results for 
Search instead for 
Did you mean: 

Child theme theme-blank-sass not correctly symlinked in var/view_preprocessed

Occasional Contributor

Child theme theme-blank-sass not correctly symlinked in var/view_preprocessed

I must have made a mistake, but I can't find it.

 

I have this theme, a child of the snowdawg theme:

>> themes.json

{
  "snow-blank": {
    "src": "vendor/snowdog/theme-blank-sass",
    "dest": "pub/static/frontend/Snowdog/blank",
    "locale": ["nl_NL"],
    "ignore": [".test"]
  },
  "klaas": {
    "src": "app/design/frontend/Klaas/default",
    "dest": "pub/static/frontend/Klaas/default",
    "locale": ["nl_NL"],
    "localeOverwrites": true,
    "parent": "snow-blank"
  }
}

 

And in my theme directory (at app/design/frontend/Klaas/default):

>> theme.xml

<theme xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Config/etc/theme.xsd">
    <title>Klaas Default</title>
    <parent>Snowdog/blank</parent>
</theme>
 >> styles/styles.scss

body {
    background-color: green;
}

 

Now I run gulp styles and I expect that the symlink styles.scss at var/view_preprocessed/frontools/frontend/Klaas/default/nl_NL/styles/ to link to the styles.scss in my theme directory, but it links to the one in vendor/snowdog/... Also .. I don't get a green website, but just the snowdog theme-blank-sass styling. Any extra files I have added in my theme directory do get symlinked to in the var/view_preprocessed/frontools/frontend/Klaas/default/nl_NL directory however, but the styles.scss and all other files native to theme-blank-sass are symlinked to vendor/snowdog/...

 

What am I doing wrong?

2 REPLIES
Highlighted
1 x Certified

Re: Child theme theme-blank-sass not correctly symlinked in var/view_preprocessed

It's not your fault, I screw this up in 1.4.0 :/

Fix released as 1.4.2.

Occasional Contributor

Re: Child theme theme-blank-sass not correctly symlinked in var/view_preprocessed

Sith happens, dude. I'll upgrade as I get the chance to work on it again.

Thanks for the reply.