Code Monkey home page Code Monkey logo

Comments (13)

bstifle avatar bstifle commented on June 1, 2024 2

Focus States Light Simple
Examples Light
Examples Dark

@asangma @julio8a @paulcpederson @macandcheese

Here is the latest update based on a few meetings and talks with folks. See the Rules png pasted here.

  • It is a basic cascading rule set using increments of 2px.
  • Light theme/dark theme.
  • Rounded corners when applicable
  • Simple transitions
  • See this link for a super quick demo https://codepen.io/bslayer/pen/qBEMgQw

Next steps will be getting a more high fidelity demo, and then testing.

After that, Ideally we will test 2 designs. A) Being the styles shown here and B) being an even more super noticeable color way (black and white instead of blue)

from calcite-design-system.

driskull avatar driskull commented on June 1, 2024 1

Looks good!

from calcite-design-system.

asangma avatar asangma commented on June 1, 2024 1

Nice!
slicer

from calcite-design-system.

paulcpederson avatar paulcpederson commented on June 1, 2024

Yeah, @macandcheese and I talked about this a bit. Because these styles are scoped to the component, it is totally possible to define custom styles for each component. Probably a shared variable or mixin would be the best like @include focus-outline()

from calcite-design-system.

asangma avatar asangma commented on June 1, 2024

(╭ರᴥ•́)
I like it.
I'm guessing a buncha designs would help this along.

from calcite-design-system.

macandcheese avatar macandcheese commented on June 1, 2024

cc @oknoway

from calcite-design-system.

paulcpederson avatar paulcpederson commented on June 1, 2024

@bstifle do you have a set of designs for focus states library-wide? If we can get away with a single custom focus style everywhere that would be better, but we could also do one-off focus styles for every element as long as they're visually cohesive.

from calcite-design-system.

macandcheese avatar macandcheese commented on June 1, 2024

cc @asangma and Mitch as well re: our conversation yesterday

from calcite-design-system.

vcolavin avatar vcolavin commented on June 1, 2024

Just to note, there is an open issue related to this in the arcgis-components Share dialog.

from calcite-design-system.

vcolavin avatar vcolavin commented on June 1, 2024

https://devtopia.esri.com/WebGIS/arcgis-portal-app/issues/26747

from calcite-design-system.

macandcheese avatar macandcheese commented on June 1, 2024

@asangma did you all have any thoughts here?

from calcite-design-system.

bstifle avatar bstifle commented on June 1, 2024

There's 3 main things we are trying to solve with this design, weighted by importance:

  1. Consistency across Esri properties and components
  2. Noticeable, meaningful, and WCAG-able—While not being overly clunky and distracting.
  3. Scalability and ease of use for current and future designs

from calcite-design-system.

bstifle avatar bstifle commented on June 1, 2024

moving this convo over at calcite-base Esri/calcite-base#19

from calcite-design-system.

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.