Giter Club home page Giter Club logo

Comments (5)

Nerdy-Girl avatar Nerdy-Girl commented on May 30, 2024
  • use stylelint
  • Naming Conventions
    • don't reuse parent's class name in child's classes
    • keep order of declaring classes and it states (firstly declare state of current class then declare nested children ie. .active is higher than nested child class)
    • class should be described by entity, behaviour, state or look
  • two (2) spaces indents, no tabs
  • camelCase in react, rest in hypen-case
  • use mixins for margins and paddings
  • don't use hardcoded values in scss
  • assign value to variable in variables.scss
  • first use mixins, then override styles (if needed)
  • never go more than 3 levels deep (add stylelint rule)

from scss-mixins.

ArekRado avatar ArekRado commented on May 30, 2024

from scss-mixins.

JSerhii avatar JSerhii commented on May 30, 2024
  • color naming
  • creating JavaScript-specific classes to bind to, prefixed with .js-

from scss-mixins.

ArekRado avatar ArekRado commented on May 30, 2024
  • - reboot.css or normalize.css
  • - getting started - how to create first project and, how to configure it, how to style my first component
  • - how to use typography

from scss-mixins.

Nerdy-Girl avatar Nerdy-Girl commented on May 30, 2024

@ArekRado

  • - how to use typography

shouldn't this be in typography documents? or you have special purpose and want it to be described? (example pls)

also this

  • - getting started - how to create first project and, how to configure it, how to style my first component

shouldn't be in Best Practices - SCSS Styleguide in my opinion

I think we should rename this issue for 'Best Practices - SCSS Styleguide' so it won't be so generic

from scss-mixins.

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.