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

Commit 37ea39b

Browse files
authored
Merge pull request #28 from topcoder-platform/qa-accessibility
Qa accessibility
2 parents 60468ce + 1e8b42b commit 37ea39b

File tree

12 files changed

+48
-44
lines changed

12 files changed

+48
-44
lines changed

.circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- attach_workspace:
3131
at: .
3232
- run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
33-
- run: npm publish
33+
- run: npm publish --tag=qa-accessibility
3434

3535
workflows:
3636
version: 2

package-lock.json

+4-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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": "0.5.10",
35+
"version": "1.0.12",
3636
"dependencies": {
3737
"prop-types": "^15.6.2",
3838
"react": "^16.4.1",

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;

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
}

src/shared/components/tags/event/data-science.scss

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

77
.button {
8-
color: $tc-orange;
8+
color: $tc-orange-110;
99
background-color: $tc-orange-10;
1010

1111
&:active,
1212
&:focus,
1313
&:hover {
1414
color: $tc-orange;
15-
background-color: $tc-orange-10;
15+
background-color: $tc-orange-30;
1616
}
1717

1818
&:visited {

src/shared/components/tags/event/design.scss

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

77
.button {
8-
color: $tc-light-blue;
8+
color: $tc-dark-blue-110;
99
background-color: $tc-light-blue-10;
1010

1111
&:active,
1212
&:focus,
1313
&:hover {
1414
color: $tc-light-blue;
15-
background-color: $tc-light-blue-10;
15+
background-color: $tc-light-blue-30;
1616
}
1717

1818
&:visited {

src/shared/components/tags/event/development.scss

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

77
.button {
8-
color: $tc-green;
8+
color: $tc-green-110;
99
background-color: $tc-green-10;
1010

1111
&:active,
1212
&:focus,
1313
&:hover {
1414
color: $tc-green;
15-
background-color: $tc-green-10;
15+
background-color: $tc-green-30;
1616
}
1717

1818
&:visited {

src/shared/components/tags/primary/data-science.scss

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

77
.button {
8-
background-color: $tc-orange;
8+
background-color: $tc-orange-110;
99
color: $tc-white;
1010

1111
&:active,

src/shared/components/tags/primary/design.scss

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

77
.button {
8-
background-color: $tc-light-blue;
8+
background-color: $tc-light-blue-110;
99
color: $tc-white;
1010

1111
&:active,

src/shared/components/tags/primary/development.scss

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

77
.button {
8-
background-color: $tc-green;
8+
background-color: $tc-green-110;
99
color: $tc-white;
1010

1111
&:active,

src/styles/_mixins/variables.scss

+30-27
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ $tc-black: #151516;
2424
$tc-gray-90: #2a2a2b;
2525
$tc-gray-80: #404041;
2626
$tc-gray-70: #555;
27+
$tc-gray-75: #006dea;
2728
$tc-gray-60: #6b6b6b;
2829
$tc-gray-50: #808080;
2930
$tc-gray-40: #959596;
@@ -36,31 +37,32 @@ $tc-gray-neutral-light: #fafafb;
3637
$tc-white: #fff;
3738

3839
/* Accents & Shades. */
39-
$tc-dark-blue-110: #006dea;
40+
$tc-dark-blue-110: #006ad7;
41+
$tc-dark-blue-105: #006feb;
4042
$tc-dark-blue-100: #0681ff;
4143
$tc-dark-blue-70: #55a5ff;
4244
$tc-dark-blue-30: #cee6ff;
4345
$tc-dark-blue-10: #f4f9ff;
4446

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

5254
/* Warm Orange - data science color code. */
53-
$tc-orange-110: #f26500;
54-
$tc-orange-100: #fb7d22;
55-
$tc-orange-70: #fda464;
56-
$tc-orange-30: #fee3d0;
55+
$tc-orange-110: #ba4c00;
56+
$tc-orange-100: #fd7d00;
57+
$tc-orange-70: #ffa45d;
58+
$tc-orange-30: #ffe3cf;
5759
$tc-orange-10: #fff0eb;
5860

5961
/* Red - used for warnings/ */
6062
$tc-red-110: #ea1900;
61-
$tc-red-100: #f22f24;
62-
$tc-red-70: #ff5b52;
63-
$tc-red-30: #ffd4d1;
63+
$tc-red-100: #f52c14;
64+
$tc-red-70: #ff5a4c;
65+
$tc-red-30: #ffd4d0;
6466
$tc-red-10: #fff4f4;
6567

6668
/* Yellow. */
@@ -71,25 +73,26 @@ $tc-yellow-30: #fff8ca;
7173
$tc-yellow-10: #fffde5;
7274

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

8083
/* Purples. */
81-
$tc-purple-110: #9050a3;
82-
$tc-purple-100: #9050a3;
83-
$tc-purple-70: #b47dd6;
84-
$tc-purple-30: #e2c7f2;
84+
$tc-purple-110: #753488;
85+
$tc-purple-100: #914da5;
86+
$tc-purple-70: #b57ad8;
87+
$tc-purple-30: #e2c6f3;
8588
$tc-purple-10: #f8f2fb;
8689

8790
/* TC Metal colors - Badges.
8891
*
8992
* For metals the level 100 is the base metal color; 110 is for text inside
9093
* the metal-colored areas; and 130 is for small text inside metal-colored
9194
* areas, for better visibility. */
92-
$tc-gold-130: #865e07;
95+
$tc-gold-130: #9a6d00;
9396
$tc-gold-110: #c99014;
9497
$tc-gold-100: #ffd84d;
9598

@@ -99,13 +102,13 @@ $tc-silver-100: #d1d0cf;
99102

100103
$tc-bronze-130: #733d17;
101104
$tc-bronze-110: #854e29;
102-
$tc-bronze-100: #d98d64;
105+
$tc-bronze-100: #d98f64;
103106

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

110113
/* Color aliases. */
111114

0 commit comments

Comments
 (0)