(v1.0.0)
This extension provides a series of grid overlays in web pages so web authors can better implement design translations into web pages. Some key options include the ability to change column widths and colors, gutter widths, and baseline/leading distances. The grid’s options
page shows more, and feature requests are encouraged via GitHub issues.
29 January 2017
Late spring 2017
Installing this extension requires downloading a folder and “feeding” it to Chrome. I’ll discuss how to do this through the GitHub Desktop client and via a command line interface.
Note: Like most extensions, this extension is not designed to work on the extensions page found at chrome://extensions
. Thus, do not confuse this with a bug.
(Burden: ~8 minutes)
-
Launch GitHub Desktop.
-
Load the repo into GitHub Desktop by clicking the appropriate link below for your operating system.
Mac:
github-mac://openRepo/https://github.com/code-warrior/the-modular-grid
Windows:
github-windows://openRepo/https://github.com/code-warrior/the-modular-grid
-
Unless you choose a different name and/or location for the repo, click the blue
Clone
button. -
You should see something akin to the following:
-
Open Chrome’s extensions page by typing
chrome://extensions
into the address bar: -
Open the folder into which you cloned the
the-modular-grid
repo from step3
, then locate theextension
folder. -
Drag the
extension
folder over theChrome Extensions
window until a dialog box says Drop to install. -
The extension is now installed.
-
Click the greyish, grid-like icon to the right of the address bar to toggle the grid on/off.
(Burden: ~4 minutes)
-
Launch your CLI and navigate to a folder into which to download the extension.
-
Clone the repository:
git clone [email protected]:code-warrior/the-modular-grid
-
Switch to the version 1.0.0., release candidate 1, branch, which should be the default:
git checkout ver1.0.0-rc1
-
Launch Chrome.
-
Type
chrome://extensions
into the address bar. -
Locate the
the-modular-grid
folder that was created when you cloned this project in step2
. -
Double-click
the-modular-grid
and find theextension
folder. -
Drag the
extension
folder over theChrome Extensions
window until a dialog box says Drop to install. -
The extension is now installed.
-
Click the greyish, grid-like icon to the right of the address bar to toggle the grid on/off.
Once the project is stable, it will be released via the Chrome Web Store. In the meantime, you can pull updates periodically. In your CLI, simply git pull
, and in the GitHub Desktop client, click the Sync
icon in the upper right hand corner.
Command+Shift+E
toggles the extension in Mac.
Alt+Shift+E
toggles the extension in Windows 10.
Alt+Shift+E
toggles the extension in Fedora Linux.
Ctrl+Shift
toggles the sidebar info boxes in the upper right hand corner when the extension is enabled. This shortcut is universal across all operating systems.
All text input boxes in the options page can be updated with the ↑
and ↓
arrow keys, and all options are automatically saved when values are changed.
All development is now done via Gulp. This includes compiling CSS via Sass, compressing HTML and CSS, and linting JavaScript via ESLint.
Make sure to have Java installed, then proceed with the installation of Node and Gulp.
Lastly, run npm install
to install the node_modules
, then gulp serve
. (Run gulp --tasks
to see all the available development tasks.)