**Test**
-> <strong>test</strong>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yarn tailwind build -c tailwind.test.config.js -o test.output |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react" | |
import uuid from "uuid/v4" | |
import { useImmerReducer } from "use-immer" | |
// Asserts on undefined, false, -1, null. | |
function assert(value) { | |
if (value !== undefined && value !== false && value !== -1 && value !== null) { | |
return | |
} | |
throw new Error(`assert: value assertion; value=${value}`) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const defaultTheme = require("tailwindcss/defaultTheme") | |
function trimWhitespace(str) { | |
return str.split(/\s+/).join(" ").trim() | |
} | |
module.exports = { | |
purge: [ | |
"./public/**/*.html", | |
"./src/**/*.js", |
Details
Something small enough to escape casual notice.Hello, world!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.prose { | |
color: #4a5568; | |
max-width: 65ch; | |
} | |
.prose [class~=lead] { | |
color: #4a5568; | |
font-size: 1.25em; | |
line-height: 1.6; | |
margin-top: 1.2em; | |
margin-bottom: 1.2em; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import useMethods from "use-methods" | |
// NOTE: The following imports are intentionally unsorted. | |
import { | |
lock, | |
unlock, | |
} from "./lock" | |
import { | |
focus, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import areEqualJSON from "lib/areEqualJSON" | |
import omitKey from "lib/omitKey" | |
import React from "react" | |
import toArray from "lib/toArray" | |
import { typeMap } from "./typeMaps" | |
// Converts intermediary elements to React elements. | |
function toReactElements(elements) { | |
const reactElements = [] | |
for (const each of toArray(elements)) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// import App from "EditorApp/EditorApp" | |
// import React from "react" | |
// import ReactDOM from "react-dom" | |
// | |
// import "debug.css" | |
// import "stylesheets/prism/custom.css" | |
// import "stylesheets/tailwind/color-vars.css" | |
// import "stylesheets/tailwind/em-context.css" | |
// import "stylesheets/tailwind/tailwind.generated.css" | |
// |