{"id":23364486,"url":"https://github.com/fission-codes/kit","last_synced_at":"2025-12-11T20:54:43.639Z","repository":{"id":55549717,"uuid":"232902344","full_name":"fission-codes/kit","owner":"fission-codes","description":"UI Kit for Fission projects","archived":false,"fork":false,"pushed_at":"2023-10-17T06:00:44.000Z","size":2289,"stargazers_count":8,"open_issues_count":11,"forks_count":1,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-04-03T04:56:18.332Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://kit.fission.app","language":"Elm","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fission-codes.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2020-01-09T20:46:11.000Z","updated_at":"2024-03-30T11:54:56.000Z","dependencies_parsed_at":"2024-03-08T04:46:36.869Z","dependency_job_id":null,"html_url":"https://github.com/fission-codes/kit","commit_stats":{"total_commits":86,"total_committers":4,"mean_commits":21.5,"dds":0.05813953488372092,"last_synced_commit":"0515a32e0019a876764dac2fa2eda6f9972fa106"},"previous_names":["fission-suite/kit"],"tags_count":1,"template":false,"template_full_name":"fission-codes/project-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fission-codes%2Fkit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fission-codes%2Fkit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fission-codes%2Fkit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fission-codes%2Fkit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fission-codes","download_url":"https://codeload.github.com/fission-codes/kit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248133067,"owners_count":21053160,"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":"2024-12-21T13:16:28.275Z","updated_at":"2025-12-11T20:54:38.608Z","avatar_url":"https://github.com/fission-codes.png","language":"Elm","funding_links":[],"categories":[],"sub_categories":[],"readme":"# UI Kit\n\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://github.com/fission-codes/blob/master/LICENSE)\n[![Built by FISSION](https://img.shields.io/badge/⌘-Built_by_FISSION-purple.svg)](https://fission.codes)\n[![Discord](https://img.shields.io/discord/478735028319158273.svg)](https://discord.gg/zAQBDEq)\n[![Discourse](https://img.shields.io/discourse/https/talk.fission.codes/topics)](https://talk.fission.codes)\n\n__The Fission UI Kit__,  \n_designed to be used with [Tailwind CSS](https://tailwindcss.com)._\n\n🎨 [Styleguide](https://kit.fission.app)  \n📖 [Documentation](https://kit.fission.app/docs/)\n\n\n\n## Getting Started\n\n### Step one, install dependencies.\n\n* `npm install @fission-codes/kit`\n* `npm install tailwindcss`\n* Copy the font files.  \n  `npx copy-fission-fonts ./vendor/fonts/ --woff2`\n* Copt the images.\n  `npx copy-fission-images ./vendor/images/`\n\n\n### Step two, configure Tailwind CSS.\n\nWe need to configure Tailwind CSS to use the Fission colors, fonts and other things.\n\n```js\nimport plugin from \"tailwindcss/plugin\"\nimport * as kit from \"@fission-codes/kit\"\n// or kit = require(\"@fission-codes/kit\")\n\nexport default {\n  purge: [\n    ...kit.tailwindPurgeList()\n  ],\n\n  theme: {\n    colors: kit.dasherizeObjectKeys(kit.colors),\n    fontFamily: kit.fonts,\n\n    extend: {\n      fontSize: kit.fontSizes\n    }\n  },\n\n  plugins: [\n    plugin(function({ addBase }) {\n      // this `fontsPath` will be the relative path\n      // to the fonts from the generated stylesheet\n      kit.fontFaces({ fontsPath: \"/fonts/\" }).forEach(fontFace =\u003e {\n        addBase({ \"@font-face\": fontFace })\n      })\n    })\n  ]\n}\n```\n\nSee the [`guide`](./guide/) for an example configuration, and how to use the Elm library.\n\n\n### Step three, use the component library.\n\n#### React\n\n```shell\nnpm install @fission-codes/kit\n```\n\n```js\nimport { SignInButton } from \"@fission-codes/kit/components/react\"\n\n\u003cSignInButton\n  className=\"bg-base-900 text-base-50 dark:bg-base-100 dark:text-base-900\"\n  onClick={() =\u003e webnative.redirectToLobby(PERMISSIONS)}\n/\u003e\n```\n\n📖 [Documentation](https://kit.fission.app/docs/react/)\n\n#### Elm\n\n```shell\nelm install fission-codes/kit\n```\n\n```elm\nimport Kit.Components\n\nKit.Components.signIn [ class \"bg-purple text-white text-opacity-90\" ]\n```\n\n📖 [Documentation](https://package.elm-lang.org/packages/fission-codes/kit/latest/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffission-codes%2Fkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffission-codes%2Fkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffission-codes%2Fkit/lists"}