> For the complete documentation index, see [llms.txt](https://docs.boston.gov/digital/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.boston.gov/digital/projects/patterns-library.md).

# Project: Patterns Library Cleanup

This is the pattern library for the City of Boston.

### Work flow process:&#x20;

[Workflow documentation](https://docs.google.com/document/d/1cMJrdJnP2G20zxIZDU3tZXWQLvOBJSLzNneWOaRZOTg/edit?usp=sharing)

### CSS files

CSS files are combined and minified to produce one giant final CSS file. There is also legacy css file that needs to be completely remove. The `legacy/public.css` files needs to go. Create, move, and/or update the content into the main `public.css` file. This should be achieved by moving the content into it's component `.stylus` file. If the component does not exist but used on website, create a component for it on patterns. Clean out `bos_`*`theme_`*`overrides.css` file on drupal. Simply remove all unnecessary styles from it.

```
move legacy/public.css into the stylus of the component
update bos_theme_overrides.css on drupal
```

### JavaScript files&#x20;

Clean out `all.js` on drupal and merge content into patterns `all.js`

{% code title="All.js" %}

```bash
move all.js on drupal into patterns all.js
```

{% endcode %}

### Functional Specification

The original functional specification for the City of Boston Website. [Click here](https://drive.google.com/file/d/1MjaUhpvLOoTJbdCXCZ-V6BLh-KhCwgID/view?usp=sharing) to download document.
