An open API service indexing awesome lists of open source software.

https://github.com/squaresapp/webfeed-css

A micro-library that stores the minimum CSS required to render a Webfeed.
https://github.com/squaresapp/webfeed-css

Last synced: 9 days ago
JSON representation

A micro-library that stores the minimum CSS required to render a Webfeed.

Awesome Lists containing this project

README

          

# Webfeed CSS

This repository contains both a CSS as well as a TypeScript version of the minimum CSS required to render a Webfeed in a browser environment. The TypeScript version has RawJS typings, so the CSS can be an argument in a call to `raw.style()` or `raw.css()`.

The CSS file is available on jsDelivr. If you want to include the CSS file statically in your HTML, use the following snippet:

```html

```

## CommonJS Installation / Usage

```
npm install webfeed-css
```
```typescript
const webfeedCss = require("webfeed-css") as typeof import("webfeed-css");

// Use it somewhere.
document.head.append(raw.style(webfeedCss));
```