# gatsby-theme-90s

> A 90s Gatsby theme that will trigger nostalgia... or frustration.

Latest version **1.1.6** (published 2019-08-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install gatsby-theme-90s
pnpm add gatsby-theme-90s
yarn add gatsby-theme-90s
bun add gatsby-theme-90s
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.6 |
| Published | 2019-08-01 |
| First published | 2019-07-31 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 9 |
| Unpacked size | 9.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Jackie Luc |
| Maintainers | jackieluc |
| Keywords | gatsby, gatsby-theme, gatsby-plugin, gatsby-theme-90s, 90s, 1990s, theme |

## Links

- npm: https://www.npmjs.com/package/gatsby-theme-90s
- Repository: https://github.com/jackieluc/gatsby-theme-90s
- Homepage: https://github.com/jackieluc/gatsby-theme-90s#readme
- Issues: https://github.com/jackieluc/gatsby-theme-90s/issues
- npm.io page: https://npm.io/package/gatsby-theme-90s

## Dependencies (9)

- [theme-ui](https://npm.io/package/theme-ui.md) ^0.2.2
- [typography](https://npm.io/package/typography.md) ^0.16.19
- [@emotion/core](https://npm.io/package/@emotion/core.md) ^10.0.14
- [@mdx-js/react](https://npm.io/package/@mdx-js/react.md) ^1.0.21
- [react-typography](https://npm.io/package/react-typography.md) ^0.16.19
- [gatsby-plugin-theme-ui](https://npm.io/package/gatsby-plugin-theme-ui.md) ^0.2.2
- [gatsby-transformer-yaml](https://npm.io/package/gatsby-transformer-yaml.md) ^2.2.0
- [gatsby-plugin-typography](https://npm.io/package/gatsby-plugin-typography.md) ^2.3.2
- [gatsby-source-filesystem](https://npm.io/package/gatsby-source-filesystem.md) ^2.1.2

## Recent versions

- 1.1.6 (latest) — 2019-08-01
- 1.1.5 — 2019-08-01
- 1.1.4 — 2019-08-01
- 1.1.3 — 2019-08-01
- 1.1.2 — 2019-08-01
- 1.1.1 — 2019-07-31
- 1.1.0 — 2019-07-31
- 1.0.0 — 2019-07-31

## README

# gatsby-theme-90s

This is a Gatsby theme project that pays homage to the old roots of the web! Please note that `gatsby-theme-90s` has a dependency on [theme-ui](https://theme-ui.com/getting-started).

Check out the [live demo](https://gatsby-theme-90s.netlify.com)!

## Installation

To use this theme in your Gatsby sites, follow these instructions:

1 - Install the theme

```sh
npm install --save gatsby-theme-90s
```

2 - Add the theme to your `gatsby-config.js`:

```js
module.exports = {
  plugins: ["gatsby-theme-90s"],
}
```

3 - Start your site

```sh
gatsby develop
```

## Usage

If you wish to use the layout of the theme, please set up the Layout as follows. If you follow this markup structure, it will be a frictionless experience with using the theme.

```javascript
import React from "react"
import {
  Layout as ThemeLayout,
  Header,
  Main,
  Container,
  Footer as FooterTheme,
} from "theme-ui"

/** @jsx jsx */
import { jsx } from "theme-ui"

const Layout = () => (
  <ThemeLayout>
    <Navbar />
    <Main role="main">
      <Header>
        <h1 sx={{ fontFamily: "header" }}>Hello World!</h1>
      </Header>
      <Container>
        <ul>
          <li>
            <img src="hello.jpg" alt="hello-tag" />
            <h3>Hello</h3>
            <a href="www.hello.com">Hello</a>
          </li>
          <li>
            <img src="world.jpg" alt="world-tag" />
            <h3>World</h3>
            <a href="www.world.com">World</a>
          </li>
        </ul>
      </Container>
      <FooterTheme role="contentinfo">
        <Footer />
      </FooterTheme>
    </Main>
  </ThemeLayout>
)

export default Layout
```

### Individual Styling

This is how you would use the individual styles if you wish to have more controls over styles.

```javascript
import React from "react"
import { Styled } from "theme-ui"

const Navbar = () => {
  return (
    <nav role="navigation">
      <Styled.ul>
        <Styled.li>
          <a href="/">Home</a>
        </Styled.li>
        <Styled.li>
          <a href="/hello">Hello</a>
        </Styled.li>
        <Styled.li>
          <a href="/world">World</a>
        </Styled.li>
      </Styled.ul>
    </nav>
  )
}

export default Navbar
```

## Theme Component Shadowing

Please follow this [guide](https://egghead.io/lessons/gatsby-use-component-shadowing-to-override-gatsby-theme-components) to override or extend this `gatsby-theme-90s`.

### Example

```javascript
/**
 * ! NOTE
 *
 * Shadow the folder structure of the theme: ./src/gatsby-theme-90s/theme.js
 */

import { theme as baseTheme } from "gatsby-theme-90s/src/theme"

export const theme = {
  ...baseTheme,
  colors: {
    ...baseTheme.colors,
    primary: "tomato", // Change the primary colour
  },
  styles: {
    ...baseTheme.styles,
    p: {
      ...baseTheme.styles.p,
      fontWeight: "bold", // Change the font weight of "p" tag
    },
  },
}
```

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