Skip to content

Instantly share code, notes, and snippets.

View adyz's full-sized avatar
🔥
On fire

Adrian Florescu adyz

🔥
On fire
View GitHub Profile
@adyz
adyz / VSCode
Created December 10, 2018 15:22
{
editor.minimap.enabled: false,
workbench.editor.showTabs: false,
workbench.activityBar.visible: false,
workbench.editor.showIcons: true,
workbench.iconTheme: "vs-minimal",
terminal.external.osxExec: "iTerm.app",
terminal.integrated.shell.osx: "/bin/zsh",
workbench.statusBar.visible: false,
window.zoomLevel: 0,
@adyz
adyz / retina-simple-sprite-compass
Last active September 12, 2018 08:02
Retina Sprite CSS with Compass
// 1: To export the PNGs in different sizes I used Slicy - http://macrabbit.com/slicy/ - a mac app that looks into your PSD and if it finds any layer with .png extention will export that layer to PNG. You can also add a tag to the main group layer to export retina version too. A bit pricy, but it's fine if you value your time.
// 2: I added the icons in two folders (retina and normal) You just have to make sure that both folders contain the same number of files and they both have the same file name inside.
// 3: I added this code after long time of searchin, testing, and mashing my head into the wall.
$naviconsNormal: sprite-map("navicons/normal/*.png", $spacing: 10px);