Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/trallard/pitaya_smoothie
π¦β¨Pitaya smoothie β A professional theme with hand-picked colours, heavily inspired by the Pantone colour of the year 2018.
https://github.com/trallard/pitaya_smoothie
Last synced: 6 days ago
JSON representation
π¦β¨Pitaya smoothie β A professional theme with hand-picked colours, heavily inspired by the Pantone colour of the year 2018.
- Host: GitHub
- URL: https://github.com/trallard/pitaya_smoothie
- Owner: trallard
- License: bsd-3-clause
- Created: 2018-12-27T16:38:49.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2022-09-21T12:29:45.000Z (about 2 years ago)
- Last Synced: 2024-04-14T13:52:54.870Z (7 months ago)
- Language: C++
- Homepage:
- Size: 2.23 MB
- Stars: 41
- Watchers: 3
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
![License badge - BSD-3 clause](https://img.shields.io/badge/License-BSD%203--Clause-gray.svg?colorA=2D2A56&colorB=7A76C2&style=flat.svg)
[![Version](https://vsmarketplacebadge.apphb.com/version/trallard.pitaya-smoothie.svg?subject=Pitaya%20Smoothie&colorA=2D2A56&colorB=7A76C2&style=flat.svg)](https://marketplace.visualstudio.com/items?itemName=trallard.pitaya-smoothie)![Publish release badge](https://github.com/trallard/pitaya_smoothie/workflows/Publish%20release/badge.svg?branch=main)
![NEW](https://img.shields.io/badge/-NEW-gray.svg?colorB=12CBC4) β¨ Comments and editor selection colours have been updated to meet WCAG AA standards.
A professional theme with hand-picked & bold colours for your VS Code editor and terminal. The theme is heavily inspired by the Pantone colour of the year 2018 and the Outrun aesthetics.
However, colours are on the pastel side to help provide contrast and highlight what is essential.
Color choices have taken into consideration what is accessible to people with colorblindness and in low-light circumstances.
A FOSS (Free & Open Source Software) project developed by Tania Allard.
Follow Tania's #FOSS work on GitHub @trallard β Say Hi on Twitter @ixek πβ¨ If you wish to disable italics, there is now a no-italic theme available. You will have access to both; select **Pitaya Smoothie No Italics** as your colour theme.
## Installation
1. Install [Visual Studio Code](https://code.visualstudio.com/?WT.mc_id=academic-0000-taallard)
1. Open the extensions' sidebar on Visual Studio Code
1. Search for `Pitaya Smoothie`
1. Click **Install** to install it.
1. Click **Reload** to reload your editor.
1. Code/File οΌ Preferences οΌ Color Theme οΌ **Pitaya Smoothie**## Pitaya Smoothie Syntax Colours
Outrun aesthetics profoundly inspires this theme. The colour choices for the theme were made also taking into consideration accessibility for those users with colourblindness. By default, the theme is suitable for multiple types of colourblindness - no settings tweaking required.
The theme consists of a reasonably dark background and popping contrast colours.
I also made decisions to allow for meaningful contrast for reading comprehension and optimal colour-popping β¨.| USAGE | COLOUR HEX CODE |
| -------------- | -------------------------------------------------------------------- |
| Background | #181036 |
| Foreground | #fefeff |
| Comment | #8786ac |
| Keyword | #f26196 |
| String | #7998F2 |
| Number | #f3907e |
| Built-in constant | #CAF884 |
| Constant | #A267F5 |
| Other | #66E9EC |
| Diff deleted | #FF6E9C |
| Diff inserted | #18c1c4 |
| Diff changed | #ffe46b |## UI elements colours
| UI ELEMENT | HEX CODES |
| --------------------------------- | -------------------------------------------------------------------------- |
| Activity bar background | #181036 |
| Activity bar foreground | #7A76C2 |
| Activity bar foreground | #181036 |
| Sidebar background | #130C29 |
| Sidebar section header background | #181036 |
| Sidebar section header foreground | #7d79d1 |
| Sidebar section header foreground | #18c0c4 |
| Deletion highlights | #ff6e9c98 |
| Addition highlights | #18c1c4a6 |
| Modified highlights | #AD70FC46 |## Snapshots
![Python Syntax](https://img.shields.io/badge/SYNTAX-Python-gray.svg?colorA=2D2A56&colorB=7A76C2&style=flat.svg)
β¨ Using bracket-style colorizer ππΌβ¨
![Pitaya smoothie - R Syntax](https://img.shields.io/badge/SYNTAX-R-gray.svg?colorA=2D2A56&colorB=7A76C2&style=flat.svg)
![Pitaya Smoothie -React Syntax](https://img.shields.io/badge/SYNTAX-React-gray.svg?colorA=2D2A56&colorB=7A76C2&style=flat.svg)
![Pitaya Smoothie - cpp Syntax](https://img.shields.io/badge/SYNTAX-c++-gray.svg?colorA=2D2A56&colorB=7A76C2&style=flat.svg)
![Pitaya Smoothie - HTML Syntax](https://img.shields.io/badge/SYNTAX-HTML-gray.svg?colorA=2D2A56&colorB=7A76C2&style=flat.svg)
## Accessibility
### Colourblindness
Accessibility was kept close in mind when designing this theme. The colours were chosen such that they would be accessible to folks with colourblindness.
![Badge - python code with Protanopia filter](https://img.shields.io/badge/PROTANOMALY-Python-gray.svg?colorA=2D2A56&colorB=7A76C2&style=flat.svg)
![Badge - R code with Tritanopia filter](https://img.shields.io/badge/TRITANOPIA-R-gray.svg?colorA=2D2A56&colorB=7A76C2&style=flat.svg)
### Colour contrast
Additionally, all the colours used in the theme are compliant with [WCAG 2.1 standards](https://www.w3.org/TR/UNDERSTANDING-WCAG20/visual-audio-contrast-contrast.html).
Background
Text
default foreground
#FEFEFF
comments
#8786AC
#F26196
#7998F2
#F3907E
#CAF884
#66E9EC
#B07AFC
diff-changed
#FFE46B
diff-inserted
#18C1C4
diff-deleted
#FF6E9C
#181036
Text
AAA
17.8
Text
AA
5.1
Text
AA
5.9
Text
AA
6.5
Text
AAA
7.8
Text
AAA
14.8
Text
AAA
12.3
Text
AA
6
Text
AAA
14.2
Text
AAA
8.1
Text
AA
6.8
selection and highlight
#231458
Text
AAA
15.8
Text
AA
4.6
Text
AA
5.2
Text
AA
5.7
Text
AA
6.9
Text
AAA
13.1
Text
AAA
11
Text
AA
5.3
Text
AAA
12.6
Text
AAA
7.2
Text
AA
6
AAA Pass, AAA (7+)
AA Pass, AA (4.5+)
AA18 Pass, Large Text Only (3+)
DNP Does Not Pass
About WCAG 2.0 contrast
[See the persisent HTML contract grid online](https://contrast-grid.eightshapes.com/?version=1.1.0&background-colors=%23181036%2C%20%0D%0A%23231458%2C%20selection%20and%20highlight%0D%0A&foreground-colors=%23FEFEFF%2C%20default%20foreground%0D%0A%238786ac%2C%20comments%0D%0A%23F26196%0D%0A%237998F2%0D%0A%23F3907E%0D%0A%23CAF884%0D%0A%2366E9EC%0D%0A%23B07AFC%0D%0A%23FFE46B%2C%20diff-changed%0D%0A%2318C1C4%2C%20diff-inserted%0D%0A%23FF6E9C%2C%20diff-deleted%0D%0A&es-color-form__tile-size=compact&es-color-form__show-contrast=aaa&es-color-form__show-contrast=aa&es-color-form__show-contrast=aa18&es-color-form__show-contrast=dnp)
## Contributing
π§ This project is always a work in progress, and everyone is welcome and encouraged to collaborate in it. π§
Everyone should follow our [code of conduct](./CODE_OF_CONDUCT.md) and to check out our [contributing guidelines](CONTRIBUTING.md) for more information on how to get started.
## Preferences shown in the previews
The font in the previews is Fira Code. Editor settings to activate font ligatures:
```json
"editor.fontFamily": "Fira Code",
"editor.fontLigatures": true,
```The preview image for the Python syntax is using [Bracket Pair Colorizer](https://marketplace.visualstudio.com/items?itemName=CoenraadS.bracket-pair-colorizer&WT.mc_id=academic-0000-taallard), a cool extension that highlights matching brackets. Using this extension can help reduce unwanted errors.
I defined the following colours in my `settings.json`:
```json
"bracket-pair-colorizer-2.colors": [
"#f18fac", // soft pink
"#facd49", // golden
"#c56cf0", // bright lilac
"#f85e9f" // hot pink
]
```## Pitaya Smoothie in other places
You can find `Pitaya Smoothie` in the following places:
- β¨ Iterm theme [https://github.com/trallard/pitaya-smoothie-iterm/tree/main](https://github.com/trallard/pitaya-smoothie-iterm/tree/main)
- β¨ Slack theme - if you want to match your VS Code theme and your Slack theme head to `preferences` -> `themes` in Slack and paste the following colours:
`#181036,#27264D,#251954,#66E9EC,#27264D,#ABA9DB,#AD70FC,#FF6E9C`
- The colours included are: ![#181036](https://via.placeholder.com/10/181036/000000?text=%20) `#181036` ![#27264d](https://via.placeholder.com/10/27264d/000000?text=%20) `#27264d` ![#251954](https://via.placeholder.com/10/251954/000000?text=%20) `#251954` ![#66e9ec](https://via.placeholder.com/10/66e9ec/000000?text=%20) `#66e9ec` ![#ABA9DB](https://via.placeholder.com/10/ABA9DB/000000?text=%20) `#ABA9DB` ![#ad70fc](https://via.placeholder.com/10/ad70fc/000000?text=%20) `#ad70fc` ![#ff6e9c](https://via.placeholder.com/10/ff6e9c/000000?text=%20) `#ff6e9c`- β¨ Matplotlib theme - now your plots can have a Pitaya Smoothie look (dark and light themes included). Developed by [@dhaitz](https://github.com/dhaitz) - check it out at [https://github.com/dhaitz/matplotlib-stylesheets](https://github.com/dhaitz/matplotlib-stylesheets).
![Matplotlib Pitaya Smoothie light demo](https://github.com/dhaitz/matplotlib-stylesheets/raw/master/img/pitayasmoothie_light.png)
![Matplotlib Pitaya Smoothie dark demo](https://github.com/dhaitz/matplotlib-stylesheets/raw/master/img/pitayasmoothie_dark.png)If you want to port Pitaya Smoothie to other places let us know and we'll add a link to your port and add you to our contributors list β¨π
## License
**Licensed** as BSD-3 β [Tania Allard](https://bitsandchips.me/).
## Attributions
- Icons made by Freepik from www.flaticon.com and adapted to match the theme's colours.
- The logo font is Attractype Reborn from [Garisman Studio](https://befonts.com/designer/garisman-studio).
- Deeply inspired and guided by Sarah Dresner's Night Owl and [this fantastic guide they wrote](https://css-tricks.com/creating-a-vs-code-theme/).