For some reason my theme can't find css/style.css in Drupal 8.
This is the .info.yml:
name: Adminimal
type: theme
description: Drupal Administration Simplified.
# version: VERSION
# core: 8.x
base theme: seven
# Include CSS.
stylesheets:
all:
- css/style.css
# Information added by Drupal.org packaging script on 2014-10-23
version: '8.x-1.x-dev'
core: '8.x'
project: 'adminimal_theme'
datestamp: 1414059738
This is how the folders look like:
Theme/adminimal.info.yml
Theme/css/style.css
The css in the style.css file:
html{
background-color: blue !important;
}
It doesn't even show up in the styles section in my Google Chrome console so I think it doesn't find the file but why?
And about jQuery in Drupal, I can't manage to get this working: https://www.drupal.org/node/1541860 To work with: //ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js How should I do this?
Drupal\Core\Extension\InfoParserException: Unable to parse themes/adminimal_theme/adminimal.info.yml: Unable to parse at line 9 (near " stylesheets:")
, so make sure your whitespace lines up. stylesheets has an extra leading space and the line declaring style.css is indented by one space too many (it will probably forgive you for that though).