Skip to content

Instantly share code, notes, and snippets.

View sapphirus's full-sized avatar

Amakasu Ryoma sapphirus

View GitHub Profile
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->
// ----
// Sass (v3.4.21)
// Compass (v1.0.3)
// ----
// Offset
$offset-basesize: 16 !default;
$offset-size-map: (
none: 0,
@sapphirus
sapphirus / offset.sass
Last active June 1, 2016 06:15
Offset
// ----
// Sass (v3.4.21)
// Compass (v1.0.3)
// ----
// Offset
$offset-basesize: 16 !default
$offset-size-map: (none: 0, tiny: $offset-basesize * 0.25, small: $offset-basesize * 0.5, medium: $offset-basesize, large: $offset-basesize * 1.5, xlarge: $offset-basesize * 2, xxlarge: $offset-basesize * 3)