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?
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.
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.
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.