Skip to content

Commit 8ca0637

Browse files
authored
Merge pull request #16 from trallard/trallard/patch-3
REL - Fix WCAG issues in theme
2 parents c1bf1a3 + b0df7f4 commit 8ca0637

10 files changed

+689
-73
lines changed

CHANGELOG.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,15 @@
88

99
All notable changes to the "pitaya-smoothie" extension will be documented in this file.
1010

11+
## Release 2.0.2
12+
13+
![FIX](https://img.shields.io/badge/-FIX-gray.svg?colorB=FC427B)
14+
15+
> ♿️ Fix comment and selection colours not meeting WCAG AA standards [`444121d`](https://github.com/trallard/pitaya_smoothie/commit/444121d)
16+
17+
![NEW](https://img.shields.io/badge/-NEW-gray.svg?colorB=12CBC4)
18+
19+
> 📝 Add colour contrast grid to README [`1351c6a`](https://github.com/trallard/pitaya_smoothie/commit/1351c6a)
1120
## Release 2.0.1
1221

1322
![FIX](https://img.shields.io/badge/-FIX-gray.svg?colorB=FC427B)
@@ -25,8 +34,9 @@ All notable changes to the "pitaya-smoothie" extension will be documented in thi
2534
> ✨ Ensure the UX palette is scalable and consistent [ab85fe](https://github.com/trallard/pitaya_smoothie/commit/ab85fe)
2635
> ✨ Improve highlight colours for better visibility [e717e8](https://github.com/trallard/pitaya_smoothie/commit/e717e8)
2736
> ✨ Rearrange the themes to have groups of tokens [3fb5c0f](https://github.com/trallard/pitaya_smoothie/commit/3fb5c0f8a2e5e53e48fc62f12efdb2f08e3b8f31)
28-
> ✨ Fix merge colours - now AAA compliance [3e9716](https://github.com/trallard/pitaya_smoothie/commit/3e9716bc0b2ef0673763315b373ddb1b7fe93899)
37+
> ✨ Fix merge colours - now AAA compliance [3e9716](https://github.com/trallard/pitaya_smoothie/commit/3e9716bc0b2ef0673763315b373ddb1b7fe93899)
2938
> ✨ Reduce number of highlight colours [cf12b0](cf12b0c37b1eeb90cf032f0b1e822d121c3f8f24)
39+
3040
## RELEASE: 1.0.5
3141

3242
![FIX](https://img.shields.io/badge/-FIX-gray.svg?colorB=FC427B)
@@ -40,7 +50,7 @@ All notable changes to the "pitaya-smoothie" extension will be documented in thi
4050

4151
![FIX](https://img.shields.io/badge/-FIX-gray.svg?colorB=FC427B)
4252

43-
> ✨ Multiple improvements to general accesibility: [highlighting](https://github.com/trallard/pitaya_smoothie/commit/512a3ef), [debugging](https://github.com/trallard/pitaya_smoothie/commit/0c755e9), [error and warning](https://github.com/trallard/pitaya_smoothie/commit/8b697eb)
53+
> ✨ Multiple improvements to general accessibility: [highlighting](https://github.com/trallard/pitaya_smoothie/commit/512a3ef), [debugging](https://github.com/trallard/pitaya_smoothie/commit/0c755e9), [error and warning](https://github.com/trallard/pitaya_smoothie/commit/8b697eb)
4454
> ✨ Remove deprecated theme tags [5c782e2](https://github.com/trallard/pitaya_smoothie/commit/5c782e2)
4555
4656
## RELEASE: 1.0.3

README.md

Lines changed: 651 additions & 46 deletions
Large diffs are not rendered by default.

demo-scripts/dart-flutter.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ class PitayaStyle {
350350
// https://github.com/trallard/pitaya_smoothie
351351
static const Color PitayaBackground = Color(0xFF181036);
352352
static const Color PitayaForeground = Color(0xFFFEFEFF);
353-
static const Color PitayaComment = Color(0xFF5C588A);
353+
static const Color PitayaComment = Color(0xFF8786ac);
354354
static const Color PitayaKeyword = Color(0xFFF26196);
355355
static const Color PitayaString = Color(0xFF7998F2);
356356
static const Color PitayaNumber = Color(0xFFF3907E);

demo-scripts/dummy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,4 +97,4 @@
9797

9898
## COMMENTS
9999

100-
`#7E7AAA` - double slashed comments
100+
`#8786ac` - double slashed comments

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
</div>
6464

6565
<div class="footer">
66-
<p>This theme was created for you with by <a href="http://twitter.com/ixek">Tania Allard</a>
66+
<p>This theme was created for you with 💜 by <a href="http://twitter.com/ixek">Tania Allard</a>
6767
</p>
6868
</div>
6969

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "pitaya-smoothie",
33
"displayName": "Pitaya smoothie",
44
"description": "A dark editor theme with handpicked colours and heavily inspired by the ultraviolet colour (colour of the year 2018) and Outrun aesthetics. A theme with contrast and accessibility for colourblindess in mind.",
5-
"version": "2.0.1",
5+
"version": "2.0.2",
66
"publisher": "trallard",
77
"author": {
88
"name": "Tania Allard"

stylesheet.css

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,23 @@
11
/* styles for basic website */
22

33
body {
4-
background: #181e44;
5-
font-family: 'PT Mono', 'Courier New', Courier, monospace;
4+
background: #181036;
5+
font-family: "PT Mono", "Courier New", Courier, monospace;
66
color: #fefeff;
77
font-size: 22px;
88
line-height: 1.4em;
99
}
1010

1111
a {
12-
color: #7998F2;
12+
color: #7998f2;
1313
}
1414

15-
strong{
16-
color: #F85E9F;
15+
strong {
16+
color: #f85e9f;
1717
}
1818

19-
.title, .screenshot {
19+
.title,
20+
.screenshot {
2021
width: 100%;
2122
margin-top: 50px;
2223
}
@@ -30,7 +31,8 @@ strong{
3031
margin-bottom: 50px;
3132
}
3233

33-
.title img, .screenshot img{
34+
.title img,
35+
.screenshot img {
3436
display: block;
3537
margin-left: auto;
3638
margin-right: auto;
@@ -51,4 +53,3 @@ table {
5153
margin-top: 50px;
5254
border-spacing: 2rem;
5355
}
54-

themes/Copy-italic.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1082,7 +1082,7 @@
10821082
"comment.block.html",
10831083
],
10841084
"settings": {
1085-
"foreground": "#7E7AAA",
1085+
"foreground": "#8786ac",
10861086
"fontStyle": "italic"
10871087
}
10881088
},
@@ -1186,7 +1186,7 @@
11861186
"meta.diff.header.from-file"
11871187
],
11881188
"settings": {
1189-
"foreground": "#7E7AAA"
1189+
"foreground": "#8786ac"
11901190
}
11911191
},
11921192
{
@@ -1381,7 +1381,7 @@
13811381
"name": "Double-Slashed Comment",
13821382
"scope": "comment.line.double-slash",
13831383
"settings": {
1384-
"foreground": "#7E7AAA"
1384+
"foreground": "#8786ac"
13851385
}
13861386
},
13871387
{
@@ -1444,7 +1444,7 @@
14441444
"punctuation.definition.comment",
14451445
],
14461446
"settings": {
1447-
"foreground": "#7E7AAA",
1447+
"foreground": "#8786ac",
14481448
"fontStyle": "italic"
14491449
}
14501450
},

themes/Pitaya-smoothie-color-theme-noitalic.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1067,7 +1067,7 @@
10671067
"comment.block.html"
10681068
],
10691069
"settings": {
1070-
"foreground": "#7E7AAA"
1070+
"foreground": "#8786ac"
10711071
}
10721072
},
10731073
// JSON
@@ -1170,7 +1170,7 @@
11701170
"meta.diff.header.from-file"
11711171
],
11721172
"settings": {
1173-
"foreground": "#7E7AAA"
1173+
"foreground": "#8786ac"
11741174
}
11751175
},
11761176
{
@@ -1363,7 +1363,7 @@
13631363
"name": "Double-Slashed Comment",
13641364
"scope": "comment.line.double-slash",
13651365
"settings": {
1366-
"foreground": "#7E7AAA"
1366+
"foreground": "#8786ac"
13671367
}
13681368
},
13691369
{
@@ -1425,7 +1425,7 @@
14251425
"punctuation.definition.comment",
14261426
],
14271427
"settings": {
1428-
"foreground": "#7E7AAA"
1428+
"foreground": "#8786ac"
14291429
}
14301430
},
14311431
{

themes/Pitaya-smoothie-color-theme.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
"editorLineNumber.activeForeground": "#18C1C4",
7373
"editorCursor.foreground": "#F85E9F", // Color of the editor cursor.
7474
// Editor - Highlight and selection
75-
"editor.selectionBackground": "#301C7ABD", // Color of the editor selection. -psbright-600
75+
"editor.selectionBackground": "#231458d6", // Color of the editor selection. -psbright-600
7676
"editor.inactiveSelectionBackground": "#221068DB", // Color of the selection in an inactive editor. The color must not be opaque to not hide underlying decorations.
7777
"editor.selectionHighlightBackground": "#301C7ABD", // Color for regions with the same content as the selection. The color must not be opaque to not hide underlying decorations.
7878
"editor.selectionHighlightBorder": "#863BFF8F",
@@ -1081,7 +1081,7 @@
10811081
"comment.block.html",
10821082
],
10831083
"settings": {
1084-
"foreground": "#7E7AAA",
1084+
"foreground": "#8786ac",
10851085
"fontStyle": "italic"
10861086
}
10871087
},
@@ -1185,7 +1185,7 @@
11851185
"meta.diff.header.from-file"
11861186
],
11871187
"settings": {
1188-
"foreground": "#7E7AAA"
1188+
"foreground": "#8786ac"
11891189
}
11901190
},
11911191
{
@@ -1380,7 +1380,7 @@
13801380
"name": "Double-Slashed Comment",
13811381
"scope": "comment.line.double-slash",
13821382
"settings": {
1383-
"foreground": "#7E7AAA"
1383+
"foreground": "#8786ac"
13841384
}
13851385
},
13861386
{
@@ -1443,7 +1443,7 @@
14431443
"punctuation.definition.comment",
14441444
],
14451445
"settings": {
1446-
"foreground": "#7E7AAA",
1446+
"foreground": "#8786ac",
14471447
"fontStyle": "italic"
14481448
}
14491449
},

0 commit comments

Comments
 (0)