File tree Expand file tree Collapse file tree 2 files changed +3
-32
lines changed Expand file tree Collapse file tree 2 files changed +3
-32
lines changed Original file line number Diff line number Diff line change 674
674
}
675
675
}
676
676
}
677
- ],
678
- "colors" : [
679
- {
680
- "id" : " problems.difficulty.badge.easy" ,
681
- "description" : " Color for easy problems badge" ,
682
- "defaults" : {
683
- "light" : " #00b8a3" ,
684
- "dark" : " #00b8a3" ,
685
- "highContrast" : " #00b8a3"
686
- }
687
- },
688
- {
689
- "id" : " problems.difficulty.badge.medium" ,
690
- "description" : " Color for medium level problems badge" ,
691
- "defaults" : {
692
- "light" : " #ffc01e" ,
693
- "dark" : " #ffc01e" ,
694
- "highContrast" : " #ffc01e"
695
- }
696
- },
697
- {
698
- "id" : " problems.difficulty.badge.hard" ,
699
- "description" : " Color for hard problems badge" ,
700
- "defaults" : {
701
- "light" : " #ff375f" ,
702
- "dark" : " #ff375f" ,
703
- "highContrast" : " #ff375f"
704
- }
705
- }
706
677
]
707
678
},
708
679
"scripts" : {
Original file line number Diff line number Diff line change @@ -9,9 +9,9 @@ export class LeetCodeTreeItemDecorationProvider implements FileDecorationProvide
9
9
} ;
10
10
11
11
private readonly ITEM_COLOR : { [ key : string ] : ThemeColor } = {
12
- easy : new ThemeColor ( "problems.difficulty.badge.easy " ) ,
13
- medium : new ThemeColor ( "problems.difficulty.badge.medium " ) ,
14
- hard : new ThemeColor ( "problems.difficulty.badge.hard " ) ,
12
+ easy : new ThemeColor ( "charts.green " ) ,
13
+ medium : new ThemeColor ( "charts.yellow " ) ,
14
+ hard : new ThemeColor ( "charts.red " ) ,
15
15
} ;
16
16
17
17
public provideFileDecoration ( uri : Uri ) : ProviderResult < FileDecoration > {
You can’t perform that action at this time.
0 commit comments