LeaVerou / LeaVerou/css3patterns

LESS.js

Open
#6 7 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
1.5k
Forks
256
PR merge metrics
No merged PRs in 30d

Description

Just another idea,

Creating CSS patterns often requires to manually compute values (ex: "half the size"...), or have a variable in mind (ex: "my background is white")...

Have you thought of using something like LESS?

The pattern could then be saved as less stylesheet, but it should be displayed as plain CSS on the site (like it is) to allow users to just copy/paste the snippet which is good.

Let me know your thoughts about it ;)

— Antoine

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

The issue proposes authoring patterns as LESS stylesheets while displaying plain CSS for copying, but it names no files, tests, or entry points. First inspect the project's pattern storage and rendering flow, then determine how LESS compilation would fit. Done would mean patterns can be authored with LESS and the site still presents usable plain CSS.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.