Metadecidim
Sign in

Process

Co-creating the roadmap 2025–2027

Rejected not yet on protocol Build a consistent experience

Style guide

Is your feature request related to a problem? Please describe.

  • Accessibility issues

  • Inconsistency in plugins

Describe the solution you'd like
To have a clear style guide for plugin development.

Add to the development documentation elements and code examples that are WCAG compliant.

Does this issue could impact on users private data?
No

Documents

5 comments

  1. Following up on previous discussions had with some in the community, having a styleguide doesn't seem to be a priority over building a single-source of truth through a design system.

    Indeed, it seems so far that the styleguide is not used either by designers or developpers, at least on our side (Octree). We have no reasons to believe it could be useful without a design system.

    However, it would be useful to depict best practices on how to apply the design system to build interfaces (external modules, etc), but alas without a design system with which to build them it seems useless (for now).

    1 votes up 0 votes down
    1. Yup, agreed, would you be up for making another proposal with what you think is important along this strategic line? :)

      1 votes up 0 votes down
      1. Of course! Thank you for the nudge. Just published!

        Use a design system

        0 votes up 0 votes down
        1. Thank you for the detailed proposal! And oops, looks like we’ve uncovered a bug when linking proposals in comments 😅. I’ll report it!

          1 votes up 0 votes down
  2. Style Guide supporting the Design System Discussion

    This proposal fully supports adopting Daisy UI. For Tapas architecture, Daisy UI provides additional benefits beyond fixing technical debt.

    Why Daisy UI Enables Tapas (as suggested)

    Component isolation — Each Tapa uses Daisy components without style bleeding
    Theme customization — Organizations can brand their use of Decidim, but still be consistent
    Mobile-first primitives — Touch-friendly components from the start
    Tailwind integration — Utility-first CSS works naturally with component boundaries
    Open source values — No corporate capture, sustainable business model

    Component Library Structure

    tapas/
    ├── voting/
    │ ├── components/
    │ │ ├── BallotCard.tsx
    │ │ ├── VotingBooth.tsx
    │ │ └── ResultsChart.tsx
    ├── discussion/
    │ ├── components/
    │ │ ├── ThreadView.tsx
    │ │ └── CommentCard.tsx
    etc.

    Implementation Suggestion

    Rather than redesigning Decidim as a monolith with better styling, I suggest we use this opportunity to create a component library organized around Tapas. Each Tapa gets its own component set following the shared design system.

    Shared Elements

    Foundation components (buttons, cards, forms) in the base package
    Theme tokens flow to all Tapas
    Consistent responsive breakpoints
    Accessibility standards enforced at system level

    The design system becomes infrastructure for modularity, not a separate initiative.

    0 votes up 0 votes down

Sign in with your Atmosphere account to comment.