Skip to content

Introduce Tailwind CSS for layouting (viewport sizes, margins, paddings, etc) #937

Closed

Description

@kulmann

Initial Checklist

  • I understand this is a user story and questions should be posted in the Community Discussions
  • I searched issues and couldn’t find anything (or linked relevant results below)

User Story

  • As a developer, I want to use a rock solid layouting system so that I don't need to fix all the edge cases myself.
  • As a user I want a fast UI so that I dont have to wait.
  • As a company, we want the web UI to be fast so that users can fully experience the performance of OpenCloud.

User Value (developer facing)

  • Don't re-invent the wheel. We want as little custom code as possible for being able to develop really fast with high quality for the upcoming groupware components.
  • Speed: Experience the performance of OpenCloud.

Acceptance Criteria

  • Tailwind CSS is used throughout the design system and the web mono-repo as a whole
  • No more oc-p (padding), oc-m (margin), oc-flex (flexbox) is used (this could be done incrementally)
  • Adjust the design system docs
  • Delete the respective design system css classes
  • Delete the sizing tokens of the design system (also in the theme.json in the opencloud repo if there is something about it).

Activity

  1. moved this from Qualification to Backlog in OpenCloud Team Boardon Jul 11, 2025
  2. tbsbdr commented on Jul 21, 2025

    @tbsbdr
    Member

    added speed as userstory/value

  3. self-assigned this
    on Aug 11, 2025
  4. moved this from Backlog to In Progress in OpenCloud Team Boardon Aug 11, 2025
  5. JammingBen commented on Aug 14, 2025

    @JammingBen
    Member

    Checklist

    • Set up Tailwind
    • Migrate css properties to either utility classes (preferred whenever possible) or layers.
    • Make sure we use the tailwind breakpoint variables everywhere @JammingBen
    • Check left-over utility classes (scss files in the design-system). If it makes sense, migrate them either to components (via utility classes or component CSS) or the layers.css file @JammingBen
    • Make design system docs work
    • Make IDE autocompletion for Tailwind classes work everywhere in the project (currently only works in the design-system for some reason) > you need to put the path to the tailwind.css file into the extension config in your IDE
    • export tailwind.css file in design-systems so other apps can import and use it @JammingBen
    • Does it make sense to split the layers.css file? -> I'd say not for now.
    • Remove color token generation OR move it do docs only @JammingBen
    • OcCard into dedicated component @kulmann
    • Check if we should scope the new style blocks @JammingBen
    • Check if we need to remove any theming options (e.g. font-size, breakpoints etc.)
    • Adjust design-system docs (remove outdated parts about e.g. spacing, adjust README on how to use the design-system with tailwind as an external app)
    • Add migration guide to design-system docs
  6. kulmann commented on Aug 21, 2025

    @kulmann
    MemberAuthor

    changed story points from 13 to 20

  7. self-assigned this
    on Aug 22, 2025
  8. JammingBen commented on Sep 2, 2025

    @JammingBen
    Member

    Currently known issues (extend if needed):

    • Text input error message color is wrong @JammingBen
    • Tags border color is wrong @JammingBen
    • Account table has a double border top on smaller screens @JammingBen
    • Space member filter outline when focusing looks weird
    • User list right sidebar panel is misaligned when no user is selected @JammingBen
    • Padding-y for results during shortcut creation is too big @JammingBen
    • Activity panel avatar vertical alignment is slightly off @JammingBen
    • Right sidebar resource name underline on hover should not be there @JammingBen
    • Spaces list search input needs to be a bit wider to align with other search inputs @JammingBen
    • Less margin beneath share invite form @JammingBen
    • Spaces share Panel ‚Add member‘ has too much padding-y @JammingBen
    • Pagination active font color is wrong @JammingBen
    • Image padding on spaces tiles view when selecting item is slightly wrong @JammingBen
    • Spacing between avatar and message in notifications drop should be a bit more @tammi-23
    • Space description needs a min-height @tammi-23
    • Space subtitle font-size is to small @tammi-23
    • Snackbars are missing margin left and right on mobile screens
    • margin-x in preview app controls is too small
    • "Set expiration date" icon when sharing needs more spacing to its label @JammingBen
  9. kulmann commented on Sep 15, 2025

    @kulmann
    MemberAuthor

    Followup issues (tested with Chrome):

    Activities sidebar panel

    • activities are missing horizontal gap or margin between timeline-dot and activity content (use the same as with versions, which is also smaller than before, but fine IMO) @JammingBen
    • avatars should be further apart horizontally @JammingBen
    • activity date and avatar are not left-aligned @JammingBen
    Image

    App top bar within apps

    • paddings are too small, especially the bottom padding on the parent folder name / distance to the bottom border of the app top bar file info thingy border @JammingBen
    Image

    Shared with others page

    • Hovering avatars doesn't bring them to the front anymore (in the screenshot the avatar in the middle is hovered) @JammingBen
    Image

    App store

    • tiles on overview have too much padding at the bottom / tiles are too high @kulmann
    • details view renders a white background for the app description @kulmann
    • details view has too much padding around the card body (everything below the cover image) @kulmann
    • tags don't have a cursor which indicates that they're clickable @kulmann
    Image Image

    Space header

    • Description edit icon-button is aligned to the right of the screen (looks like a justify-between on description and edit-button) @kulmann @tammi-23
    • Show more / Show less has no effect anymore. Long texts are rendered without a default max height.
    Image
  10. tammi-23 commented on Sep 16, 2025

    @tammi-23
    Contributor

    Followup issues (tested with FireFox):

    Generally

    Image
  11. JammingBen commented on Sep 16, 2025

    @JammingBen
    Member

    Search location filter

    • the active selection is missing the blue-ish background like we have it for other selects. @JammingBen
    Image

    Text Editor

    • the font of the text editor is not the OpenCloud font. Probably because it sits in some CSS layer and the vendor styling from the md-editor is overwriting it. Hence we need to set is explicitly for the editor. @JammingBen
    Image
  12. self-assigned this
    on Sep 19, 2025
  13. self-assigned this
    on Sep 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions