Subtheme - Do CSS Files Still Need Copying When Updating DXPR?

Created on 15 January 2025, 10 months ago

I initially installed DXPR 6.0 and created a subtheme. I also uninstalled the deprecated core Color module, since it says that's no longer needed for 6.x. So far so good.

And then today I updated to the latest 6.0.2 DXPR theme in the normal way ( https://www.drupal.org/docs/user_guide/en/security-update-theme.html#s-u... β†’ ).

However, afterward I was reviewing your documentation on updating the DXPR theme when you have a subtheme: https://dxpr.com/documentation/creating-dxpr-theme-drupal-9-subtheme#Use...

And I'm wondering specifically about this:

Due to how the Drupal color module works, a copy of DXPR Theme css files is included in your sub-theme. This means that every time you update DXPR Theme, you need to copy the CSS files again to your sub-theme by following these steps:

The relevant step here is: in the dxpr_theme folder copy the directories /css/* to /your_subtheme/css

And so I'm wondering - is this step still necessary?

It would be great to know for sure, since it appears that documentation page may be out of date (or needs rewriting) now that the 6.x branch exists without the Color module being required anymore.

πŸ’¬ Support request
Status

Active

Version

6.0

Component

User interface

Created by

πŸ‡ΊπŸ‡ΈUnited States jimmb

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

    Primarily changes documentation, not code. For Drupal core issues, select the Documentation component instead of using this tag. In general, component selection is preferred over tag selection.

Sign in to follow issues

Comments & Activities

  • Issue created by @jimmb
  • πŸ‡§πŸ‡¦Bosnia and Herzegovina drale01 Sarajevo

    The CSS files still need to be copied once when updating a DXPR 5.x subtheme to 6.x. This one-time step is required to migrate from the old system (hardcoded colors) to the new system (CSS custom properties). After that initial migration, future updates on 6.x no longer require copying CSS files.

  • Now that this issue is closed, please review the contribution record.

    As a contributor, attribute any organization helped you, or if you volunteered your own time.

    Maintainers, please credit people who helped resolve this issue.

  • Status changed to Fixed about 2 months ago
  • πŸ‡§πŸ‡¦Bosnia and Herzegovina drale01 Sarajevo
Production build 0.71.5 2024