All Projects → DmitryMalkovich → Material Design Dimens

DmitryMalkovich / Material Design Dimens

Licence: apache-2.0
Default colors and dimens per Material Design guidelines and Android Design guidelines inside one library.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Material Design Dimens

Taptargetview
An implementation of tap targets from the Material Design guidelines for feature discovery.
Stars: ✭ 5,114 (+271.12%)
Mutual labels:  material-design, material-components
Slidetoact
A simple 'Slide to Unlock' Material widget for Android, written in Kotlin 📱🎨🦄
Stars: ✭ 783 (-43.18%)
Mutual labels:  material-design, material-components
Fluid
📖 Library for QtQuick apps with Material Design
Stars: ✭ 601 (-56.39%)
Mutual labels:  material-design, material-components
Android Iconics
Android-Iconics - Use any icon font, or vector (.svg) as drawable in your application.
Stars: ✭ 4,916 (+256.75%)
Mutual labels:  material-design, material-components
Vuetify
🐉 Material Component Framework for Vue
Stars: ✭ 33,085 (+2300.94%)
Mutual labels:  material-design, material-components
Light
🍭 The usual Snackbar, but elegant
Stars: ✭ 542 (-60.67%)
Mutual labels:  material-design, material-components
Material Components Flutter
Modular and customizable Material Design UI components for Flutter
Stars: ✭ 651 (-52.76%)
Mutual labels:  material-design, material-components
Elm Mdc
Elm port of the Material Components for the Web CSS/JS library
Stars: ✭ 338 (-75.47%)
Mutual labels:  material-design, material-components
Material Components
Documentation and policies for Material Components (all platforms)
Stars: ✭ 872 (-36.72%)
Mutual labels:  material-design, material-components
Matter
Material Design Components in Pure CSS. Materializing HTML at just one class per component 🍰
Stars: ✭ 888 (-35.56%)
Mutual labels:  material-design, material-components
Material Components Ios
[In maintenance mode] Modular and customizable Material Design UI components for iOS
Stars: ✭ 4,484 (+225.4%)
Mutual labels:  material-design, material-components
Material Components Web Elm
Material Components for Elm
Stars: ✭ 73 (-94.7%)
Mutual labels:  material-design, material-components
Android Mdc Theming
Sample code used for a series of Medium posts on Material Components for Android
Stars: ✭ 388 (-71.84%)
Mutual labels:  material-design, material-components
Angular Mdc Web
Angular wrapper for Material Design (Web) Components
Stars: ✭ 542 (-60.67%)
Mutual labels:  material-design, material-components
Svelte Materialify
A Material UI Design Component library for Svelte heavily inspired by vuetify.
Stars: ✭ 351 (-74.53%)
Mutual labels:  material-design, material-components
Material Drawer
Custom drawer implementation for Material design apps.
Stars: ✭ 611 (-55.66%)
Mutual labels:  material-design, material-components
Material Components Web
Modular and customizable Material Design UI components for the web
Stars: ✭ 15,931 (+1056.1%)
Mutual labels:  material-design, material-components
Quasar
Quasar Framework - Build high-performance VueJS user interfaces in record time
Stars: ✭ 20,090 (+1357.91%)
Mutual labels:  material-design, material-components
Marvelheroes
❤️ A sample Marvel heroes application based on MVVM (ViewModel, Coroutines, LiveData, Room, Repository, Koin) architecture.
Stars: ✭ 826 (-40.06%)
Mutual labels:  material-design, material-components
Material Design Lite
Material Design Components in HTML/CSS/JS
Stars: ✭ 31,931 (+2217.2%)
Mutual labels:  material-design, material-components

Material Design Dimens

Crates.io Bintray Android Arsenal Build Status

Default colors and dimens per Material Design guidelines and Android Design guidelines inside one library.

Dimens

Pattern:

R.dimen.material_[layout|component|typography]_[keylines|button|...]

R.color.material_[red|blue|...]_[500|800|...]

Usage

Just add the dependency to your build.gradle:

compile 'com.dmitrymalkovich.android:material-design-dimens:1.4'

Examples

Dialogs

Name Dimens Values
Padding around content area @dimen/material_component_dialogs_padding_around_content_area 24dp
Padding between title and body text @dimen/material_component_dialogs_padding_between_title_and_body_text 20dp
Padding around buttons @dimen/material_component_dialogs_padding_around_buttons 8dp
Action area height @dimen/material_component_dialogs_action_area_height 52dp
Dialog elevation @dimen/material_component_dialogs_elevation 24dp

Metrics & Keylines

Name Dimens Values
Screen edge left and right margins @dimen/material_layout_keylines_screen_edge_margin 16dp
Content associated with an icon or avatar left margin @dimen/material_layout_keylines_content_left_margin_from_screen_edge 72dp
Horizontal margins on mobile @dimen/material_layout_keylines_horizontal_mobile_margin 16dp

Cards

Name Dimens Values
Primary title top padding @dimen/material_component_cards_primary_title_top_padding 24dp
Primary title bottom padding @dimen/material_component_cards_primary_title_bottom_padding 16dp
Action button row padding @dimen/material_component_cards_action_button_row_padding 8dp
Supporting text top padding @dimen/material_component_cards_supporting_text_top_padding 16dp
Supporting text bottom padding @dimen/material_component_cards_supporting_text_bottom_padding 24dp

Floating Action Buttons

Dimens Values
@dimen/material_component_floating_action_button_margin 16dp
@dimen/material_component_button_height 36dp
@dimen/material_component_button_touchable_target_height 48dp

Color Palette

Colors Value
@color/material_indigo_100 #C5CAE9
@color/material_indigo_500 #3F51B5
@color/material_indigo_700 #303F9F

Layout

  • Keylines
  • Spacing
  • ... (More comming soon)

Components

  • Bottom sheets
  • Buttons
  • Floating Action Buttons
  • Cards
  • Dialogs
  • Grid lists
  • Lists
  • Text fields
  • Toolbars
  • ... (More comming soon)

Typography

  • Font sizes

Sample

Contributing

Want to add your favorites dimens, just make pull request!

External contributors

License

Copyright 2016 Dmitry Malkovich

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].