# theme-ui-preset-geist

> Theme UI preset derived from Geist UI

Latest version **0.0.2** (published 2021-01-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install theme-ui-preset-geist
pnpm add theme-ui-preset-geist
yarn add theme-ui-preset-geist
bun add theme-ui-preset-geist
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2021-01-25 |
| First published | 2021-01-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 241.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 17 |
| Author | Lachlan Campbell |
| Maintainers | lachlanjc |

## Links

- npm: https://www.npmjs.com/package/theme-ui-preset-geist
- Repository: https://github.com/lachlanjc/theme-ui-preset-geist
- npm.io page: https://npm.io/package/theme-ui-preset-geist

## Recent versions

- 0.0.2 (latest) — 2021-01-25
- 0.0.1 — 2021-01-25

## README

# `theme-ui-preset-geist`

[Theme UI](https://theme-ui.com) theme preset, derived from [Geist UI](https://geist-ui.dev).

```bash
yarn add theme-ui-preset-geist
# npm i theme-ui-preset-geist
```

- Dark mode included
- Syntax highlighting theme included
- Variants inspired by Geist components:
  - Avatars
  - Badges
  - Buttons
  - Cards
  - Containers
  - Forms: input, textarea, select, radio, checkbox

See a preview/documentation: [**theme-ui-preset-geist.vercel.app**](https://theme-ui-preset-geist.vercel.app)

## Usage

```js
import { ThemeProvider } from 'theme-ui'
import theme from 'theme-ui-preset-geist'

export default ({ children }) => (
  <ThemeProvider theme={theme}>{children}</ThemeProvider>
)
```

Making your own modifications:

```js
import { ThemeProvider, merge } from 'theme-ui'
import theme from 'theme-ui-preset-geist'

const brandTheme = merge(theme, {
  colors: {
    brand: '#ff6d00',
  },
})

export default ({ children }) => (
  <ThemeProvider theme={brandTheme}>{children}</ThemeProvider>
)
```

## Contributing

All types of contributions welcome!

1. Fork this repo & clone it
2. Run `yarn` to install the development dependency ([microbundle](https://github.com/developit/microbundle))
3. Run `yarn link` so docs site can use your local version
4. Run `yarn watch` to continuously compile changes
5. In the docs directory, `yarn link theme-ui-preset-geist` to use the local version instead of the published package, then `yarn` to install dependencies & `yarn dev` to see your changes live

MIT License

---
_Source: https://npm.io/package/theme-ui-preset-geist · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
