material-design-lite README

The project's README from github.com/google/material-design-lite. As one markdown file: README.md.

Material Design Lite

npm version

An implementation of Material Design components in vanilla CSS, JS, and HTML.

Material Design Lite (MDL) lets you add a Material Design look and feel to your static content websites. It doesn't rely on any JavaScript frameworks or libraries. Optimized for cross-device use, gracefully degrades in older browsers, and offers an experience that is accessible from the get-go.

Limited support

Material Design Lite is now in limited support, with development having moved to the Material Components for the web repository.

No further development is taking place in MDL by the core team, but we are happy to review PRs, fix critical bugs and push out new releases. No breaking changes will be accepted.

Heads up: the old getmdl.io site is gone, and the documentation and component gallery that used to live there are no longer available. MDL itself still works fine as a vanilla set of Material Design CSS, JS, and HTML you can drop into any project — only the hosted docs site has been retired.

Use MDL on your site?

This document is targeted at developers that will contribute to or compile MDL. If you just want to use MDL on a website or web app, the safest bet is to self-host the v1.3.0 release, since the previously-recommended getmdl.io-hosted assets are no longer available.

Browser Support

IE9 IE10 IE11 Chrome Opera Firefox Safari Chrome (Android) Mobile Safari
B A A A A A A A A

A-grade browsers are fully supported. B-grade browsers will gracefully degrade to our CSS-only experience.

Download / Clone

Clone the repo using Git:

git clone https://github.com/google/material-design-lite.git

Alternatively you can download this repository.

Windows users, if you have trouble compiling due to line endings then make sure you configure git to checkout the repository with lf (unix) line endings. This can be achieved by setting core.eol.

git config core.eol lf
git config core.autocrlf input
git rm --cached -r .
git reset --hard

Remember, the master branch is considered unstable. Do not use this in production. Use a tagged state of the repository, npm, or bower for stability!

Feature requests

MDL is currently in limited support mode, with no further development taking place by the core team. We are happy to accept and review pull requests for new functionality, however, as long as there are no breaking changes.

Want to contribute?

If you found a bug, have any questions or want to contribute. Follow our guidelines, and help improve the Material Design Lite. For more information visit our wiki.

Please use the default branch, mdl-1.x.

Take note that Material Components for Web, which is MDL v2, is under early Alpha stages (which means everything is a moving target, and we can change anything at any moment). Use with caution.

However, we would absolutely love to have people testing MCW and provide feedback about their experiences using it, especially integrating with other frameworks and libraries.

License

© Google, 2015. Licensed under an Apache-2 license.

material-design-lite (google/material-design-lite)

Searching Database…

Что это такое?Material Design Lite (MDL) — это реализация компонентов Material Design от Google, которая добавляет оформление в стиле Material Design к статическим сайтам.
Это фреймворк, на котором я строю приложение, или библиотека компонентов, которую просто подключаешь?Это подключаемая библиотека компонентов: обычные CSS, JS и HTML без зависимости от JavaScript-фреймворков вроде React или jQuery — вы добавляете её в любой проект, чтобы оформить свои страницы.
Как добавить её на свой сайт?Разместите у себя готовые CSS и JS из релиза v1.3.0 на GitHub, используйте зеркало на CDNJS или установите npm-пакет material-design-lite. Ветку master лучше не брать — она считается нестабильной; для стабильности используйте отмеченные релизы.
Мне нужны Node или сборка, чтобы этим пользоваться?Нет. Достаточно подключить готовые файлы CSS и JS; сборка через gulp и Node (0.12+) нужны только если вы хотите компилировать MDL или участвовать в его разработке.
Проект ещё развивается?Нет — MDL находится в режиме ограниченной поддержки. Разработка переехала в репозиторий Material Components for the web; основная команда не делает ничего нового, но по-прежнему рассматривает PR, чинит критические баги и выпускает релизы, не принимая изменений, ломающих совместимость.
В каких браузерах это работает?Полная поддержка (категория A) в IE10/11, Chrome, Opera, Firefox, Safari, Chrome для Android и Mobile Safari. IE9 относится к категории B: он аккуратно деградирует до версии только на CSS.
Что случилось со старым сайтом документации getmdl.io?Его больше нет: документация и галерея компонентов, которые там размещались, недоступны. Сам MDL по-прежнему работает как обычный набор CSS, JS и HTML в стиле Material Design — закрылся только хостинг сайта с документацией.
Интерфейс сразу доступен для людей с ограниченными возможностями?Да — в README сказано, что MDL обеспечивает доступность с самого начала, оптимизирован для использования на разных устройствах и аккуратно деградирует в старых браузерах.
Есть ли вторая версия, на которую стоит посмотреть?Material Components for the web — это, по сути, MDL v2, но он находится в ранней альфе: всё может измениться в любой момент. Команда приветствует тех, кто тестирует её и оставляет отзывы, особенно по интеграции с другими фреймворками.
Creator
google
Size
55.7 MB
Stars
32.2K
Age
11y
Commits · 90 Days