View page-structure-cheats.md
Structure and naming patterns
A working document for more consistent naming patterns and document structures.
Landmark blocks
The structural [landmark roles][landmarks] make up the outer containers within a site. These are the building blocks and SHOULD contain attributes describing the [role][roles] they serve.
- [banner][banner]: site-oriented content may include the logo, primary navigation and site-specific search, ONE of these per page
View bindable-dataset.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.Bindable = (function() { | |
'use strict'; | |
function Bindable(context, dataKey) { | |
this.uuid = 0 | |
this.cache = {} | |
this.context = context || document | |
this.dataKey = dataKey || 'data-bindable' | |
this.instanceKey = this.dataKey.replace(/data-/g, '') + 'Id' | |
} |
View helvetica_neue_font_stack.sass
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@function helvetica_neue_stack($weight, $variant) | |
@return "Helvetica Neue CE #{$weight} #{$variant}", "Helvetica Neue LT #{$weight} #{$variant}", "Helvetica Neue #{$weight} #{$variant}", "HelveticaNeue-#{$variant}", "Helvetica Neue #{$variant}", "Helvetica Neue", "Helvetica", "Arial", sans-serif | |
// Fonts | |
$sans-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", "Helvetica", "Arial", "Lucida Grande", sans-serif | |
$sans-neue-family: "HelveticaNeue", "Helvetica Neue", "Helvetica", "Arial", sans-serif | |
$sans-light-family: helvetica_neue_stack("45", "Light") | |
$sans-thin-family: helvetica_neue_stack("35", "Thin") | |
$sans-ultra-family: helvetica_neue_stack("25", "Ultra Light") |
View plugins.md
These plugins have been deprecated from the core Mode Set Vim configuration, but might be useful down the road:
View notes.md
What It Does
This AppleScript used in conjunction with Automator will allow you to set preferences for opening files via mouse click in the Terminal version of Vim. It will also allow you to fire up the Terminal version of Vim through Spotlight within the home directory.
Installation Notes
- Fire up Automator
- Choose "Application" from the workflow templates
- Under the "Actions" panel select "Utilities"
- To the right of "Utilities" drag an instance of "Run AppleScript" to the editor window