Comments (5)
- 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.
- https://github.com/airbnb/javascript
- don't style elements, style classes
- don't use id if not needed
- how to use with react
- global styles
- styles from another packages
from scss-mixins.
- color naming
- creating JavaScript-specific classes to bind to, prefixed with
.js-
from scss-mixins.
- - 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.
- - 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)
- grid - update description
- grid overriding gutters
- triangle mixin doesn't work - Mixin pseudo has no parameter named $pos
- how to use font-face mixin with css modules?
- update main color
- invalid url in readme HOT 1
- Proposal - color and background mixins
- grid doesn't work
- upgrade to stable bootstrap 4
- Please add mixin for placeholder in forms
- Add button mixins
- border radius mixins
- List of enchancments
- import _forms.scss is missing
- Incorrect docs description for triangle mixin
- Wrong arguments in triangle mixin for pseudo mixin HOT 1
- Proposal - plain-hove-focus-active mixin HOT 6
- Font-variant mixin - color dont work HOT 1
- Proposal - cover background image HOT 1
- No mixin named border-radius HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scss-mixins.