itsthatguy / itsthatguy/gridwax

Persist line height per site

Open
#8 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
CoffeeScript
Stars
82
Forks
14
PR merge metrics
No merged PRs in 30d

Description

Right now, I'm working on a site with line height of 24px. I always have to start with gridwax's default 18px then manually increment until I reach the target height. As I overlay grid every few steps in the design process, this really becomes tedious.

It would be great if the bookmarklet would store last used line height for a given site/domain. I guess one could add a cookie or use localStorage for this purpose?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the bookmarklet code that controls line height and review how site or domain state is currently handled. Compare cookie and localStorage options for retaining the last-used value, then verify that reopening the bookmarklet on the same site restores it while other sites remain independent.

Written by the indexing model from the issue text.

Assessment

Tech stack
coffeescript
Domain
tooling, web-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.