Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning Material Design

You're reading from   Learning Material Design Master Material Design and create beautiful, animated interfaces for mobile and web applications

Arrow left icon
Product type Paperback
Published in Dec 2015
Publisher
ISBN-13 9781785289811
Length 186 pages
Edition 1st Edition
Languages
Tools
Concepts
Arrow right icon
Authors (2):
Arrow left icon
Nadir Belhaj Nadir Belhaj
Author Profile Icon Nadir Belhaj
Nadir Belhaj
Kyle Mew Kyle Mew
Author Profile Icon Kyle Mew
Kyle Mew
Arrow right icon
View More author details
Toc

App bar style and code

This first part of the chapter returns to the app bar, this time looking more closely at the rules and choices as applied to app bar structures and icons. We begin by further examining the ways we can and should customize material themes.

Applying a material palette

Earlier, we touched upon the material theme and how it is possible to customize it and apply our own color scheme. It is perfectly possible to apply any set of colors but Google is quite insistent on how this should be done.

The emphasis with Material Design is on simplicity and using a large number of colors is not recommended. We need just two or three primary shades and one accent shade. Ideally, our palettes should be selected from those found at: www.google.com/design/spec/style/color.html#color-color-palette.

Select two of these swatches. One will be used for your primary colors, which will be applied to toolbars and status bars, and the other for the accent color, which will appear in action buttons...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime