{"id":23488442,"url":"https://github.com/onesy-me/style","last_synced_at":"2026-02-07T16:31:25.729Z","repository":{"id":37257368,"uuid":"476225592","full_name":"onesy-me/style","owner":"onesy-me","description":"JS CSS framework agnostic solution","archived":false,"fork":false,"pushed_at":"2025-11-29T14:19:40.000Z","size":1768,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-01T16:46:44.498Z","etag":null,"topics":["amaui","back-end","backend","browser","cascading-style-sheets","css","css-in-js","front-end","frontend","javascript","js","library","node","nodejs","style","styling","typescript","utils","web"],"latest_commit_sha":null,"homepage":"https://docs.onesy.me/library/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/onesy-me.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-03-31T08:52:19.000Z","updated_at":"2025-11-29T14:19:44.000Z","dependencies_parsed_at":"2023-01-31T20:15:17.614Z","dependency_job_id":"b1c568ca-09c3-4472-9601-39cff723f3c8","html_url":"https://github.com/onesy-me/style","commit_stats":{"total_commits":92,"total_committers":1,"mean_commits":92.0,"dds":0.0,"last_synced_commit":"b8027ac6977ec5199947cf907c346b167f847c90"},"previous_names":["onesy-me/amaui-style","amaui-org/amaui-style"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/onesy-me/style","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onesy-me%2Fstyle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onesy-me%2Fstyle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onesy-me%2Fstyle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onesy-me%2Fstyle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/onesy-me","download_url":"https://codeload.github.com/onesy-me/style/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onesy-me%2Fstyle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29199750,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T16:28:23.579Z","status":"ssl_error","status_checked_at":"2026-02-07T16:28:22.566Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["amaui","back-end","backend","browser","cascading-style-sheets","css","css-in-js","front-end","frontend","javascript","js","library","node","nodejs","style","styling","typescript","utils","web"],"created_at":"2024-12-24T23:11:29.502Z","updated_at":"2026-02-07T16:31:25.700Z","avatar_url":"https://github.com/onesy-me.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003c/br\u003e\n\u003c/br\u003e\n\n\u003cp align='center'\u003e\n  \u003ca target='_blank' rel='noopener noreferrer' href='#'\u003e\n    \u003cimg width='auto' height='84' src='https://raw.githubusercontent.com/onesy-me/onesy/refs/heads/main/utils/images/logo.png' alt='onesy logo' /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003ch1 align='center'\u003eonesy Style\u003c/h1\u003e\n\n\u003cp align='center'\u003e\n  JS CSS framework agnostic solution\n\u003c/p\u003e\n\n\u003cbr /\u003e\n\n\u003ch3 align='center'\u003e\n  \u003csub\u003eMIT license\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003c/sub\u003e\n  \u003csub\u003eProduction ready\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003c/sub\u003e\n  \u003csub\u003eUMD 35.3kb gzipped\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003c/sub\u003e\n  \u003csub\u003e100% test cov\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003c/sub\u003e\n  \u003csub\u003eBrowser and Nodejs\u003c/sub\u003e\n\u003c/h3\u003e\n\n\u003cp align='center'\u003e\n    \u003csub\u003eVery simple code\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003c/sub\u003e\n    \u003csub\u003eModern code\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003c/sub\u003e\n    \u003csub\u003eJunior friendly\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003c/sub\u003e\n    \u003csub\u003eTypescript\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003c/sub\u003e\n    \u003csub\u003eMade with :yellow_heart:\u003c/sub\u003e\n\u003c/p\u003e\n\n\u003cbr /\u003e\n\n## Getting started\n\n### Add\n\n```sh\nyarn add @onesy/style\n```\n\n### Use\n\n```javascript\n  import { style } from '@onesy/style';\n\n  const styles = style(theme =\u003e ({\n    '@keyframes a': {\n      '0%': {\n         color: 'white',\n      },\n      '40%': {\n         color: 'yellow',\n      },\n    },\n\n    body: {\n        '@pure': true,\n        margin: 40,\n    },\n\n    main: {\n        '@p': true,\n        margin: 40,\n    },\n\n    '@pure': {\n        a: {\n          margin: 4,\n        },\n    },\n\n    a: {\n        width: 100,\n\n        'max-width': 100,\n\n        // Simple\n        background: '#faa',\n\n        margin: '0 14px 4px 40px',\n\n        // rtl\n        marginLeft: 41,\n        float: 'left',\n\n        // sort\n        paddingLeft: 41,\n        padding: 40,\n\n        // prefixes\n        position: 'sticky',\n        transition: 'all .4s ease',\n        maskOrigin: 'inherit',\n        maskImage: 'linear-gradient(rgba(0, 0, 0, 1.0), transparent)',\n        maskPosition: '40% 74%',\n\n        // animation\n        animation: '$a .4s ease',\n    },\n\n    // Additionaly nested\n    a1: {\n        color: 'yellow',\n\n        '\u0026 .a14': {\n          color: 'white',\n\n          '\u0026 \u003e a': {\n              color: 'yellow',\n\n              '\u0026:active': {\n                color: 'orange',\n\n                // rtl\n                marginLeft: 40,\n                float: 'left',\n\n                // sort\n                padding: 40,\n                paddingLeft: 41,\n\n                // prefixes\n                position: 'sticky',\n                transition: 'all .4s ease',\n                maskOrigin: 'margin-box',\n                maskImage: 'linear-gradient(rgba(0, 0, 0, 1.0), transparent)',\n                maskPosition: '40% 74%',\n              }\n           }\n       },\n    },\n\n    a2: {\n        // Function\n        background: props =\u003e props.a === 1 ? 'yellow' : 'orange',\n    },\n\n   a3: props =\u003e props.a === 1 ? {\n      width: 100,\n\n      // animation\n      animation: '$a .4s ease',\n   } : {\n      width: 100,\n\n      'max-width': 100,\n\n      // Simple\n      background: 'orange',\n   },\n  }));\n\n  // Add\n  const response = styles.add();\n\n  // At this moment all the static sheets and instances of dynamic ones\n  // have been added to the DOM and in response\n  // you have all their made classNames, classes and keyframes\n  // values to add to your html, vue, react elements, etc.\n\n  // Response\n  // {\n  //   ids: {\n  //     static: [\n  //       '1b2b0876-238b-416e-b10b-c01f8dbdfd76'\n  //     ],\n  //     dynamic: [\n  //       '4a4e395b-2db7-4619-ad12-f17737a0d3d1'\n  //     ]\n  //   },\n  //   classNames: {\n  //     a: 'a-0',\n  //     a1: 'a1-1',\n  //     a2: 'a2-2',\n  //     a3: 'a3-3'\n  //   },\n  //   classes: {\n  //     a: 'a-0',\n  //     a1: 'a1-1',\n  //     a2: 'a2-2',\n  //     a3: 'a3-3'\n  //   },\n  //   keyframes: {\n  //     a: 'a-0'\n  //   }\n  // }\n\n```\n\n### Dev\n\nInstall\n\n```sh\nyarn\n```\n\nTest\n\n```sh\nyarn test\n```\n\n### Prod\n\nBuild\n\n```sh\nyarn build\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonesy-me%2Fstyle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fonesy-me%2Fstyle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonesy-me%2Fstyle/lists"}