Giter Site home page Giter Site logo

Comments (10)

skjnldsv avatar skjnldsv commented on May 13, 2024 3

Yes, we should aim to uniform designs :)

from notes.

Henni avatar Henni commented on May 13, 2024 2

Looks like we currently don't have a .primary-button style in core.
I think we should change that so that we can reuse it in contacts, mail and here in notes.

from notes.

MariusBluem avatar MariusBluem commented on May 13, 2024

👍

from notes.

jancborchardt avatar jancborchardt commented on May 13, 2024

I agree with this, yes. It makes the primary action clearer and we do this in Contacts & Mail as well. (And to some extent in Files and Calendar)

from notes.

skjnldsv avatar skjnldsv commented on May 13, 2024

I completely agree.
Should be in apps.scss. A #app-navigation > .primary-button-container > button.primary-button?

  • Mail has its button inside a div
  • Contacts has it inside a custom element (which a class can be easily applied)
  • Calendar has 3 buttons (previous, month and next) maybe we should uniform the .primary-button-container with some flexbox to be compatible with that too?

from notes.

Henni avatar Henni commented on May 13, 2024

I would ignore calendar and just define a simple primary button.

A wrapper element like .primary-button-container shouldn't be necessary. And maybe we should even remove #app-navigation to allow primary buttons in the app-content.

Also: Do we only want button or also input[type=button]?

from notes.

skjnldsv avatar skjnldsv commented on May 13, 2024

Since every app is using a wrapper, it could be useful to think twice about it.
I agree with you, this isn't necessary, but I like the idea of a unified buttonS wrapper wich include calendar.

from notes.

jancborchardt avatar jancborchardt commented on May 13, 2024

We do have .primary though, as used by the log in button and the main button of the file picker, and in the Calendar app for event saving, and in Mail for send and reply button. :) So that should be used.

from notes.

jancborchardt avatar jancborchardt commented on May 13, 2024

This is fixed, we now have a nice button there. :)

from notes.

jancborchardt avatar jancborchardt commented on May 13, 2024

Thanks to @andreasjacobsen93 who fixed it in #108 ;)

from notes.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.