Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
CSS
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
18 Aug 2015 at 19:42 UTC
Updated:
24 Sep 2015 at 06:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
pguillard commentedNot complete, I don't know where to attach the library..
Comment #3
pguillard commentedComment #4
lewisnymanReroll after #977844: Remove the 'every_page' option for CSS/JS assets: it is confusing, even damaging
Since we're not changing when these files are loaded, we can create a library called
global-stylingadd load this library on every page. You can then load this library through the .info.yml file.See the Seven theme for an example.
base has a very specific meaning in SMACSS: elements with no classes on them.
If we follow the discussion in #2489566: move file.theme.css to classy then I would move these files into a 'components' folder.
Comment #5
rainbowarrayReroll.
Comment #6
rainbowarrayHere's a revised patch with the fixes suggested in #4.
Comment #7
rainbowarrayFixed my git settings to reduce patch size.
Comment #10
rainbowarrayRedoing the reroll. I screwed something up in here.
Comment #11
rainbowarrayHopefully this is a cleaner fix.
Comment #13
rainbowarrayUsing base instead of global-styling library.
Comment #14
lauriiiNo visual changes on Bartik or Seven.
Comment #15
davidhernandezLooks good.
Comment #16
webchickCommitted and pushed to 8.0.x. Thanks!