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.
- Host: GitHub
- URL: https://github.com/squaresapp/webfeed-css
- Owner: squaresapp
- License: unlicense
- Created: 2023-12-31T15:29:23.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-13T02:26:49.000Z (over 2 years ago)
- Last Synced: 2025-11-19T01:02:52.761Z (7 months ago)
- Language: TypeScript
- Size: 7.81 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE.txt
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));
```