Remove classes from system templates p*.html.twig

Created on 15 January 2015, over 9 years ago
Updated 2 May 2024, about 2 months ago

Problem/Motivation

Remove non essential classes from core - the classes are in classy, cores templates should be as clean as possible.
js required classes should be prefixed to js- according to code standards
simpletest should be done with classy theme, not stark

Proposed resolution

Twig Templates to modify

  • core/modules/system/templates/page.html.twig
  • core/modules/system/templates/pager.html.twig
  • core/modules/system/templates/progress-bar.html.twig

Remaining tasks

User interface changes

See parent issue(s) and related issue(s) for details,

📌 Task
Status

Closed: outdated

Version

11.0 🔥

Component
Theme  →

Last updated about 5 hours ago

Created by

🇮🇳India Sivaji_Ganesh_Jojodae Chennai

Live updates comments and jobs are added and updated live.
  • Needs change record

    A change record needs to be drafted before an issue is committed. Note: Change records used to be called change notifications.

  • Needs screenshots

    The change alters the user interface, so before and after screenshots should be added to document the UI change. Make sure to capture the relevant region only. Use a tool such as Aviary on Windows or Skitch on Mac OS X.

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.

  • 🇳🇿New Zealand quietone New Zealand
  • Status changed to Closed: outdated about 2 months ago
  • 🇺🇸United States bnjmnm Ann Arbor, MI

    This was filed ~10 months before Drupal 8 was released, any time during those 10 months would have been a fine time to take care of this.
    Drupal 8+ has now been around for 8.5 years, and removing the classes now would be incredibly disruptive and cause many regressions. The intentions here were good, but any benefits they'd have yeilded are trival compared to the problems that would be introduced. Closing so nobody winds up devoting any more time to something that I (Frontend Framework Manager) would not approve.

Production build 0.69.0 2024