diff --git a/docs/pages/5-examples.markdown b/docs/pages/5-examples.markdown index 7d68d2c9..933e28f5 100644 --- a/docs/pages/5-examples.markdown +++ b/docs/pages/5-examples.markdown @@ -1,9 +1,15 @@ --- layout: page title: UI Examples -permalink: /examples/ +permalink: /ui-examples/ nav_order: 5 has_children: true --- -## UI Examples \ No newline at end of file +## UI Examples + +Here are some simple examples demonstrating the various PCUI elements: + +
+ +
diff --git a/docs/pages/5-examples/5-examples-todo.markdown b/docs/pages/5-examples/5-examples-todo.markdown index f82c716f..26ba537d 100644 --- a/docs/pages/5-examples/5-examples-todo.markdown +++ b/docs/pages/5-examples/5-examples-todo.markdown @@ -46,9 +46,10 @@ export const TodoList = (props) => { items[key].done = !items[key].done; observer.set('items', items); }; + const textInputLink = { observer, path: 'input' }; return ( - + {Object.keys(items).map(key => { diff --git a/examples/index.html b/examples/index.html index 21b40346..46e90a21 100644 --- a/examples/index.html +++ b/examples/index.html @@ -25,6 +25,27 @@ .pcui-treeview-item-icon { font-size: 14px; } + + ::-webkit-scrollbar { + width: 8px; + height: 8px; + } + + ::-webkit-scrollbar-track { + background: #20292b; + } + + ::-webkit-scrollbar-thumb { + background: #5b7073; + } + + ::-webkit-scrollbar-thumb:hover { + background: #f60; + } + + ::-webkit-scrollbar-corner { + background: #2c393c; + }