Skip to content

Instantly share code, notes, and snippets.

View mejiaj's full-sized avatar
🐯

James Mejia mejiaj

🐯
View GitHub Profile
@mejiaj
mejiaj / uswds-site-snippets.code-snippets
Last active August 10, 2023 20:38
VS Code snipets for USWDS-Site Repo
//* USWDS Site snippets
//* How to
// 1. Download this file.
// 2. Go to uswds-site project root.
// 3. Place in project's `.vscode/` directory (might have to create if it doesn't exist).
// File originally created for USWDS changelog entries.
// See README on site for latest on changelogs:
// https://github.com/uswds/uswds-site/blob/main/_data/changelogs/_CHANGELOG-README.md
@mejiaj
mejiaj / homebrew.md
Created June 29, 2022 16:08
Homebrew

Useful tools

Fonts

Get fonts like iosevka, monoid, hack, and nerd fonts.

brew tap homebrew/cask-fonts
@mejiaj
mejiaj / .csscomb.json
Last active October 30, 2019 17:32
CSSComb Settings
{
"exclude": [".git/**", "node_modules/**", "bower_components/**"],
"always-semicolon": true,
"block-indent": " ",
"color-case": "lower",
"color-shorthand": false,
"element-case": "lower",
"eof-newline": true,
"leading-zero": true,
"quotes": "double",
@mejiaj
mejiaj / grid-generator.scss
Created February 25, 2019 15:07
Grid Generator SCSS
// Grid System
$grid-columns: 12 !default;
//** Padding between columns. Gets divided in half for the left and right.
$grid-gutter-width: 30px !default;
// Framework grid generation
//
//
// Used only by Bootstrap to generate the correct number of grid classes given
// any value of `$grid-columns`.
@mejiaj
mejiaj / SCSS Media Queries
Created March 10, 2015 15:56
SCSS Media Queries using maps and a mixin.
/*
* Based on sitepoint article by Hugo Giraudel
* http://www.sitepoint.com/managing-responsive-breakpoints-sass/
*/
$breakpoints: (
small: 300/16 + 0em,
medium: 500/16 + 0em,
large: 850/16 + 0em
@mejiaj
mejiaj / Viewport Metatag
Created August 25, 2013 19:53
Viewport Metatag w/ IE 10 equivalent
<meta name="viewport" content="width=device-width, initial-scale=1">
@-ms-viewport { width: device-width; }