Theme Style Has No Name Assigned To It

I've created a new theme and within that new theme have created a new style. I've updated all of the manifest files and ensured that everything is in the right place and named correctly. However in the admin area I have two styles (which is fine, there should be two). One called Modern, but the custom style I created has no name.

What I see is in the below image. I've updated the manifest.json in the themes root and also the manifest within the styles folder and have created .css, .less and also .png files in the /styles/data folder and I'm having no luck with how to get this to work.

[attachment=10487:theme-style-noname.png]

Perhaps I've missed a location I need to edit/include or something?

theme-style-noname.png

Looks like the way to fix this is to ensure your themes name is not the exact same as your style and you don't seem to need to have the style named in the styles manifest file. Strange really but oh well.

First of all, check the permissions for your theme folder. It should be 777 recursively. And remove var/cache folder manually

I have created style called "Responsive" for the responsive theme without any issues:

http://prntscr.com/9e27zl

Note that there is need to update manifest.json file also. It contains information about default styles only.

All work should be done in the design/themes/YOUR_THEME/styles/data directory

Your 'Responsive' is also without icon.

Your 'Responsive' is also without icon.

Yes, because we did not create an icons. The question was about theme name

@danieltj what is included in your design/themes/[YOUR THEME]/manifest.json and design/themes/[YOUR THEME]/styles/manifest.json files?

@danieltj what is included in your design/themes/[YOUR THEME]/manifest.json and design/themes/[YOUR THEME]/styles/manifest.json files?

Please check post #2:

...you don't seem to need to have the style named in the styles manifest file...

So default content is used there

This is still an issue, I've got no idea why this isn't working. I've added a new theme using the boilerplate developer theme and changed the name of it to "daniel". I've then updated the theme name to Daniel it the manifest file and when I set it as active (or keep it as inactive) it doesn't have a style name and when activated it removes the ability to enter the theme editor.

The above replies didn't work.

If you want, our specialists can examine the issue directly on your server. Just PM me temporary FTP access

No thanks.

It must be something simple I'm missing. Everything looks fine and as if it's all present.

Do you need to have an image for the style? Also, just a thought. Do you need to create the style via the theme editor or can you just create it directly via the file system? It may be worth just using the theme editor thinking about it.

You don't need an image for your theme style. You can create the theme style directly via the file system. You don't need to do anything with the json files. What's in your .less file? The theme editor gets cranky if you don't have all the .less variable assignments for colors/fonts/backgrounds and gives it no name. It requires them as they are what the visual editor uses. The Modern.less file has all of the needed .less variable assignments that you must have in your .less file and nothing else. Make sure your .less file has all of them.