<!doctype html>
<html class="loading">
<head>
<meta charset="utf8">
<title>Component Playground</title>
<link rel="stylesheet" href="chrome://theme/colors.css?sets=legacy,sys">
<style>
html {
background-color: var(--cros-bg-color);
color: var(--cros-text-color-primary);
font-family: Roboto;
}
html.loading body {
display: none;
}
#overridden {
--button-height: 48px;
}
.card {
background-color: var(--cros-sys-app_base_shaded);
border-radius: 2px;
height: 50px;
margin: 10px;
width: 50px;
}
</style>
</head>
<body>
<div>Normal</div>
<!-- TODO(ortuno): Change to cros-button once we can use it. -->
<cros-button label="Primary" primary></cros-button>
<cros-button label="Secondary"></cros-button>
<cros-button label="Text" text></cros-button>
<div>Pill</div>
<cros-button label="Primary Pill" primary pill></cros-button>
<cros-button label="Secondary Pill" pill></cros-button>
<div>Disabled</div>
<cros-button label="Primary" disabled primary></cros-button>
<cros-button label="Secondary" disabled></cros-button>
<cros-button label="Text" disabled text></cros-button>
<div>Extra Customizations</div>
<cros-button label="Overridden Styles" id="overridden" primary></cros-button>
<cros-button label="Hidden Label" primary hide-label></cros-button>
<div>Vanilla MWC</div>
<md-text-button label="Button"></md-text-button>
<div class="card" style="box-shadow: var(--cros-elevation-1-shadow)">+1</div>
<div class="card" style="box-shadow: var(--cros-elevation-2-shadow)">+2</div>
<div class="card" style="box-shadow: var(--cros-elevation-3-shadow)">+3</div>
<div class="card" style="box-shadow: var(--cros-elevation-4-shadow)">+4</div>
<div class="card" style="box-shadow: var(--cros-elevation-5-shadow)">+5</div>
<script type="module" src="component_playground.js"></script>
</body>
</html>