{"id":24083278,"url":"https://github.com/mitranim/sb","last_synced_at":"2026-02-09T06:03:44.083Z","repository":{"id":82132077,"uuid":"127267039","full_name":"mitranim/sb","owner":"mitranim","description":"Survivable CSS core","archived":false,"fork":false,"pushed_at":"2024-08-16T12:26:58.000Z","size":64,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-11T14:55:35.105Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"SCSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mitranim.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-03-29T09:12:56.000Z","updated_at":"2024-08-16T12:27:01.000Z","dependencies_parsed_at":"2024-08-16T13:58:30.877Z","dependency_job_id":null,"html_url":"https://github.com/mitranim/sb","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mitranim/sb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitranim%2Fsb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitranim%2Fsb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitranim%2Fsb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitranim%2Fsb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mitranim","download_url":"https://codeload.github.com/mitranim/sb/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitranim%2Fsb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29257767,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-09T04:11:57.159Z","status":"ssl_error","status_checked_at":"2026-02-09T04:11:56.117Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2025-01-09T23:56:16.067Z","updated_at":"2026-02-09T06:03:44.070Z","avatar_url":"https://github.com/mitranim.png","language":"SCSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Overview\n\nShort for **S**tyle-**B**ase. This is a different type of style library:\n\n* No fancy visuals, just a blank canvas and convenient building blocks.\n* Everything is opt-in.\n* Very small, very simple.\n\nIt consists of:\n\n  * A style reset.\n  * Common-sense classes for primitive properties.\n  * Flexbox layout shortcuts.\n\nIt _does not include_:\n\n  * Visual styles.\n  * Complex elements.\n\nRead `_sb.scss`, it's self-explanatory.\n\n## Why\n\nI've used various GUI and style frameworks, wrote a few: [1](https://mitranim.com/stylific/), [2](https://mitranim.com/stylific-lite/); collaborated on a few: [3](https://github.com/aristovn/stylebox), [4](https://github.com/purelabio/purelab-ui). None of them fully survive a switch to a new project with a new design. A fully reusable CSS core cannot be a visual framework.\n\nThis is the common denominator, the sediment, that has successfully survived being copied-and-pasted between many of my and [Purelab](http://purelab.io) projects with vastly different visual styles.\n\nThe idea of reusable elements is nice, but it doesn't work well for CSS. The idea of just grabbing a style library from NPM is nice, but it doesn't work well for CSS. Applications need to write their CSS _almost_ from scratch, and for me, this \"library\" is close to that threshold.\n\n## Usage\n\nEither use as a Git submodule, or copy-paste into your app. CSS libraries, even semantically versioned, are way too brittle. There's no such thing as a non-breaking change in CSS. The version must be locked down to the exact commit. The application may also need _full control_ over the code.\n\nRequires SCSS. Names are unprefixed; import via `@use` for namespacing.\n\n```scss\n@use './sb/reset';\n@use './sb/sb';\n\n@include sb.all;\n```\n\n## License\n\nhttps://unlicense.org\n\n## Misc\n\nIf you have questions or suggestions, open an issue or chat me up. Contacts: https://mitranim.com/#contacts\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmitranim%2Fsb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmitranim%2Fsb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmitranim%2Fsb/lists"}