Skip to content

Instantly share code, notes, and snippets.

View ScottWhittaker's full-sized avatar

Scott Whittaker ScottWhittaker

View GitHub Profile
:root {
--black: #000;
--white: #fff;
--gray-100: #f7fafc;
--gray-200: #edf2f7;
--gray-300: #e2e8f0;
--gray-400: #cbd5e0;
--gray-500: #a0aec0;
--gray-600: #718096;
@ScottWhittaker
ScottWhittaker / tailwind-default-colors.css
Last active October 28, 2019 08:00
Note this is now outdated and is not inline with latest tailwind default colours
:root {
--black: #22292f;
--grey-darkest: #3d4852;
--grey-darker: #606f7b;
--grey-dark: #8795a1;
--grey: #b8c2cc;
--grey-light: #dae1e7;
--grey-lighter: #f1f5f8;
--grey-lightest: #f8fafc;
--white: #ffffff;
@ScottWhittaker
ScottWhittaker / esnextbin.md
Created December 14, 2016 15:34
esnextbin sketch
@ScottWhittaker
ScottWhittaker / index.html
Last active July 6, 2016 14:57
Redux: Store Methods
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Getting Started with Redux</title>
</head>
<body>
<script src="https://cdnjs.cloudflare.com/ajax/libs/redux/3.3.1/redux.js"></script>
<script src="script.js"></script>
</body>
@ScottWhittaker
ScottWhittaker / index.html
Created July 6, 2016 14:20
Redux: Writing a Counter Reducer with Tests
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Getting Started with Redux</title>
<script src="https://wzrd.in/standalone/expect@latest"></script>
<script src="script.js"></script>
</head>
<body>
@ScottWhittaker
ScottWhittaker / app.html
Last active December 4, 2016 19:14
Aurelia MultiStepView Demo
<template>
<require from="nav-bar.html"></require>
<nav-bar router.bind="router"></nav-bar>
<div class="page-host">
<router-view></router-view>
</div>
</template>
@ScottWhittaker
ScottWhittaker / app.html
Last active April 14, 2022 15:20
Aurelia Router Demo
<template>
<require from="components/navigation.html"></require>
<h1>Aurelia Router Demo</h1>
<navigation router.bind="router" class="primary-navigation"></navigation>
<div class="page-host">
<router-view></router-view>
</div>
</template>
@ScottWhittaker
ScottWhittaker / app.html
Last active June 13, 2016 12:15 — forked from jdanyow/app.html
Aurelia Rating Dialog
<template>
<button class="rating-button" click.delegate="rate()">Rate <span>${rating}</span></button>
</template>