[meta] Split module CSS files into SMACSS component CSS files

Created on 16 May 2015, about 10 years ago
Updated 9 July 2025, 5 days ago

Problem/Motivation

All CSS is divided into module/admin/theme (aka MAT) files. This division allowed theme developers to be selective over which CSS they choose to load, functional CSS or "look and feel" CSS.

After 🌱 [Meta] Move module.theme.css files to Classy or Seven Postponed: needs info , theme developers no longer need to have this distinction at the file level, they can choose to use Classy as a base theme. We can split the CSS files into self-contained component files, which means they are easier to maintain, find, and load granularly.

Proposed resolution

Split and rename the system.module.css and system.theme.css files in modules and Classy into separate component files -> [component-name].css

Remaining tasks

User interface changes

None

API changes

None

πŸ“Œ Task
Status

Postponed: needs info

Version

11.0 πŸ”₯

Component

CSS

Created by

πŸ‡¬πŸ‡§United Kingdom lewisnyman Nomadic

Live updates comments and jobs are added and updated live.
  • CSS

    It involves the content or handling of Cascading Style Sheets.

  • stale-issue-cleanup

    To track issues in the developing policy for closing stale issues, [Policy, no patch] closing older issues

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    Thank you for creating this issue to improve Drupal.

    We are working to decide if this task is still relevant to a currently supported version of Drupal. There hasn't been any discussion here for over 8 years which suggests that this has either been implemented or is no longer relevant. Your thoughts on this will allow a decision to be made.

    Since we need more information to move forward with this issue, the status is now Postponed (maintainer needs more info). If we don't receive additional information to help with the issue, it may be closed after three months.

    Thanks!

Production build 0.71.5 2024