Remove style.css file from the repository

Created on 10 March 2021, over 3 years ago
Updated 29 February 2024, 4 months ago

Problem/Motivation

This is only particularly relevant now that #3196545: Allow compatibility mode for legacy support β†’ allows more than one way to compile the stylesheet.

I understand the benefits of having the css file committed so that it isn't required to run gulp to compile the sass, but...

If I have compiled the theme to use legacy support as #3196545: Allow compatibility mode for legacy support β†’ . If I run composer install again this will overwrite this change and require me to re-compile the sass.

Proposed resolution

The style.css in the css directory is a generated file and as such probably shouldn't be committed to the repository.

Or if we want to provide backwards compatibility we could potentially provide a base style.css (in git) and a style.min.css (not in git) with the library dynamically choosing depending on the presence of any generated compiled styles.

Discuss??

πŸ“Œ Task
Status

RTBC

Version

1.0

Component

Miscellaneous

Created by

πŸ‡¬πŸ‡§United Kingdom kalpaitch

Live updates comments and jobs are added and updated live.
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.

Production build 0.69.0 2024