Observed since 20 Oct, 21:15 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
8-point-grid
The 8 point scss grid system

The 8 point scss grid system.
npm install 8-point-grid --save
Include scss in your build or use the compiled css file with the default settings.
Customize variables to your liking.
$prefix whatever prefix you want, leave this empty if you want -classname$size number of pixels you want your grid to be, ofc we use 8 :ok_hand:$multiplier iterations of the size $size * $multiplier$line line-height multiplier line-height: $size * $multiplier * $lineClass name structure
.$prefix-prop-$multiplier
Margin
m - margin
mt - margin-top
mr - margin-right
mb - margin-bottom
ml - margin-left
my - margin-top, margin-bottom
mx - margin-left, margin-right
Padding
p - padding
pt - padding-top
pr - padding-right
pb - padding-bottom
pl - padding-left
py - padding-top, padding-bottom
px - padding-left, padding-right
Size
w - width
h - height
s - width, height
Type
fs - font-size
lh - line-height
So if you want 8px margin-top, its: pg-mt-1
Or 64px font-size is: pg-fs-8
This repo also contains a Sketch file with an 8 point grid. Download Sketch file
To nudge a element in sketch 8px, go to Sketch -> Preferences and set move objects to 8 in the last input.
Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
node-sassEnvironment{
"local_name": "node-sass",
"alias": false,
"peer_metadata": null
} | ^4.7.2 | development |
Source distribution
{
"integrity": "sha512-ysSzr96Ie5J8q9M6p+l34X7lTANbys6ChGInWdD6zoRipJdhAQFh0/JNxJ8KPY1J9KT/qvuvSYU2jOfQNQvT8A==",
"shasum": "b1a06292023f937e8dde4728bfb8a85798e1cdb7",
"tarball": "https://registry.npmjs.org/8-point-grid/-/8-point-grid-0.3.9.tgz",
"signatures": [
{
"keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
"sig": "MEQCIHBRUSsewzmjarbqdehe0JKcYnPzxMFMoP6ON73tEO/8AiAQ3CqeGqhe2LvjUvE0zQ98sbvvCUptTHmNyt2LWMpJ0g=="
}
]
}Observed since 20 Oct, 21:15 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:6b18bfac5efea7654c17314b7702cd7d95e33f2b8446f0e49d8aa429300a1ed8