Skip to content

Instantly share code, notes, and snippets.

View jhonnymoreira's full-sized avatar

Jhonny Moreira jhonnymoreira

View GitHub Profile
@mixin heart($size: 10px,
$color: red,
$animation: true,
$animation-duration: 0.5s) {
& {
position: relative;
display: inline-block;
width: $size;
height: $size;
background-color: $color;

SVG Study

While studying, I have to keep some notes to better explain myself what is going on through my readings and annotate some of my conclusions about the code.

A11y SVG

  • For a more accessible SVG, you should use <title></title> to describe the content for blind people.
  • Use <desc></desc> to describe the content, it gets read by screen readers and helps to understand the SVG code.

SVG and Icons

#222222,#111111,#f62459,#ffffff,#111111,#ffffff,#f9668b,#2c3e50
@jhonnymoreira
jhonnymoreira / symlink_dotfiles.rb
Last active July 6, 2016 06:21
Create symlink to your dotfiles
export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="gitster"
export LANG=en_US.UTF-8
HIST_STAMPS="dd.mm.yyyy"
export UPDATE_ZSH_DAYS=1
plugins=(git)
source $ZSH/oh-my-zsh.sh
# Improve colors
set -g default-terminal "screen-256color"
set -g status-utf8 on
# http://stackoverflow.com/questions/22715071/vim-and-tmux-rendering-error
set-window-option -g utf8 on
# Scrolling
set -g mouse on
{
"always_show_minimap_viewport": true,
"bold_folder_labels": true,
"color_scheme": "Packages/Material Theme/schemes/Material-Theme-Darker.tmTheme",
"dictionary": "Packages/Language - English/en_US.dic",
"font_options":
[
"gray_antialias"
],
"font_size": 12,
@jhonnymoreira
jhonnymoreira / _colors.scss
Created September 2, 2015 20:48
Colors to the second version of my site.
// COLORS
// ============================================================================
// Based on: https://color.adobe.com/pt/novomr-color-03-color-theme-4255297/
// White
$porcelain : #ecf0f1;
$white : #ffffff;
// Green
$observatory : #038b75;
[user]
name = xxx
email = xxx
[core]
excludesfile = ~/.gitignore
[alias]
ad = add -i
br = branch
@jhonnymoreira
jhonnymoreira / .gitconfig
Last active May 4, 2016 02:49
Git Mussum
[alias]
edis = add
statis = status
comitis = commit
puxis = push
pulis = pull
rebeisis = rebase
resetius = reset
mergius = merge