Code Monkey home page Code Monkey logo

colette's People

Contributors

bmillot avatar dependabot-preview[bot] avatar dependabot[bot] avatar eguyot avatar fpasquet avatar greg-pep avatar hugobaches avatar j0k3r avatar jameslaviron avatar kystermax avatar menthefraiche avatar nredoulez avatar ryuran avatar tangurb1 avatar webda2l avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

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

colette's Issues

Remove nib dependency

  • Use auto-prefixer to replace vendor prefixes mixins
  • Check other nib usages in Colette and find alternatives

Define contrast colors in settings

For each color within settings, define a contrast color to handle background / foreground colors association.
The idea, if we use a color as a background, is to have a predefined associated color for the text. In the following example, the contrast color for default is white:

image

Add contribution notes

Add:

  • standards to follow
  • custom coding conventions
  • border-width should be set in px and shouldn't depend on the font-size (avoid unwanted rounded border)

Create mixins for spaces classes

Currently we have a set or margin and padding classes, based on a 1.2rem guetter width:

<p class="pa1">Paragraph with a 1.2rem padding</p>

Create, in addition to these classes, mixins so that we can define gutter-based paddings and margins within css declaration. The mixins would look like:

_pa(n)
    padding: n * $gutter * 0.1rem

_pl(n)
    padding-left: n * $gutter * 0.1rem

... etc

Improve contrast check mixin

  • Contrast check should only return true or false. (Only optionally throw a warn).
  • Create a new mixin to choose the first color of a list who validate the contrast.
    And throw a warn if no valid color for text

Improve spinner

At this time, spiner use this html.

<div class="spinner">
    <span class="bounce1"></span>
    <span class="bounce2"></span>
    <span class="bounce3"></span>
</div>

I think to be able to do same effect with this markup :

<div class="spinner">
    <span>Loading…</span>
</div>

It could be better for a11y.

add warning alert

Warning message can be useful to show something wrong but softer than a error.

Refactor _settings

  • Create a specific folder for settings
  • Split settings.styl into multiple files (group variables/classes/mixins/etc. by concern)

Gérer les critical css dans les settings

Dans colette gérer les critical / non critical avec des tableaux dans le fichier _settings.styl, pour indiquer les fichiers de styles qui doivent être inclus en ligne dans le html ou dans la css finale

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.