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

Commit e9e3421

Browse files
authored
Merge pull request #32 from topcoder-platform/develop
Develop
2 parents dc6ce00 + 9451a43 commit e9e3421

File tree

16 files changed

+99
-44
lines changed

16 files changed

+99
-44
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,4 @@ workflows:
4848
tags:
4949
only: /v[0-9]+(\.[0-9]+)*/
5050
requires:
51-
- test
51+
- test

__tests__/__snapshots__/index.js.snap

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ Object {
1515
"GhostButton": [Function],
1616
"Modal": [Function],
1717
"PrimaryButton": [Function],
18+
"QATrackEventTag": [Function],
19+
"QATrackTag": [Function],
1820
"SecondaryButton": [Function],
1921
"Tag": [Function],
2022
}

package-lock.json

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
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": "2.0.0",
3636
"dependencies": {
3737
"prop-types": "^15.6.2",
3838
"react": "^16.4.1",

src/shared/components/buttons/themes/danger.scss

Lines changed: 2 additions & 2 deletions
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 2 additions & 2 deletions
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

Lines changed: 2 additions & 2 deletions
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

Lines changed: 2 additions & 2 deletions
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 {
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
/**
2+
* Event tag, colored with colors of qa track (purple).
3+
*/
4+
5+
@import "../default";
6+
7+
.button {
8+
color: $tc-purple-120;
9+
background-color: $tc-purple-20;
10+
11+
&:active,
12+
&:focus,
13+
&:hover {
14+
color: $tc-purple;
15+
background-color: $tc-purple-30;
16+
}
17+
18+
&:visited {
19+
color: $tc-purple;
20+
}
21+
}

0 commit comments

Comments
 (0)