css/README.md

37 lines
829 B
Markdown
Raw Permalink Normal View History

2023-08-13 23:33:33 -04:00
<div align="center">
<img src="https://code.fosterhangdaan.com/tokyo-night/vscode-theme/raw/branch/master/icon.png" width="100" alt="Tokyo Night Icon"/>
2023-08-13 23:38:38 -04:00
<h1>Tokyo Night for CSS</h1>
2023-08-13 23:33:33 -04:00
</div>
&nbsp;
2023-08-13 23:38:38 -04:00
The Tokyo Night color palette in CSS.
## Usage
2023-08-14 21:00:25 -04:00
Copy the `colors.css` file to your project then start using the CSS variables:
``` css
.success {
color: var(--tn-dark-04);
}
```
The colors are also available as filters which are useful for coloring black SVGs.
``` css
svg.icon {
filter: var(--tn-dark-filter-05);
}
```
2023-08-14 21:05:26 -04:00
> **Note** The filters were generated with [Barrett Sonntag's CSS Filter Generator](https://codepen.io/sosuke/pen/Pjoqqp).
2023-08-13 23:50:48 -04:00
## Maintainer
[Foster Hangdaan](https://www.fosterhangdaan.com)
## License
[MIT License](https://code.fosterhangdaan.com/tokyo-night/css/src/branch/trunk/LICENSE.txt)