Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prototype Lumo utility classes in Designer #2403

Open
anssit opened this issue Jun 28, 2021 · 0 comments
Open

Prototype Lumo utility classes in Designer #2403

anssit opened this issue Jun 28, 2021 · 0 comments

Comments

@anssit
Copy link
Contributor

anssit commented Jun 28, 2021

The Lumo utility classes https://github.com/anezthes/lumo-css-framework, vaadin/web-components#2121 could provide an efficient mechanism for styling views in Designer.

Draft and prototype a UI that utilises the utility classes for styling instead of (or in addition to) inline styles.

See, for example, how the image list view from start.vaadin.com already uses the classes:

      <main class="max-w-screen-lg mx-auto pb-l px-l">
        <vaadin-horizontal-layout class="items-center justify-between">
          <vaadin-vertical-layout>
            <h2 class="mb-0 mt-xl text-3xl">Beautiful photos</h2>
            <p class="mb-xl mt-0 text-secondary">Royalty free photos and pictures, courtesy of Unsplash</p>
          </vaadin-vertical-layout>
          <vaadin-select label="Sort by" id="sortBy"></vaadin-select>
        </vaadin-horizontal-layout>
        <ol class="gap-m grid list-none m-0 p-0">
          <slot></slot>
        </ol>
      </main>
@anssit anssit changed the title Support Lumo utility classes Prototype Lumo utility classes in Designer Aug 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant