I hope somebody can help me out, I've tried doing it a million times again but somehow my theme doesn't show up in the backend of my Magento 2 installation. Here are my files:
app/design/frontend/Company/default/theme.xml
<theme xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Config/etc/theme.xsd">
<title>Company Default</title>
<parent>Magento/blank</parent>
<media>
<preview_image>media/preview.jpg</preview_image> <!-- the path to your theme's preview image -->
</media>
</theme>
app/design/frontend/Company/default/registration.php
<?php
/**
* Copyright © 2015 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
\Magento\Framework\Component\ComponentRegistrar::register(
\Magento\Framework\Component\ComponentRegistrar::THEME,
'frontend/Company/default',
__DIR__
);
app/design/frontend/Company/default/composer.json
{
"name": "company/default",
"description": "N/A",
"require": {
"php": "~5.5.0|~5.6.0|~7.0.0",
"magento/theme-frontend-blank": "100.0.*",
"magento/framework": "100.0.*"
},
"type": "magento2-theme",
"version": "100.0.1",
"license": [
"OSL-3.0",
"AFL-3.0"
],
"autoload": {
"files": [
"registration.php"
]
}
}
I've cleaned the cache, added a media folder inside my themes file with a preview.jpg
image and ran composer update, which keeps saying there is nothing to install. And cleaned the cache again. Logged in and out of my admin panel, but no luck. What am I missing here?