Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 7194b80

Browse files
authored
Merge pull request #1 from topcoder-platform/qa-accessibility
Qa accessibility
2 parents 075802c + 05e77e6 commit 7194b80

File tree

7 files changed

+35
-34
lines changed

7 files changed

+35
-34
lines changed

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"lint:scss": "./node_modules/.bin/stylelint **/*.scss --syntax scss",
3333
"test": "npm run lint && npm run jest"
3434
},
35-
"version": "1.0.0",
35+
"version": "1.0.7",
3636
"dependencies": {
3737
"prop-types": "^15.6.2",
3838
"react": "^16.4.1",

Diff for: src/shared/components/buttons/themes/danger.scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
@import "default";
66

77
@mixin button {
8-
background: $tc-red-70;
8+
background: $tc-red-110;
99
border-color: transparent;
1010
color: $tc-white;
1111
}
@@ -38,7 +38,7 @@
3838
}
3939

4040
&:active {
41-
background-color: $tc-red;
41+
background-color: $tc-red-110;
4242
background-image: none;
4343
box-shadow: inset 0 1px 3px 0 rgba(71, 71, 79, 0.38);
4444
border-color: transparent;

Diff for: src/shared/components/buttons/themes/primary.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
@import "default";
66

77
@mixin button {
8-
background: $tc-dark-blue;
8+
background: $tc-dark-blue-110;
99
border-color: transparent;
1010
color: $tc-white;
1111
}

Diff for: src/shared/components/tags/primary/data-science.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
&:focus,
1313
&:hover {
1414
color: $tc-white;
15-
background-color: $tc-orange;
15+
background-color: $tc-orange-110;
1616
}
1717

1818
&:visited {

Diff for: src/shared/components/tags/primary/design.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
&:focus,
1313
&:hover {
1414
color: $tc-white;
15-
background-color: $tc-light-blue;
15+
background-color: $tc-light-blue-110;
1616
}
1717

1818
&:visited {

Diff for: src/shared/components/tags/primary/development.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
&:focus,
1313
&:hover {
1414
color: $tc-white;
15-
background-color: $tc-green;
15+
background-color: $tc-green-110;
1616
}
1717

1818
&:visited {

Diff for: src/styles/_mixins/variables.scss

+28-27
Original file line numberDiff line numberDiff line change
@@ -37,32 +37,33 @@ $tc-gray-neutral-light: #fafafb;
3737
$tc-white: #fff;
3838

3939
/* Accents & Shades. */
40-
$tc-dark-blue-110: #006dea;
40+
$tc-dark-blue-120: #006ad7;
41+
$tc-dark-blue-110: #006ad7;
4142
$tc-dark-blue-105: #006feb;
4243
$tc-dark-blue-100: #0681ff;
4344
$tc-dark-blue-70: #55a5ff;
4445
$tc-dark-blue-30: #cee6ff;
4546
$tc-dark-blue-10: #f4f9ff;
4647

4748
/* Light Blue - design color code. */
48-
$tc-light-blue-110: #169ed9;
49-
$tc-light-blue-100: #26ade9;
50-
$tc-light-blue-70: #67c5ef;
51-
$tc-light-blue-30: #bde6f8;
49+
$tc-light-blue-110: #0076a5;
50+
$tc-light-blue-100: #15acec;
51+
$tc-light-blue-70: #63c4f1;
52+
$tc-light-blue-30: #bce6f9;
5253
$tc-light-blue-10: #e9f6fc;
5354

5455
/* Warm Orange - data science color code. */
55-
$tc-orange-110: #f26500;
56-
$tc-orange-100: #fb7d22;
57-
$tc-orange-70: #fda464;
58-
$tc-orange-30: #fee3d0;
56+
$tc-orange-110: #ba4c00;
57+
$tc-orange-100: #fd7d00;
58+
$tc-orange-70: #ffa45d;
59+
$tc-orange-30: #ffe3cf;
5960
$tc-orange-10: #fff0eb;
6061

6162
/* Red - used for warnings/ */
6263
$tc-red-110: #ea1900;
63-
$tc-red-100: #f22f24;
64-
$tc-red-70: #ff5b52;
65-
$tc-red-30: #ffd4d1;
64+
$tc-red-100: #f52c14;
65+
$tc-red-70: #ff5a4c;
66+
$tc-red-30: #ffd4d0;
6667
$tc-red-10: #fff4f4;
6768

6869
/* Yellow. */
@@ -74,25 +75,25 @@ $tc-yellow-10: #fffde5;
7475

7576
/* Greens - development color code. */
7677
$tc-green-120: #328732;
77-
$tc-green-110: #55b000;
78-
$tc-green-100: #60c700;
79-
$tc-green-70: #96d957;
80-
$tc-green-30: #cfefb2;
81-
$tc-green-10: #effae5;
78+
$tc-green-110: #258205;
79+
$tc-green-100: #5cc900;
80+
$tc-green-70: #94db4e;
81+
$tc-green-30: #cef0af;
82+
$tc-green-10: #effae4;
8283

8384
/* Purples. */
84-
$tc-purple-110: #9050a3;
85-
$tc-purple-100: #9050a3;
86-
$tc-purple-70: #b47dd6;
87-
$tc-purple-30: #e2c7f2;
85+
$tc-purple-110: #753488;
86+
$tc-purple-100: #914da5;
87+
$tc-purple-70: #b57ad8;
88+
$tc-purple-30: #e2c6f3;
8889
$tc-purple-10: #f8f2fb;
8990

9091
/* TC Metal colors - Badges.
9192
*
9293
* For metals the level 100 is the base metal color; 110 is for text inside
9394
* the metal-colored areas; and 130 is for small text inside metal-colored
9495
* areas, for better visibility. */
95-
$tc-gold-130: #865e07;
96+
$tc-gold-130: #9a6d00;
9697
$tc-gold-110: #c99014;
9798
$tc-gold-100: #ffd84d;
9899

@@ -102,13 +103,13 @@ $tc-silver-100: #d1d0cf;
102103

103104
$tc-bronze-130: #733d17;
104105
$tc-bronze-110: #854e29;
105-
$tc-bronze-100: #d98d64;
106+
$tc-bronze-100: #d98f64;
106107

107108
/* Pastel colors, used for levels. */
108-
$tc-pastel-green: #25c089;
109-
$tc-pastel-blue: #666eff;
110-
$tc-pastel-yellow: #fcb816;
111-
$tc-pastel-crimson: #e6175c;
109+
$tc-pastel-green: #12c188;
110+
$tc-pastel-blue: #5656f4;
111+
$tc-pastel-yellow: #feb900;
112+
$tc-pastel-crimson: #e90c5a;
112113

113114
/* Color aliases. */
114115

0 commit comments

Comments
 (0)