Problem/Motivation

Drupal 8 changed the theme system, now CSS files only could be loaded via libraries.
Change record: Themes now use libraries exclusively, not individual stylesheets or JavaScript files

Proposed resolution

Create a library with globalstyling, including all styles from the css folder.
Load the library for each page.

Remaining tasks

-

User interface changes

-

API changes

-

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

lucastockmann’s picture

Assigned: Unassigned » lucastockmann
lucastockmann’s picture

Assigned: lucastockmann » Unassigned
Status: Active » Needs review
FileSize
1.13 KB

Attached patch.

kunalkapoor’s picture

Status: Needs review » Needs work

I have applied the patch but it is not working properly.

kunalkapoor’s picture

Status: Needs work » Needs review
FileSize
3.07 KB

I have added a patch for this issue, Please let me know if it works.

  • kunalkapoor authored 3e67621 on 8.x-1.x
    Issue #2401845 by kunalkapoor: Use libraries to load CSS
    
kunalkapoor’s picture

Status: Needs review » Fixed
kunalkapoor’s picture

Status: Fixed » Closed (fixed)