These are the examples:
https://github.com/civictheme/monorepo-drupal/tree/develop/web/themes/co...
https://github.com/civictheme/monorepo-drupal/tree/develop/web/themes/co...
https://github.com/civictheme/monorepo-drupal/tree/develop/web/themes/co...
We have had reports that these have ended up in production sites which was not their intent.
Aside from the problems with the old twig namespaces being used and breaking newly created sub-themes.
richardgaunt → created an issue.
richardgaunt → created an issue.
fionamorrison23 → credited richardgaunt → .
PR for the script: https://github.com/civictheme/upgrade-tools/pull/7
richardgaunt → created an issue.
@fj23 Thank you for bringing the bug to our attention
richardgaunt → created an issue.
richardgaunt → created an issue.
richardgaunt → created an issue.
richardgaunt → created an issue.
richardgaunt → created an issue.
fionamorrison23 → credited richardgaunt → .
fionamorrison23 → credited richardgaunt → .
fionamorrison23 → credited richardgaunt → .
fionamorrison23 → credited richardgaunt → .
richardgaunt → created an issue.
richardgaunt → created an issue.
Working as expected false test fail.
We are using theme_hook now and this removed the div with the class `table-of-contents-container` in the Drupal template. Test updated and issue fixed.
richardgaunt → created an issue.
richardgaunt → created an issue.
richardgaunt → created an issue.
gargsuchi → credited richardgaunt → .
richardgaunt → created an issue.
richardgaunt → created an issue.
richardgaunt → created an issue.
Changes to the extend model
1. Currently, it is possible to override a part of the component, a whole component or create a custom component in the sub-theme. This allows to only override parts of components with a minimum blueprint and, at the same time, rely on upstream. This makes CT-based sites easy to maintain, because only a specific set overrides would need to be supported. Could you please elaborate how this feature change?
The supported inheritance / extension types of Single Directory Components are:
- Custom component in sub-theme
- Override CivicTheme component
But not: Extend CivicTheme component - we will be moving more towards the SDC model meaning after the release of SDC you will not be able to extend the original CivicTheme component.
For existing sites that have extended CivicTheme components recommend one of the following options:
1. Convert those components to a overridden component
2. Create a custom component of the original CivicTheme component and extend that in your existing sub-theme component
Single Directory Components
UI Kit is being converted to support multiple component libraries, the original twig component library will be maintained, there will now be a second component library (Single Directory Components) being maintained.
The original twig component will continue to not include any Drupal specific pieces of functionality.
The Single Directory components will continue to mirror the twig components just the namespacing and the bundling of the component YML and css files will be the changes.
Changes to the UI Kit structure and Design System
This is not part of this project - there is continued discussions but no plans on the evolution of CivicTheme design system. This will be tackled in future issues and plans.
Why SDC
SDC allows CivicTheme to utilise the core component system and opens up future work integrating with experience builder and other new development features appearing within the Drupal ecosystem
richardgaunt → created an issue.
@thisisalistairsaccount
We have a long running PR to fix this but there is no easy solution. At the moment, CivicTheme works out which menu to render based on the menu name.
We have not been able to get to a good solution on how to configure within Drupal (within the theme system) a menu block to render a menu with a certain theme.
richardgaunt → created an issue.
richardgaunt → created an issue.