Remove base.css import in SDDS component css files generated by splitcss

Created on 29 August 2024, 20 days ago
Updated 9 September 2024, 9 days ago

Problem/Motivation

This is a follow-up to:

πŸ“Œ Create individual SDDS component css files from scss files Needs work

to remove the hack added to the top of the css files to get this to work:

@import url("../../../../dist/base.css");

See https://www.drupal.org/project/demo_design_system/issues/3466418#comment... πŸ“Œ Create individual SDDS component css files from scss files Needs work

Steps to reproduce

Proposed resolution

Wait on:

πŸ› The component preview should have a background: include theme's global asset libraries for component preview Needs work

Once that lands, try manually removing the import for one of the components and see if the XB preview is still okay. If so, remove from splitcss and rebuild theme and then check all in XB UI.

Remaining tasks

See above.

User interface changes

No change but XB UI show still show the SDDS component previews.

API changes

Data model changes

πŸ“Œ Task
Status

Closed: duplicate

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States Kristen Pol Santa Cruz, CA, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024