Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vn-ki/bracket-colorizer
Atom extension for coloring bracket pairs.
https://github.com/vn-ki/bracket-colorizer
Last synced: 3 months ago
JSON representation
Atom extension for coloring bracket pairs.
- Host: GitHub
- URL: https://github.com/vn-ki/bracket-colorizer
- Owner: vn-ki
- License: mit
- Created: 2018-04-07T15:14:04.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-03-13T10:56:43.000Z (almost 2 years ago)
- Last Synced: 2024-10-31T15:37:33.787Z (3 months ago)
- Language: JavaScript
- Size: 271 KB
- Stars: 28
- Watchers: 3
- Forks: 3
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Bracket Colorizer
[![Build Status](https://github.com/vn-ki/bracket-colorizer/workflows/CI/badge.svg)](https://github.com/vn-ki/bracket-colorizer/actions)
Finding brackets is easier than ever now. This atom extension uniquely colors bracket pairs.
## Installation
You can use apm for install.
```
apm install bracket-colorizer
```## Change Colors
You can customize the colors by adding the following to your [global style sheet](https://flight-manual.atom.io/using-atom/sections/basic-customization/#style-tweaks) and changing the colors.
`.bracket-colorizer-color0` will be used for unmatched closing brackets.
The numbers 1 - 9 will be repeated. You can change the maximum number that will be repeated in the settings.```less
atom-text-editor.editor {
.bracket-colorizer-color0 {
color: white;
}
.bracket-colorizer-color1 {
color: lighten(teal, 30);
}
.bracket-colorizer-color2 {
color: yellow;
}
.bracket-colorizer-color3 {
color: lightblue;
}
.bracket-colorizer-color4 {
color: lightgreen;
}
.bracket-colorizer-color5 {
color: violet;
}
.bracket-colorizer-color6 {
color: orange;
}
.bracket-colorizer-color7 {
color: red;
}
.bracket-colorizer-color8 {
color: rgb(249, 98, 98);
}
.bracket-colorizer-color9 {
color: rgb(1, 204, 190);
}
}
```Based on [nms-color-bracket](https://github.com/nmscholl/nms-color-bracket).
### Breaking changes in 1.0
- In settings, `'{;}, [;], (;)'` format is changed to `'{}, [], ()'`
- The toggle is removed. Package now activates on startup.