- Issue created by @pdureau
- 🇫🇷France boilleym
At the beginning the theme was inspired by some aspects of DSFR → and UI Suite DSFR → . But DSFR theme is lacking the modularity of a real component integration (and sobriety by not loading once the full DSFR css file for example) and UI Suite is simply not used in Kleegroup. DSFR for Drupal is a light and transversal DSFR reference with no dependency to another applicative layer.
The DSFR for Drupal Theme is designed with two main objectives:
- Modularity, the essence of all good design systems and the DSFR in particular;
- Sobriety, by using only the required code and resources at any time.This base theme is also the result of multiple years of innovation by Kleegroup for building DSFR Drupal websites for French Government.
---
Thanks for your code analysis and your precious feedback!
The SDC are now an ideal solution for building a state of art Drupal Theme based on a structured Design System. Until now we didn’t have any mention about a DSFR Theme release using them. Maybe you should communicate about your roadmap and special SDC branch on the public page of UI Suite DSFR → ?
Not using slots is both a technical and doctrinal decision. Each DSFR components pattern is carefully designed for specific content (with some exceptions like modals). We found slots too permissive for the DSFR guidelines. Nevertheless, this can change in the future, depending on users feedback (as you mentioned above we are constantly improving the dsfr4drupal theme for a better experience).
About
{"items":{"type":"object"},"type":"array"}
Today SDC cannot type an Array of Objects (if this changes in the future we will make the appropriate modifications; if necessary the descriptions will be improved). Also this theme is aimed at technical Drupal users who can read the components and understand their meaning.The pager links will be fixed soon.
We found no sign of any “null” type into the header until now. This topic is still under investigation.
- 🇫🇷France pdureau Paris
Hi Maxim,
Thanks for your answer.
UI Suite is simply not used in Kleegroup
I would be happy to show you the advantages of this solution ;)
The SDC are now an ideal solution for building a state of art Drupal Theme based on a structured Design System.
SDC is great. Unfortunately, UI components is only one part of a design system like DSFR. How do you plan to integrate the others parts?
- Fondamentaux de l'identité et techniques
- Dark/Light modes
- the grid system
Until now we didn’t have any mention about a DSFR Theme release using them. Maybe you should communicate about your roadmap and special SDC branch on the public page of UI Suite DSFR ?
Thanks for the advice.
We found slots too permissive for the DSFR guidelines. Nevertheless, this can change in the future, depending on users feedback.
I bet it will change ;)
About {"items":{"type":"object"},"type":"array"} Today SDC cannot type an Array of Objects
It is possible in JSON schema so it looks possible with SDC.
type: array items: type: object properties: foo: {} bar: {} patternProperties: {} ..
If you complete the schema of those 22 props, you may realize their true nature.
We found no sign of any “null” type into the header until now. This topic is still under investigation.
Here:
header_id: type: title: Header HTML identifier
- Status changed to Closed: works as designed
6 months ago 9:12am 31 May 2024 - 🇫🇷France boilleym
Thanks for all your feedback. At this point, we gonna plan a meeting to talk live about these topics together. By then, I close this Issue.