{"id":29872417,"url":"https://github.com/synox/s2-sandbox","last_synced_at":"2025-07-30T20:33:15.972Z","repository":{"id":306985901,"uuid":"987896815","full_name":"synox/s2-sandbox","owner":"synox","description":null,"archived":false,"fork":false,"pushed_at":"2025-07-28T19:39:26.000Z","size":128,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-28T21:31:50.087Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/synox.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":"2025-05-21T18:46:41.000Z","updated_at":"2025-07-28T19:23:17.000Z","dependencies_parsed_at":"2025-07-28T21:31:53.625Z","dependency_job_id":"e7e14106-4af4-4a50-9f04-41de40ede093","html_url":"https://github.com/synox/s2-sandbox","commit_stats":null,"previous_names":["synox/s2-sandbox"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/synox/s2-sandbox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/synox%2Fs2-sandbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/synox%2Fs2-sandbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/synox%2Fs2-sandbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/synox%2Fs2-sandbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/synox","download_url":"https://codeload.github.com/synox/s2-sandbox/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/synox%2Fs2-sandbox/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267935689,"owners_count":24168387,"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","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-07-30T20:32:43.489Z","updated_at":"2025-07-30T20:33:15.964Z","avatar_url":"https://github.com/synox.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vite example\n\nThis is a [Vite](https://vitejs.dev/) project bootstrapped with [`create-vite`](https://github.com/vitejs/vite/tree/main/packages/create-vite).\n\n## Getting Started\n\nFirst, run the development server:\n\n```bash\nyarn install\nyarn dev\n```\n\nOpen [http://localhost:5173](http://localhost:5173) with your browser to see the result.\n\nstyle-macro and React Spectrum - Spectrum 2 have been added to `src/App.tsx` to show an example of a Spectrum 2 styled component. This file does client side rendering. The page auto-updates as you edit the file.\n\n## Macros config\n\nEdit the vite.config.ts to add an import for the plugin and add a vite config that adds the vite version of the macros plugin. An empty config file would be updated to look like the following.\n\n```\nimport { defineConfig } from 'vite'\nimport macrosPlugin from 'unplugin-parcel-macros';\n\n// https://vitejs.dev/config/\nexport default defineConfig({\n  plugins: [\n    // ...\n    macrosPlugin.vite()\n    // ..\n  ],\n})\n```\n\nTo use the spectrum-theme via macros, pass your styles object to the style() macro and set the result as a new function. This new function or style() should be used within a `className` prop to style your html elements. Use the `styles` prop on React Spectrum components.\n\n```jsx\n\u003cdiv className={style({marginStart: 16})}\u003e\n  Hello Spectrum 2!\n\u003c/div\u003e\n```\n\n```jsx\n\u003cButton styles={style({marginStart: 16})}\u003e\n  Hello Spectrum 2!\n\u003c/Button\u003e\n```\n\n## Application setup\n\nPlease include the page level CSS in the root of your application to configure and support the light and dark themes.\n\n```\nimport \"@react-spectrum/s2/page.css\";\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsynox%2Fs2-sandbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsynox%2Fs2-sandbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsynox%2Fs2-sandbox/lists"}