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

Added QA to track filter #27

Merged
merged 4 commits into from
Aug 10, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Added QA to track filter
  • Loading branch information
luizrrodrigues committed Aug 5, 2020
commit 9bcc882bf4c06adfef0b06e124638d68ea9ee372
2 changes: 2 additions & 0 deletions __tests__/__snapshots__/index.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ Object {
"GhostButton": [Function],
"Modal": [Function],
"PrimaryButton": [Function],
"QATrackEventTag": [Function],
"QATrackTag": [Function],
"SecondaryButton": [Function],
"Tag": [Function],
}
Expand Down
21 changes: 21 additions & 0 deletions src/shared/components/tags/event/qa.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/**
* Event tag, colored with colors of qa track (purple).
*/

@import "../default";

.button {
color: $tc-purple;
background-color: $tc-purple-10;

&:active,
&:focus,
&:hover {
color: $tc-purple;
background-color: $tc-purple-10;
}

&:visited {
color: $tc-purple;
}
}
5 changes: 5 additions & 0 deletions src/shared/components/tags/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@ import defaultTag from './default.scss';
import dataScienceTrackTag from './primary/data-science.scss';
import designTrackTag from './primary/design.scss';
import developmentTrackTag from './primary/development.scss';
import qaTrackTag from './primary/qa.scss';

import dataScienceTrackEventTag from './event/data-science.scss';
import designTrackEventTag from './event/design.scss';
import developmentTrackEventTag from './event/development.scss';
import qaTrackEventTag from './event/qa.scss';

export const Tag = themr('Tag', defaultTag)(GenericButton);

Expand All @@ -21,3 +23,6 @@ export const DesignTrackEventTag = themr('DesignTrackEventTag', designTrackEvent

export const DevelopmentTrackTag = themr('DevelopmentTrackTag', developmentTrackTag)(GenericButton);
export const DevelopmentTrackEventTag = themr('DevelopmentTrackEventTag', developmentTrackEventTag)(GenericButton);

export const QATrackTag = themr('QATrackTag', qaTrackTag)(GenericButton);
export const QATrackEventTag = themr('QATrackEventTag', qaTrackEventTag)(GenericButton);
21 changes: 21 additions & 0 deletions src/shared/components/tags/primary/qa.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/**
* Primary tag, colored with colors of qa track (purple).
*/

@import "../default";

.button {
background-color: $tc-purple;
color: $tc-white;

&:active,
&:focus,
&:hover {
color: $tc-white;
background-color: $tc-purple;
}

&:visited {
color: $tc-white;
}
}