ClassName
s from multiple CSS
frameworks.
Inspired by purescript-halogen-bootstrap5 and purescript-react-icons.
spago install css-frameworks
download
- link to the docs section that explains how to download the.css
file, preferably via CDN.version
- the framework version and the link to the.css
file.directory
- framework directory in ./css.license
- framework license. Eachdirectory
contains a completeLICENSE
file.
Framework lists were taken from purescript-react-icons and awesome-css-frameworks.
download | version | directory | license |
---|---|---|---|
Bootstrap Icons | 1.10.5 | bootstrap-icons | MIT |
Boxicons | 2.1.4 | boxicons | CC BY 4.0 License |
css.gg | 2.0.0 | css.gg | MIT |
Devicons | 1.8.0 | devicons | MIT |
Fontawesome | 6.4.0, free for web | fontawesome | CC BY 4.0 License |
Remix Icon | 3.3.0 | remixicon | Apache License Version 2.0 |
Simple Line Icons | 2.5.5 | simple-line-icons | MIT |
Tabler Icons | 2.21.0 | tabler-icons | MIT |
Themify Icons | latest | themify-icons | MIT |
Typicons | 2.1.2 | typicons.font | CC BY-SA 3.0 |
VS Code Icons | latest | vscode-codicons | CC BY 4.0 License |
Weather Icons | latest | weather-icons | SIL OFL 1.1 |
download | version | directory | license |
---|---|---|---|
Pure | 3.0.0, pure, grids-responsive | pure | BSD-3-Clause |
Milligram | 1.4.1 | milligram | MIT |
Picnic | latest | picnic | MIT |
Chota | 0.9.2 | chota | MIT |
download | version | directory | license |
---|---|---|---|
Bootstrap | 5.3.0 | bootstrap | MIT |
Bulma | 0.9.4 | bulma | MIT |
Foundation | 6.7.5 | foundation | MIT |
UIkit | 3.16.19 | uikit | MIT |
Primer | 21.0.2 | primer | MIT |
Carbon | 10.58.3 | carbon | Apache License 2.0 |
Module documentation on Pursuit (coming soon).
-
Find the framework repo/site. Let's call it
{site}
. -
Find a framework (preferrably not minified)
.css
file. Let's call it{file}
. -
Find the framework license text. Let's call it
{license}
. -
Let's call the link to that text a
{link}
. -
Create a directory for the framework
.css
in the ./css directory. Let's call the new directory{framework}
. -
Create a file
{framework}/LICENSE
. Let's call it{LICENSE}
. -
Copy the
{file}
into{framework}/all.css
. -
If the
{file}
was minified, format it so that it's not minified. -
Compose the
{LICENSE}
. See an example. Add relevant sections.-
== License link ... {link} ...
-
== License content ... {license} ...
-
-
Edit a relevant table in Libraries.
-
Install perl or use a Nix devshell.
-
Run the generator.
perl gen.pl
-
Commit, make a Pull Request.
This repo provides a Nix flake with PureScript
tools.
-
Start a devshell.
nix develop
-
(Optionally) use
direnv
.direnv allow
-
Commit all changes.
-
Update the version appropriately.
spago bump-version patch --no-dry-run
-
Push to
GitHub
.git push --follow-tags
-
Publish the package and docs.
npx pulp login npx pulp publish
-
The original repo was licensed under the Apache License, Version 2.0.
-
This repo is licensed under the same license.