-
Notifications
You must be signed in to change notification settings - Fork 37.3k
Closed
Description
For the light and dark theme we added for new colors. We'd need a pass from the UX team to tune them where necessary. Especially in the light themes, some of the colors don't differ very much from the existing colors.
To tune, make changes to extensions/theme-colorful-defaults/themes/dark_plus.tmTheme and light_plus.tmTheme
| Theme | Control flow keywords | Type names | Function names | Variable & Parameter names |
|---|---|---|---|---|
| Light | Pink AF00DB _WCAG AA pass_ | Turquoise 2B91AF _Insufficient Contrast!!_ | Light gray 404040 | Dark blue 001080 |
| Dark | Pink C586C0 _WCAG AA pass_ | Turquoise _4EC9B0_ | Yellow-brown DCDCAA | Light blue 9CDCFE |
The base colors are (I wouldn't make any changes to these):
| Theme | Background | Default foreground | Comments | Keywords | Strings | Numbers |
|---|---|---|---|---|---|---|
| Light | White FFFFFF | Black 000000 | Green 008000 | Blue 0000FF | Red A31515 | Green 09885A |
| Dark | Black 000000 | White D4D4D4 | Green 608B4E _Insufficient Contrast!!_ | Blue 569CD6 | Red CE9178 | Green B5CEA8 |
Snippet:
export module Conway {
export class Cell {
private row: number;
private col: number;
public countNeighbors(cell: Cell) : number {
var neighbors = 0;
for (var row = -1; row <= 1; row++) {
for (var col = -1; col <= 1; col++) {
if (row == 0 && col == 0) continue;
if (this.isAlive(cell.row + row, cell.col + col)) {
neighbors++;
}
}
}
return neighbors;
}
private isAlive(row: number, col: number) : boolean {
return true;
}
}
}Metadata
Metadata
Assignees
Labels
themesColor theme issuesColor theme issues

