• Stars
    star
    201
  • Rank 194,491 (Top 4 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created over 4 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Sketchy Theme UI Preset

npm

Theme UI Sketchy Preset

Screenshot 2020-04-28 at 21 13 52

For detailed specifications check out the demo page.

Or try it out in CodeSandbox.

πŸ’₯ Installation

npm i theme-ui-sketchy-preset # yarn add theme-ui-sketchy-preset

πŸ™‡β€β™€οΈ Usage

This library exports the theme object compliant with Theme UI theme specification that can be passed to your theme provider.

import { ThemeProvider } from "theme-ui"
import sketchy from "theme-ui-sketchy-preset"

const App = props => (
  <ThemeProvider theme={sketchy}>{props.children}</ThemeProvider>
)

It can be also extended or modified:

import sketchy from "theme-ui-sketchy-preset"

const myTheme = {
  ...sketchy,
  colors: {
    text: "#000",
    background: "#fff",
    primary: "#33e",
  },
}

This preset uses Architects Daughter font, so you need to copy this code into the <head> of your HTML document:

<link
  rel="stylesheet"
  href="https://fonts.googleapis.com/css?family=Architects+Daughter"
/>

πŸš€ Development quick start

  1. Clone the repository

    git clone [email protected]:beerose/theme-ui-sketchy.git
  2. Install dependencies and start the project

    cd theme-ui-sketchy
    yarn
    yarn start
  3. Open the source code and start editing!

    Your site is now running at http://localhost:8000!

    Note: You'll also see a second link: http://localhost:8000/___graphql. This is a tool you can use to experiment with querying your data. Learn more about using this tool in the Gatsby tutorial.

🧐 What's inside?

A quick look at the top-level files and directories you'll see in this Gatsby project.

.
β”œβ”€β”€ node_modules
β”œβ”€β”€ src
β”œβ”€β”€ .gitignore
β”œβ”€β”€ .prettierrc
β”œβ”€β”€ gatsby-config.js
β”œβ”€β”€ LICENSE
β”œβ”€β”€ package.json
└── README.md
  1. /node_modules: This directory contains all of the modules of code that your project depends on (npm packages) and are automatically installed.

  2. /src: This directory will contain all of the code related to what you will see on the front-end of your site.

  3. .gitignore: This file tells git which files it should not track / not maintain a version history for.

  4. .prettierrc: This is a configuration file for Prettier. Prettier is a tool to help keep the formatting of your code consistent.

  5. gatsby-config.js: This is the main configuration file for a Gatsby site. This is where you can specify information about your site (metadata) like the site title and description, which Gatsby plugins you’d like to include, etc. (Check out the config docs for more detail).

  6. LICENSE: Project's license.

  7. package.json: A manifest file for Node.js projects, which includes things like metadata (the project’s name, author, etc). This manifest is how npm knows which packages to install for your project.

  8. README.md: A text file containing useful reference information about your project.

More Repositories

1

simple-zustand-devtools

Inspect your zustand store in React DevTools πŸ»βš›οΈ
TypeScript
334
star
2

use-comments

React hook to effortlessly add a comment section to your website, and start the discussion on your content.
TypeScript
171
star
3

semantic-search

πŸ•΅οΈβ€β™€οΈ An OpenAI-powered CLI to build a semantic search index from your MDX files.
TypeScript
93
star
4

tsc-diagnostics-diff-action

TypeScript
65
star
5

animated-emojis

Animated emojis πŸ˜’πŸ’—πŸ˜‘πŸ˜¨πŸ˜Š
TypeScript
43
star
6

edgedb-ai-booking-assistant

AI Booking Assistant with EdgeDB and Vercel AI SDK
TypeScript
33
star
7

go-group-imports-vscode

VSCode extension for separating imports in go files into three groups: stdlib, 3rd party, own.
TypeScript
31
star
8

olang

a minimal programming language written in TypeScript with ts-parsec
TypeScript
23
star
9

wtf-js-quiz

TypeScript
23
star
10

aleksandra.codes

personal website
MDX
19
star
11

no-profanity

No more bad words in your console logs!
TypeScript
10
star
12

gptql

TypeScript
9
star
13

proof-checker

Proof checker for natural deduction in propositional logic
OCaml
9
star
14

next13-blitz-auth

TypeScript
9
star
15

hasura-interactive-cli

TypeScript
8
star
16

ts-performance-talk

TypeScript
8
star
17

diversity.lol

TypeScript
6
star
18

text-to-graphql

TypeScript
6
star
19

ocaml-parser-example

OCaml
5
star
20

everybody-gives-astro-supabase

TypeScript
5
star
21

supabase-realtime-math-game

TypeScript
5
star
22

ts-workshops

TypeScript
5
star
23

blog

TypeScript
4
star
24

pp6

Haskell
2
star
25

chatty

gRPC + elixir
Elixir
2
star
26

hasura-vscode

TypeScript
2
star
27

adventofcode2020

Rust
2
star
28

fets-spotify-demo-app

TypeScript
2
star
29

wroc-ts-08-talk

TypeScript
2
star
30

ai-project

C#
1
star
31

personal-blog

TypeScript
1
star
32

go-fixer-api

Go
1
star
33

ts-in-css-css-prop

Created with CodeSandbox
TypeScript
1
star
34

everybody-gives-ui

TypeScript
1
star
35

numerical-analysis-app

TypeScript
1
star
36

graphiql-gpt-plugin

TypeScript
1
star
37

savant

CSS
1
star
38

css-to-js-vscode

TypeScript
1
star
39

codingame-ES6-eslint-babel-webpack-starter

Minimal starter for sane coding in JavaScript on CodinGame.
JavaScript
1
star
40

tag-sql

πŸ’₯Build sql queries for mysqljs in a safe and comfortable way
TypeScript
1
star
41

backend-interview-questions-and-answers

1
star
42

ink-examples

TypeScript
1
star
43

mips-assembler

Python
1
star
44

algorithms

TypeScript
1
star
45

go-rest-openapi

Go
1
star
46

hackathon

TypeScript
1
star
47

aleksandrasays

Personal site
TypeScript
1
star