larsenwork / larsenwork/postcss-easing-gradients

confused about docs

Open
#8 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1k
Forks
25
PR merge metrics
No merged PRs in 30d

Description

Hi, thank you for your code. I'm a bit confused by your docs and demos, though.

  • In demo I find a 'precision' option passed to this plugin. This is not mentioned in your docs.
    .pipe(
      gulpPostcss([
        easingGradient({
          // Default settings
          precision: 0.1,
          alphaDecimals: 5,
        }),
      ])
  • In demo pcss I found:

background: linear-gradient(to right, green, steps(4, skip-none), red);

What's steps? it's not standard css syntax, If I'm not wrong..

Could you please exaplain and/or update your docs and demos?

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 comparing the documented options with the demo's precision setting, then inspect the demo CSS containing steps(4, skip-none). Done means the documentation explains both items clearly or the demos are updated to match the documented behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, javascript
Domain
documentation, web-dev
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.