{"id":27154583,"url":"https://github.com/codeharik/solgaleo","last_synced_at":"2025-07-10T22:41:17.207Z","repository":{"id":285534013,"uuid":"958073985","full_name":"CodeHariK/solgaleo","owner":"CodeHariK","description":"Solidjs ui library","archived":false,"fork":false,"pushed_at":"2025-04-08T09:04:37.000Z","size":289,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-08T10:22:40.982Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CodeHariK.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":"2025-03-31T15:47:11.000Z","updated_at":"2025-04-08T09:04:42.000Z","dependencies_parsed_at":"2025-04-01T09:43:25.918Z","dependency_job_id":null,"html_url":"https://github.com/CodeHariK/solgaleo","commit_stats":null,"previous_names":["codeharik/solgaleo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeHariK%2Fsolgaleo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeHariK%2Fsolgaleo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeHariK%2Fsolgaleo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeHariK%2Fsolgaleo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodeHariK","download_url":"https://codeload.github.com/CodeHariK/solgaleo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247895079,"owners_count":21014229,"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":[],"created_at":"2025-04-08T17:36:59.311Z","updated_at":"2025-07-10T22:41:17.202Z","avatar_url":"https://github.com/CodeHariK.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003cdiv style=\"text-align: center;\"\u003e\n    \u003cimg src=\"./test/logo.png\" alt=\"Logo\" style=\"max-width: 30%; height: auto;\" /\u003e\n\u003c/div\u003e\n\n# Solgaleo\n\nSolidjs ui library\n\n## https://codeharik.github.io/solgaleo\n\n## Installation\n```js\nbun install solgaleo\nor\nnpm install solgaleo\n\n--- Add script in index.html for theme\n\n\u003cscript\u003e\n  if (\n    localStorage.getItem(\"theme\") === \"night\" ||\n    (!(\"theme\" in localStorage) \u0026\u0026\n      window.matchMedia(\"(prefers-color-scheme: dark)\").matches)\n  ) {\n    document.documentElement.classList.add(\"night\");\n  } else {\n    document.documentElement.classList.remove(\"night\");\n  }\n\u003c/script\u003e\n\n```\n\n### Example\n\n```\n--- simple example in /example directory\ncd example\nbun run dev\n\n--- advance example /test\nbun run test\nbun run test:build\n```\n\n## Import Components\n```ts\n--- Add components\n\nimport * as SOL from \"solgaleo\"\n\n--- Individual components\n\nimport * as UI from \"solgaleo/ui\"\nimport * as NAV from \"solgaleo/nav\"\nimport * as FANCY from \"solgaleo/fancy\"\nimport * as ADV from \"solgaleo/adv\"\nimport * as SVG from \"solgaleo/svg\"\n```\n\n### Customize theme\n\n```ts\nimport \"./custom.css\"\nimport * as UI from \"solgaleo/ui\"\n\nrender(() =\u003e \n    \u003cSolProvider\n      initialData={{\n          baseroute: '/solgaleo',\n          customThemes: [{ name: \"custom\", type: \"light\" }],\n      }}\u003e\n      \n      \u003cRouter base=\"/solgaleo\"\u003e\n        \u003cRoute path=\"/\" component={\n          () =\u003e \u003cGridLayout\n            header={\u003cTestHeader /\u003e}\n          /\u003e\n        } /\u003e\n        \u003cRoute path=\"*\" component={NotFound} /\u003e\n      \u003c/Router\u003e\n      \u003c/SolProvider\u003e, \n  document.body!)\n\n** custom.css **\n\n.custom {\n  --spacing: 1rem;\n\n  --primary: #f06432;\n  --primary-bg: #ffdbcc8b;\n  --secondary: #845ec2;\n  --secondary-bg: #e4d8f7;\n  --surface: #fffffcc6;\n  --error: #B3261E;\n  --error-bg: #F9DEDC;\n  --disabled: #9CA3AF;\n}\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeharik%2Fsolgaleo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeharik%2Fsolgaleo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeharik%2Fsolgaleo/lists"}