Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(370)

Unified Diff: sky/examples/widgets/widget-root.sky

Issue 951823002: Update Sky widgets to have more material design (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | sky/framework/shadow.sky » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/widgets/widget-root.sky
diff --git a/sky/examples/widgets/widget-root.sky b/sky/examples/widgets/widget-root.sky
index 17975d9f1dba9911b16013d780bc5a8d14f6ba7a..2aad246a5d6d38dac315ca1af790a0b775dbe695 100644
--- a/sky/examples/widgets/widget-root.sky
+++ b/sky/examples/widgets/widget-root.sky
@@ -13,6 +13,9 @@
<sky-element>
<template>
<style>
+ :host {
+ font-family: 'Roboto Regular', 'Helvetica';
+ }
div {
display: flex;
align-items: center;
@@ -34,9 +37,11 @@
</sky-box>
<sky-box title='Buttons'>
- <sky-button id='button'>Button</sky-button>
- <div>highlight: {{ myButton.highlight }}</div>
- <div>clickCount: {{ clickCount }}</div>
+ <div style="display: flex; flex-direction: horizontal">
+ <div style="flex:1" />
+ <sky-button level="1" id="button">CANCEL</sky-button>
+ <sky-button level="1" primary>CONFIRM</sky-button>
+ </div>
</sky-box>
<sky-box title='Checkboxes'>
« no previous file with comments | « no previous file | sky/framework/shadow.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698