info.yml:

stylesheets:
  all:
    - css/layout.css
    - css/style.css
    - css/colors.css
  print:
    - css/print.css

libraries.yml:

base:
  version: VERSION
  css:
    theme:
      css/layout.css: {}
      css/style.css: {}
      css/colors.css: {}
      css/print.css: { media: print }

Comments

sqndr’s picture

I think the stylesheets tag inside bartik.info.yml will be removed. There is a comment above the tag:

# @todo use library version once color module is fixed #2228745
#libraries:
#  - bartik/base
#
stylesheets:
  all:
    - css/layout.css
    - css/style.css
    - css/colors.css

This comment was added in https://www.drupal.org/node/1813186#comment-8630659.

sqndr’s picture

Assigned: Unassigned » sqndr

I'll try to follow up this issue, but I guess we can close it just as soon as #2228745 is fixed.

nod_’s picture

Status: Active » Closed (duplicate)

Let's close this, there is a working patch now. so it's a dup of #2228745: Color module doesn't look for CSS files declared in a library