Skip to content

Instantly share code, notes, and snippets.

module.exports = {
mode: "jit",
purge: ["./app/**/*.{ts,tsx}"],
darkMode: "media", // or 'media' or 'class'
theme: {
fontFamily: {
sans: ['ui-sans-serif', 'system-ui']
},
colors: {
transparent: 'transparent',
> 10% in GB
not ie 11
not ie_mob 11
last 3 Chrome versions
last 3 firefox versions
last 1 Edge versions
last 2 Opera versions
@o-t-w
o-t-w / worker.js
Last active November 23, 2018 16:20
Getting values from a Cloudflare KV store and from a header and displaying them inside a template.
const basicHTML = require('basichtml');
basicHTML.init();
document.documentElement.setAttribute('lang', 'en');
const {bind} = require('hyperhtml');
addEventListener('fetch', event => {
event.respondWith(responder(event.request))
});