{"id":26818844,"url":"https://github.com/styocss/styocss","last_synced_at":"2025-04-06T21:50:16.178Z","repository":{"id":151660704,"uuid":"608227589","full_name":"styocss/styocss","owner":"styocss","description":"The instant on-demand Atomic CSS-in-JS engine","archived":false,"fork":false,"pushed_at":"2024-10-29T08:20:26.000Z","size":730,"stargazers_count":5,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-10-29T09:41:08.881Z","etag":null,"topics":["atomic-css","css","css-in-js","engine","front-end","typescript"],"latest_commit_sha":null,"homepage":"","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/styocss.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2023-03-01T15:28:40.000Z","updated_at":"2024-10-29T08:20:30.000Z","dependencies_parsed_at":"2024-03-25T01:23:45.468Z","dependency_job_id":"e9302566-a277-48e1-a134-38cb48cc9206","html_url":"https://github.com/styocss/styocss","commit_stats":null,"previous_names":["deviltea/styocss"],"tags_count":26,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/styocss%2Fstyocss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/styocss%2Fstyocss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/styocss%2Fstyocss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/styocss%2Fstyocss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/styocss","download_url":"https://codeload.github.com/styocss/styocss/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247557801,"owners_count":20958047,"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":["atomic-css","css","css-in-js","engine","front-end","typescript"],"created_at":"2025-03-30T05:15:12.825Z","updated_at":"2025-04-06T21:50:16.101Z","avatar_url":"https://github.com/styocss.png","language":"TypeScript","readme":"\u003cbr\u003e\n\n\u003ch1 align=\"center\"\u003e\n  ✨ StyoCSS ✨\n\u003c/h1\u003e\n\n\u003ch3 align=\"center\"\u003e\n  The instant on-demand Atomic CSS-in-JS engine\n\u003c/h3\u003e\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./assets/logo.png\" alt=\"StyoCSS Logo\" width=\"180\" /\u003e\n\u003c/p\u003e\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ccode\u003eAtomic CSS\u003c/code\u003e + \u003ccode\u003eCSS-in-JS\u003c/code\u003e = \u003ccode\u003eStyoCSS\u003c/code\u003e\n\u003c/p\u003e\n\n\u003cbr\u003e\n\n\u003cblockquote align=\"center\" font-size=\"10px\"\u003e\n  🚧 This project is still under development. 🚧\n\n  The API is not stable yet.\n\u003c/blockquote\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.npmjs.com/package/@styocss/core\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/v/@styocss/core?style=flat-square\" alt=\"npm version\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/@styocss/core\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/dm/@styocss/core?style=flat-square\" alt=\"npm downloads\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://img.shields.io/bundlephobia/minzip/@styocss/core?style=flat-square\"\u003e\n    \u003cimg src=\"https://img.shields.io/bundlephobia/minzip/@styocss/core?style=flat-square\" alt=\"minzipped size\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://img.shields.io/github/actions/workflow/status/DevilTea/styocss/ci.yml?style=flat-square\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/actions/workflow/status/DevilTea/styocss/ci.yml?style=flat-square\" alt=\"ci status\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n---\n\n## Introduction\n\n### What is StyoCSS?\n\u003e StyoCSS is an Atomic CSS-in-JS engine that allow you to write style in CSS-in-JS way and output in Atomic CSS way.\n\u003e\n\u003e Inspired by [UnoCSS](https://github.com/unocss/unocss), [WindiCSS](https://github.com/windicss/windicss), [TailwindCSS](https://github.com/tailwindlabs/tailwindcss), [StylifyCSS](https://github.com/stylify) and [Fela.js](https://github.com/robinweser/fela)!\n\n### Why StyoCSS is been created?\n\u003cdetails\u003e\n  \u003csummary\u003eClick to 👀 the reason\u003c/summary\u003e\n\n\u003e I love the idea of Atomic CSS, there are many great Atomic CSS solutions out there, such as UnoCSS, WindiCSS, TailwindCSS, Stylify, etc.\n\u003e\n\u003e Unfortunately, I am poor to memorize the utility class names, so UnoCSS, WindiCSS or TailwindCSS is not for me.\n\u003e\n\u003e I am surprised by the zero learning curve concept of Stylify, but I don't like the idea of using a custom syntax to workaround the limitations of html class attribute.\n\u003e\n\u003e To solve the problems above, the CSS-in-JS way is the best way to write styles, but it is not the best way to output styles.\n\u003e\n\u003e So I created StyoCSS, it is a Atomic CSS-in-JS engine that allow you to write style in CSS-in-JS way and output in Atomic CSS way!\n\u003c/details\u003e\n\n---\n\n## Features\n- 🥰 Framework Agnostic\n  \u003e It is decoupled from any framework, so you can use it with any framework!\n- 🛠 Zero Runtime\n  \u003e It transforms CSS-in-JS to Atomic CSS at build time!\n- 📖 Zero Learning Curve\n  \u003e In the simplest case, you just need to know the css property names!\n- 🤖 TypeScript Auto-Completion\n  \u003e It has built-in TypeScript support, so you can get auto-completion!\n\n---\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n\u003cp align=\"center\"\u003e\n  Vite + Vue3 Example\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://stackblitz.com/fork/github/styocss/styocss/tree/main/examples/vite-vue3?file=src%2FApp.vue,src%2Fmain.ts,vite.config.ts\"\u003e\n    \u003cimg src=\"https://developer.stackblitz.com/img/open_in_stackblitz.svg\" alt=\"Open in StackBlitz\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n---\n\n## License\n[MIT](./LICENSE)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstyocss%2Fstyocss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstyocss%2Fstyocss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstyocss%2Fstyocss/lists"}