{"id":15464987,"url":"https://github.com/blocknotes/administrate-materialize-theme","last_synced_at":"2025-08-13T07:06:18.636Z","repository":{"id":41693794,"uuid":"291781736","full_name":"blocknotes/administrate-materialize-theme","owner":"blocknotes","description":"A Material Design theme for Administrate based on Materialize framework","archived":false,"fork":false,"pushed_at":"2022-04-29T07:10:23.000Z","size":506,"stargazers_count":15,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-27T09:45:09.491Z","etag":null,"topics":["admin-dashboard","administrate","rails","ruby"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/blocknotes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"MIT-LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":["blocknotes"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2020-08-31T17:34:01.000Z","updated_at":"2023-08-11T09:12:00.000Z","dependencies_parsed_at":"2022-08-10T10:36:07.832Z","dependency_job_id":null,"html_url":"https://github.com/blocknotes/administrate-materialize-theme","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/blocknotes/administrate-materialize-theme","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blocknotes%2Fadministrate-materialize-theme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blocknotes%2Fadministrate-materialize-theme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blocknotes%2Fadministrate-materialize-theme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blocknotes%2Fadministrate-materialize-theme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blocknotes","download_url":"https://codeload.github.com/blocknotes/administrate-materialize-theme/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blocknotes%2Fadministrate-materialize-theme/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270199168,"owners_count":24543599,"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-13T02:00:09.904Z","response_time":66,"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":["admin-dashboard","administrate","rails","ruby"],"created_at":"2024-10-02T00:44:12.176Z","updated_at":"2025-08-13T07:06:18.577Z","avatar_url":"https://github.com/blocknotes.png","language":"JavaScript","readme":"# Administrate Materialize Theme\n[![gem version](https://badge.fury.io/rb/administrate-materialize-theme.svg)](https://badge.fury.io/rb/administrate-materialize-theme)\n[![gem downloads](https://badgen.net/rubygems/dt/administrate-materialize-theme)](https://rubygems.org/gems/administrate-materialize-theme)\n[![linters](https://github.com/blocknotes/administrate-materialize-theme/actions/workflows/linters.yml/badge.svg)](https://github.com/blocknotes/administrate-materialize-theme/actions/workflows/linters.yml)\n[![specs](https://github.com/blocknotes/administrate-materialize-theme/actions/workflows/specs.yml/badge.svg)](https://github.com/blocknotes/administrate-materialize-theme/actions/workflows/specs.yml)\n\nA Material theme for [Administrate](https://github.com/thoughtbot/administrate), based on [Materialize](https://materializecss.com) framework.\n\nFeatures:\n\n- easy to install, just include CSS/JS to apply the theme to a default Administrate structure;\n- Material Design responsive theme;\n- customizable via SASS variables;\n- allow to use *Materialize* components in the admin.\n\n![screenshot](extra/screenshot.png)\n\nPlease :star: if you like it.\n\n## Installation\n\n- Add a SASS/SCSS gem to your Gemfile (ex. `gem 'sassc'`)\n- After installing Administrate, add to *Gemfile*: `gem 'administrate-materialize-theme'` (and execute `bundle`)\n- Edit *app/assets/config/manifest.js*, adding at the end:\n\n```js\n//= link administrate-materialize-theme/theme.css\n//= link administrate-materialize-theme/theme.js\n```\n\n- Edit *app/views/layouts/admin/application.html.erb* (you can generate it using `rails generate administrate:views:layout`), adding before head closing tag:\n\n```html\n\u003c%= stylesheet_link_tag 'administrate-materialize-theme/theme', media: 'all' %\u003e\n\u003c%= javascript_include_tag 'administrate-materialize-theme/theme' %\u003e\n```\n\n## Customizations\n\nTo change Materialize variables it's necessary to create a new *.scss* (or *.sass*) file like this one (ex. *admin.scss*):\n\n```scss\n// app/assets/stylesheets/admin.scss\n$primary-color: #FB1;\n@import 'administrate-materialize-theme/theme';\n```\n\nAnd replace the link tag in the *application.html.erb* with: `\u003c%= stylesheet_link_tag 'admin', media: 'all' %\u003e`\n\nFor the complete list of options take a look [here](app/assets/stylesheets/administrate-materialize-theme/components/_variables.scss).\n\n## Extra features\n\n- Sidebar example:\n\n```html\n\u003cdiv class=\"row\"\u003e\n  \u003cdiv class=\"col s3\"\u003e\n    \u003csection class=\"mt-sidebar z-depth-1\"\u003e\n      \u003ch3\u003eSidebar\u003c/h3\u003e\n      \u003cp\u003eSome content\u003c/p\u003e\n    \u003c/section\u003e\n  \u003c/div\u003e\n  \u003cdiv class=\"col s9\"\u003e\n    \u003csection class=\"main-content__body main-content__body--flush\"\u003e\n      \u003c!-- ... --\u003e\n    \u003c/section\u003e\n  \u003c/div\u003e\n\u003c/div\u003e\n```\n\n## Do you like it? Star it!\n\nIf you use this component just star it. A developer is more motivated to improve a project when there is some interest.\n\nOr consider offering me a coffee, it's a small thing but it is greatly appreciated: [about me](https://www.blocknot.es/about-me).\n\n## Contributors\n\n- [Mattia Roccoberton](https://blocknot.es/): author\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","funding_links":["https://github.com/sponsors/blocknotes"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblocknotes%2Fadministrate-materialize-theme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblocknotes%2Fadministrate-materialize-theme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblocknotes%2Fadministrate-materialize-theme/lists"}