Custom Drupal 8 Theme from Scratch

Hello,

I am building a custom theme from scratch and created my theme folder containing:

  • x.info.yml
  • x.libraries.yml
  • css/style.css

x.info.yml

name: x
type: theme
description: x
core: 8.x
libraries:
  - x/global-styling

x.libraries.yml

global-styling:
  version: VERSION
  css:
    theme:
      css/style.css: {}

css/style.css

* {
color: red !important;
}

I successfully activated my theme. Configuring the style.css doesn’t work. My custom CSS doesn’t show up. I don’t cache the site. Does anybody know what’s wrong?

Drupal version: 


Source: https://www.drupal.org/taxonomy/term/3/feed