{"id":16346544,"url":"https://github.com/madeleineostoja/satchel","last_synced_at":"2025-03-20T23:32:49.708Z","repository":{"id":42703368,"uuid":"260662709","full_name":"madeleineostoja/satchel","owner":"madeleineostoja","description":"The little bag of CSS-in-JS superpowers","archived":false,"fork":false,"pushed_at":"2023-01-26T22:59:32.000Z","size":970,"stargazers_count":16,"open_issues_count":16,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-17T18:53:51.127Z","etag":null,"topics":["css","css-in-js","css-library","css-utilities","emotion","functional-css","styled-components"],"latest_commit_sha":null,"homepage":"https://www.satchel.style","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/madeleineostoja.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-05-02T10:24:54.000Z","updated_at":"2023-10-23T20:04:06.000Z","dependencies_parsed_at":"2023-02-15T02:31:04.157Z","dependency_job_id":null,"html_url":"https://github.com/madeleineostoja/satchel","commit_stats":null,"previous_names":["peppercornstudio/satchel"],"tags_count":32,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madeleineostoja%2Fsatchel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madeleineostoja%2Fsatchel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madeleineostoja%2Fsatchel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madeleineostoja%2Fsatchel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/madeleineostoja","download_url":"https://codeload.github.com/madeleineostoja/satchel/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244711713,"owners_count":20497415,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["css","css-in-js","css-library","css-utilities","emotion","functional-css","styled-components"],"created_at":"2024-10-11T00:35:36.136Z","updated_at":"2025-03-20T23:32:49.383Z","avatar_url":"https://github.com/madeleineostoja.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Satchel\n\n[![NPM](https://img.shields.io/npm/v/satchel-css)](https://www.npmjs.com/package/satchel-css) [![Jest](https://github.com/peppercornstudio/satchel/workflows/tests/badge.svg?branch=master\u0026event=push)](https://github.com/peppercornstudio/satchel/actions?query=workflow%3Atests) [![Codecov](https://img.shields.io/codecov/c/github/peppercornstudio/satchel)](https://codecov.io/gh/peppercornstudio/satchel) [![License](https://img.shields.io/npm/l/satchel-css)](https://github.com/peppercornstudio/satchel/blob/master/LICENSE.md)\n\nSatchel is a tiny collection of CSS-in-JS utilities that automates common patterns, saves time, encourages consistency, and makes developers' lives easier.\n\n## Features\n\n- [Configurable normalization](https://www.satchel.style/normalize)\n- [Element-specific resets](https://www.satchel.style/reset)\n- [Automagical fluid units](https://www.satchel.style/fluid)\n- [Low-level grid helpers](https://www.satchel.style/grids)\n- [Aspect-ratio tools](https://www.satchel.style/aspect)\n- [Color transforms](https://www.satchel.style/color)\n- [Font importer](https://www.satchel.style/font)\n- [Typography helpers](https://www.satchel.style/typography)\n- [Positioning shorthands](https://www.satchel.style/position)\n- [Range element abstractions](https://www.satchel.style/range)\n- [Clearfix](https://www.satchel.style/clearfix)\n\nAll of Satchel’s utilities return plain strings, so they work almost everywhere. The only prerequisite is that your environment supports [nested CSS selectors](https://tabatkins.github.io/specs/css-nesting/#nest-selector). Popular CSS-in frameworks like [styled-components](https://styled-components.com/), [Emotion](https://emotion.sh/), [Linaria](https://linaria.now.sh/), and any other tool built on top of the [Stylis](https://github.com/thysultan/stylis.js) preprocessor work out of the box.\n\n## Installation \u0026 Usage\n\nInstall Satchel from NPM\n\n```bash\nnpm i satchel-css\n```\n\nImport Satchel’s utilities and embed them in CSS template strings by wrapping them in `${ }` braces.\n\nWhile Satchel’s utilities will work in plain strings, to support nested selectors out of the box you’ll probably want to use them alongside a CSS-in-JS library like [Emotion](https://emotion.sh) or [styled-components](https://styled-components.com).\n\n```javascript\nimport { css } from '@emotion/core';\nimport { reset, fluid } from 'satchel-css';\n\nconst buttonStyles = css`\n  ${reset('button')}\n  background: blue;\n  color: white;\n`;\n\nconst headingStyles = css`\n  ${fluid('font-size', '2rem', '3.5rem')};\n`;\n```\n\n## API\n\nRead the full documentation at **[satchel.style](https://www.satchel.style)**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadeleineostoja%2Fsatchel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmadeleineostoja%2Fsatchel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadeleineostoja%2Fsatchel/lists"}