callstack / callstack/linaria

Integration with 11ty

Open
#697 0 comments 0 reactions 0 assignees View on GitHub
feature: proposal 💬 needs: triage 🏷
Dominant language
TypeScript
Stars
12.4k
Forks
413
PR merge metrics
No merged PRs in 30d

Description

## Describe the feature

To use linaria as a css-in-js solution for `eleventy` https://www.11ty.dev

*maybe it is already feasible, so it is a matter of including it in the docs

## Motivation

11ty is a great static generator that AFAIK lacks modern css-in-js solutions, but linaria should be compatible with it (already?)

So it would be useful to document what is needed to setup linaria with 11ty so that one can include css styles within js 11ty layouts

## Possible implementations

Styles could be located in js template functions(*) and extracted during the build process

(*) https://www.11ty.dev/docs/languages/javascript/#javascript-template-functions

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.