https://github.com/zaydek/discrete-typography
Experimental tool inspired by Capsize, implemented in Solid JS. Generates x-height and cap-height CSS
https://github.com/zaydek/discrete-typography
Last synced: 8 months ago
JSON representation
Experimental tool inspired by Capsize, implemented in Solid JS. Generates x-height and cap-height CSS
- Host: GitHub
- URL: https://github.com/zaydek/discrete-typography
- Owner: zaydek
- License: mit
- Created: 2022-07-05T01:45:05.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-07-05T10:09:54.000Z (over 3 years ago)
- Last Synced: 2025-01-24T19:17:18.213Z (10 months ago)
- Language: TypeScript
- Homepage: https://discrete-typography.netlify.app
- Size: 59.6 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-solid-js - Discrete Typography - Experimental tool inspired by Capsize, implemented in Solid JS. Generates x-height and cap-height CSS (📦 Components & Libraries / Styling)
README
## Usage
Those templates dependencies are maintained via [pnpm](https://pnpm.io) via `pnpm up -Lri`.
This is the reason you see a `pnpm-lock.yaml`. That being said, any package manager will work. This file can be safely be removed once you clone a template.
```bash
$ npm install # or pnpm install or yarn install
```
### Learn more on the [Solid Website](https://solidjs.com) and come chat with us on our [Discord](https://discord.com/invite/solidjs)
## Available Scripts
In the project directory, you can run:
### `npm dev` or `npm start`
Runs the app in the development mode.
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
The page will reload if you make edits.
### `npm run build`
Builds the app for production to the `dist` folder.
It correctly bundles Solid in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
## Deployment
You can deploy the `dist` folder to any static host provider (netlify, surge, now, etc.)