Glitch effect implemented with PostCSS. With this plugin you can easily add glitch effect to any text!
Check out our demo page (source)
This is a monorepo for a PostCSS Glitch project. It contains both plugin source code and various demo projects that use the plugin.
NOTE: The following documentation describes how to work with this repo. You can find plugin documentation here.
Also, take a look at demos directory if you are looking for working examples of how to use postcss-glitch plugin.
It's recommended to use nvm to manage Node versions
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
nvm install 14 && nvm use 14
npm i -g yarn
Since this repo is using Zero-Installs no further setup is required.
This project is a monorepo containing multiple projects a.k.a workspaces. Workspaces are defined in the root package.json. Here we have a workspace under plugin directory, additionally each directory under demos is also considered a workspace.
{
"workspaces": [
"plugin",
"demos/*"
]
}
This allows, for example, to install all the dependencies at once for both plugin and all of the demo projects while running yarn install
in the root folder.
You can learn more about managing monorepo with yarn workspaces in the documentation.
yarn install
Please add everything created under .yarn
directory to git as Zero-Installs requires.
git add .yarn
If you want to start contributing to this project, please read the CONTRIBUTING.md.