Giter Club home page Giter Club logo

sseeeedd's People

Contributors

dependabot[bot] avatar ffoodd avatar gaetanbt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

nico3333fr okeul

sseeeedd's Issues

JS helpers

To toggle aria-* attributes?

Useful or not? Could I implement a basic van11y thing?

Use prefers-reduced-motion query?

Would something like:

@media screen and (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

ever be helpful?

counter() & attr()

Test and document current support for those two functions, that will (in the future) allow to use CSS generated values and avoid style attribute to handle variables datas.

Add basic drag'n drop features

Drag'n drop feature would be useful in a few cases: advanced forms (eg. admin screens), live card sorting, grid items positions…

Should probably wait for #39 to be done :)

Drag'n drop a11y is kinda hard. Dragon Drop seems good and lightweight, definetely worth a try.

Waterfall charts

Bar charts are way improvable: by declaring all values as custom properties on <dl>, we should be able to calc() each starting point by additioning every previous values; thus creating a waterfall chart.

How cool would this eb?

Add a Github page

We could run a single command to copy dist folder onto a gh-page branch.

And voilà.

Use custom properties to handle components' variants

By using custom properties, we may ease contextual variants for components. An example: sizing a component in em would be muc, much easier with things like font-size: calc( 1em * var(--size) );.
We should also keep in mind currentColor and inherit values!

And it'll ease theming too :)

Charts fallback

Basic <dl> styles shouldn't be reset without being sure we'll make something better!

Corriger les fieldset

/**
  * @bugfix Les fieldset ne respectent pas la largeur imposée
  * 1.
  ** @affected Chrome
  **  @see https://bugs.webkit.org/show_bug.cgi?id=123507
  * 2.
  ** @affected Firefox
  ** @see https://bugzilla.mozilla.org/show_bug.cgi?id=504622
  */
fieldset,
.fieldset {
  min-width: 0; /* 1 */
}

/* 2 */
@-moz-document url-prefix() {
    fieldset {
        display: table-cell;
    }
}

Responsive charts

Right after #49, we'd be able to test RWD again and probably improve it by only overriding basic <dl> styles on a minimum viewport width.

Add some linters?

Could we lint:

  • sass
  • css
  • JS
  • HTML (using Validator)
  • Prettier
  • Hook on npm / Git / Travis

Allow sseeeedd to be used as a dependency?

Tons of ideas are coming up next to sseeeedd, based on it: but how on Earth will I maintain their foundations if they're forking sseeeedd?

There're probably plenty of solutions, but IMHO the best would be to allow sseeeedd to be used and customized as a dependency. Make it configurable and installable through NPM would be a good start.

Although it would need to allow:

  • to unhook some SCSS imports;
  • to unhook some JS vendors;
  • to define if it needs Nunjucks for templating;
  • the way to handle SVG: spriting it using symbols, inlining it, using it as img src, or maybe even generating an icon font from it…
  • etc.

I have no idea on the way to handle this!

Maybe splitting sseeeedd would do the job?

Remove <base> tag

Kinda useless, it also prevents local scripts and styles to be served outside browsersync.

Or am I missing something?

Use localStorage to store user defined datas

Letting users define datas through a simple HTML form, we should be able to store values in localStorage.

I’d love to find a way to directly write datas to a JSON file, too…

Sources:

Usages:

  • Theming, obviously;
  • Data customization: grid positions (like for maps, wedding's seating plan, etc.), card values (like in planning poker cards, or card sorting datas)…

Should be reusable and pretty fun to do :)

Create a theme customizer

Using CSS custom properties and localStorage, we can easliy make colors, fonts et all customizable.

See Inclusive components' theme switcher as an example.

I see it more like an assistive tool for users (increase or decreases contrasts and font sizes, at least) as well as a wonderful crash-tester for sseeeedd :D

Including it in every staticwork would be very, very valuable.

Improve focus styles

Designing focus state instead of doing nothing is the best way to not hear "Wait, what's the ugly outline?".

So I highly recommend to play a bit with focus state design:

  • transition or animation;
  • outline offset;
  • background, shadows;
  • transform,
  • etc.

:focus-visible and :focus-within might enhance the interactions 😊

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.