Problem/Motivation

Drupal base styles, e.g. field--label-inline don't seem to exist in the theme, but I guess these basic things should be present?

Unsure how to do it best practice, maybe inherit from a Drupal core base theme?
We should first find out how other themes solve it!

Bootstrap 5 for example solves it like this: https://git.drupalcode.org/project/bootstrap5/-/blob/4.0.x/css/component...

But I think it would be better to inherit?

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

anybody created an issue. See original summary.

anybody’s picture

Issue summary: View changes
anybody’s picture

Title: Inherit Drupal classes / base theme? » Add important Drupal base css from a starterkit theme

Okay the best practice seems to be to generate a starterkit theme, see https://www.drupal.org/docs/core-modules-and-themes/core-themes/starterk... with all the details.

I'd suggest using the generated Drupal base files from the starterkit then and incorporate theme here. Also have a look at the other best practices in the starterkit.

anybody’s picture

One possible solution would be to build upon a Bootstrap5 base theme which already has all the glue needed, as discussed in #3609244: Replace deprecated Stable9 Base theme (with a Bootstrap Base Theme)

thomas.frobieter’s picture

I suggest closing this in favor of #3609244: Replace deprecated Stable9 Base theme (with a Bootstrap Base Theme), which will solve many issues.

anybody’s picture

Status: Active » Postponed
anybody’s picture

Status: Postponed » Closed (won't fix)

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

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

Maintainers, credit people who helped resolve this issue.