{"id":17579027,"url":"https://github.com/mlms13/stylish-elephants-demo","last_synced_at":"2025-08-31T16:43:31.561Z","repository":{"id":145077948,"uuid":"135524658","full_name":"mlms13/stylish-elephants-demo","owner":"mlms13","description":"Whipping up a quick layout from a Dribbble mockup using Elm Style Elements","archived":false,"fork":false,"pushed_at":"2018-12-06T17:26:08.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T16:44:16.638Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Elm","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/mlms13.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}},"created_at":"2018-05-31T03:05:21.000Z","updated_at":"2018-12-06T17:26:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"c57afe15-653e-445d-8667-0ab8dde993c2","html_url":"https://github.com/mlms13/stylish-elephants-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mlms13/stylish-elephants-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlms13%2Fstylish-elephants-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlms13%2Fstylish-elephants-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlms13%2Fstylish-elephants-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlms13%2Fstylish-elephants-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mlms13","download_url":"https://codeload.github.com/mlms13/stylish-elephants-demo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlms13%2Fstylish-elephants-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273010949,"owners_count":25030368,"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-08-31T02:00:09.071Z","response_time":79,"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":"2024-10-22T00:43:18.655Z","updated_at":"2025-08-31T16:43:31.539Z","avatar_url":"https://github.com/mlms13.png","language":"Elm","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Stylish Elephants Demo\n\nLet's code an example application layout, inspired by [this mockup from Dribble](https://dribbble.com/shots/3141791-Agile-CRM-Contacts/attachments/665699).\n\nThe goal is to show how easy it is to start from the outer layer and dig our way in through nested `row` and `column` elements until we've produced the desired layout. Even buttons with icons are actually just `row` elements with an `icon` child and a `text` child!\n\nIn our `View` folder, we have a collection of `Styles`. Right now this only includes `Base.elm`, which provides helpers for working with color and typography. But as our application grows, we could include reusable values for padding, font sizes for headings (e.g. `h1`, `h2`, etc), and so much more.\n\nWe also include some reusable components in `View/Elements/`. We started with a helper to create `Icon` elements from a pre-defined list, then we added a reusable `nav` component that brings some default styles. The component was the natural result of making something we needed, then factoring out the content that was specific to our use-case by turning the element into a function.\n\n### Run It Yourself\n\nAssuming you have `node` and `npm` installed, you can get everything you need (including the Elm compiler) by running `npm install`.\n\nTo install the Elm dependencies (mostly just [stylish-elephants](https://github.com/mdgriffith/stylish-elephants)) and build the project, run `npm run build`. To start a dev server on port `8000` and open up the result in your browser, run `npm run dev`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmlms13%2Fstylish-elephants-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmlms13%2Fstylish-elephants-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmlms13%2Fstylish-elephants-demo/lists"}