@cucumber/react-components 22.2.0 → 22.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -0
- package/dist/src/components/CucumberReact.module.scss +22 -22
- package/dist/src/components/app/ExecutionSummary.d.ts.map +1 -1
- package/dist/src/components/app/ExecutionSummary.js +3 -1
- package/dist/src/components/app/ExecutionSummary.js.map +1 -1
- package/dist/src/components/app/ExecutionSummary.module.scss +39 -38
- package/dist/src/components/app/FilteredResults.module.scss +4 -4
- package/dist/src/components/app/NavigationButton.module.scss +15 -15
- package/dist/src/components/app/NoMatchResult.module.scss +8 -8
- package/dist/src/components/app/SearchBar.module.scss +46 -48
- package/dist/src/components/app/StatusesSummary.module.scss +25 -25
- package/dist/src/components/app/icons/CucumberLogo.d.ts.map +1 -1
- package/dist/src/components/app/icons/CucumberLogo.js +5 -5
- package/dist/src/components/app/icons/CucumberLogo.js.map +1 -1
- package/dist/src/components/customise/custom-classes.stories.scss +1 -1
- package/dist/src/components/customise/customRendering.d.ts +1 -1
- package/dist/src/components/customise/customRendering.d.ts.map +1 -1
- package/dist/src/components/gherkin/Description.module.scss +1 -1
- package/dist/src/components/gherkin/DocString.module.scss +18 -18
- package/dist/src/components/gherkin/ExampleDetail.module.scss +1 -1
- package/dist/src/components/gherkin/Examples.module.scss +2 -2
- package/dist/src/components/gherkin/ExamplesTable.module.scss +8 -7
- package/dist/src/components/gherkin/HookSteps.d.ts.map +1 -1
- package/dist/src/components/gherkin/HookSteps.js +4 -2
- package/dist/src/components/gherkin/HookSteps.js.map +1 -1
- package/dist/src/components/gherkin/Keyword.module.scss +1 -1
- package/dist/src/components/gherkin/MDG.module.scss +8 -8
- package/dist/src/components/gherkin/Parameter.module.scss +1 -1
- package/dist/src/components/gherkin/StatusIcon.module.scss +8 -8
- package/dist/src/components/gherkin/StepsList.module.scss +8 -8
- package/dist/src/components/gherkin/Tags.module.scss +1 -1
- package/dist/src/components/gherkin/Title.module.scss +11 -1
- package/dist/src/components/gherkin/attachment/Attachment.d.ts.map +1 -1
- package/dist/src/components/gherkin/attachment/Attachment.js +5 -1
- package/dist/src/components/gherkin/attachment/Attachment.js.map +1 -1
- package/dist/src/components/gherkin/attachment/Attachment.module.scss +18 -0
- package/dist/src/components/gherkin/attachment/Links.d.ts +8 -0
- package/dist/src/components/gherkin/attachment/Links.d.ts.map +1 -0
- package/dist/src/components/gherkin/attachment/Links.js +17 -0
- package/dist/src/components/gherkin/attachment/Links.js.map +1 -0
- package/dist/src/search/Search.d.ts.map +1 -1
- package/dist/src/search/Search.js.map +1 -1
- package/dist/src/styles/fonts.scss +18 -0
- package/dist/src/styles/tables.scss +18 -17
- package/dist/src/styles/theming.scss +4 -2
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +21 -19
|
@@ -2,13 +2,14 @@
|
|
|
2
2
|
@import '../../styles/tables';
|
|
3
3
|
|
|
4
4
|
.examplesTable {
|
|
5
|
-
|
|
5
|
+
@include cucumber-table-style;
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
th:first-child,
|
|
8
|
+
td:first-child {
|
|
9
|
+
border-left: none;
|
|
10
|
+
}
|
|
10
11
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
tbody tr {
|
|
13
|
+
cursor: pointer;
|
|
14
|
+
}
|
|
14
15
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HookSteps.d.ts","sourceRoot":"","sources":["../../../../src/components/gherkin/HookSteps.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,oBAAoB,CAAA;AAC9C,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,UAAU,MAAM;IACd,SAAS,EAAE,SAAS,QAAQ,CAAC,QAAQ,EAAE,CAAA;CACxC;AAED,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,iBAAiB,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"HookSteps.d.ts","sourceRoot":"","sources":["../../../../src/components/gherkin/HookSteps.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,oBAAoB,CAAA;AAC9C,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,UAAU,MAAM;IACd,SAAS,EAAE,SAAS,QAAQ,CAAC,QAAQ,EAAE,CAAA;CACxC;AAED,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,iBAAiB,CAAC,MAAM,CAWrD,CAAA"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { HookStep } from './HookStep.js';
|
|
3
3
|
export const HookSteps = ({ hookSteps }) => {
|
|
4
|
-
return (React.createElement(React.Fragment, null, hookSteps
|
|
5
|
-
React.createElement(HookStep, { key: index, step: step }))
|
|
4
|
+
return (React.createElement(React.Fragment, null, hookSteps
|
|
5
|
+
.map((step, index) => React.createElement(HookStep, { key: index, step: step }))
|
|
6
|
+
.filter((el) => !!el.props.children?.length)
|
|
7
|
+
.map((el, index) => (React.createElement("li", { key: index }, el)))));
|
|
6
8
|
};
|
|
7
9
|
//# sourceMappingURL=HookSteps.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HookSteps.js","sourceRoot":"","sources":["../../../../src/components/gherkin/HookSteps.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAMxC,MAAM,CAAC,MAAM,SAAS,GAAoC,CAAC,EAAE,SAAS,EAAE,EAAE,EAAE;IAC1E,OAAO,CACL,0CACG,SAAS,
|
|
1
|
+
{"version":3,"file":"HookSteps.js","sourceRoot":"","sources":["../../../../src/components/gherkin/HookSteps.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAMxC,MAAM,CAAC,MAAM,SAAS,GAAoC,CAAC,EAAE,SAAS,EAAE,EAAE,EAAE;IAC1E,OAAO,CACL,0CACG,SAAS;SACP,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,oBAAC,QAAQ,IAAC,GAAG,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,GAAI,CAAC;SAC1D,MAAM,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,QAAQ,EAAE,MAAM,CAAC;SAC3C,GAAG,CAAC,CAAC,EAAE,EAAE,KAAK,EAAE,EAAE,CAAC,CAClB,4BAAI,GAAG,EAAE,KAAK,IAAG,EAAE,CAAM,CAC1B,CAAC,CACH,CACJ,CAAA;AACH,CAAC,CAAA"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
$statusColors:
|
|
2
|
-
'PASSED' #
|
|
3
|
-
'SKIPPED' #
|
|
4
|
-
'PENDING' #
|
|
5
|
-
'UNDEFINED' #
|
|
6
|
-
'AMBIGUOUS' #
|
|
7
|
-
'FAILED' #
|
|
8
|
-
'UNKNOWN' #
|
|
2
|
+
'PASSED' #2cb14a,
|
|
3
|
+
'SKIPPED' #00a0cc,
|
|
4
|
+
'PENDING' #ffad33,
|
|
5
|
+
'UNDEFINED' #ffad33,
|
|
6
|
+
'AMBIGUOUS' #f4ebfd,
|
|
7
|
+
'FAILED' #bb0000,
|
|
8
|
+
'UNKNOWN' #b6becb;
|
|
9
9
|
|
|
10
10
|
.icon {
|
|
11
11
|
@each $name, $color in $statusColors {
|
|
@@ -13,4 +13,4 @@ $statusColors:
|
|
|
13
13
|
color: fade-out($color, 0.333);
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
-
}
|
|
16
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Attachment.d.ts","sourceRoot":"","sources":["../../../../../src/components/gherkin/attachment/Attachment.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAEL,eAAe,EAGhB,MAAM,0BAA0B,CAAA;
|
|
1
|
+
{"version":3,"file":"Attachment.d.ts","sourceRoot":"","sources":["../../../../../src/components/gherkin/attachment/Attachment.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAEL,eAAe,EAGhB,MAAM,0BAA0B,CAAA;AA+BjC,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,iBAAiB,CAAC,eAAe,CAW/D,CAAA"}
|
|
@@ -4,6 +4,7 @@ import { useCustomRendering, } from '../../customise/index.js';
|
|
|
4
4
|
import { ErrorMessage } from '../ErrorMessage.js';
|
|
5
5
|
import defaultStyles from './Attachment.module.scss';
|
|
6
6
|
import { Image } from './Image.js';
|
|
7
|
+
import { Links } from './Links.js';
|
|
7
8
|
import { Log } from './Log.js';
|
|
8
9
|
import { Text } from './Text.js';
|
|
9
10
|
import { Unknown } from './Unknown.js';
|
|
@@ -18,6 +19,9 @@ const DefaultRenderer = ({ attachment, styles, }) => {
|
|
|
18
19
|
else if (attachment.mediaType == 'text/x.cucumber.log+plain') {
|
|
19
20
|
return React.createElement(Log, { attachment: attachment, classes: styles });
|
|
20
21
|
}
|
|
22
|
+
else if (attachment.mediaType == 'text/uri-list') {
|
|
23
|
+
return React.createElement(Links, { attachment: attachment, classes: styles });
|
|
24
|
+
}
|
|
21
25
|
else if (attachment.mediaType.match(/^text\//)) {
|
|
22
26
|
return React.createElement(Text, { attachment: attachment, classes: styles });
|
|
23
27
|
}
|
|
@@ -37,7 +41,7 @@ function prettyJSON(s) {
|
|
|
37
41
|
try {
|
|
38
42
|
return JSON.stringify(JSON.parse(s), null, 2);
|
|
39
43
|
}
|
|
40
|
-
catch (
|
|
44
|
+
catch (_) {
|
|
41
45
|
return s;
|
|
42
46
|
}
|
|
43
47
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"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AAS,CAAC,KAAK,CAAC,oBAAoB,CAAC,EAAE;QAC3D,OAAO,oBAAC,IAAI,IAAC,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,GAAI,CAAA;KAC/E;SAAM;QACL,OAAO,oBAAC,OAAO,IAAC,UAAU,EAAE,UAAU,GAAI,CAAA;KAC3C;AACH,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,UAAU,GAA6C,CAAC,KAAK,EAAE,EAAE;IAC5E,MAAM,gBAAgB,GAAG,kBAAkB,CACzC,YAAY,EACZ,aAAa,EACb,eAAe,CAChB,CAAA;IACD,OAAO,CACL,oBAAC,aAAa,IAAC,QAAQ,EAAE,oBAAC,YAAY,IAAC,OAAO,EAAE,iCAAiC,GAAI;QACnF,oBAAC,gBAAgB,OAAK,KAAK,GAAI,CACjB,CACjB,CAAA;AACH,CAAC,CAAA;AAED,SAAS,UAAU,CAAC,CAAS;IAC3B,IAAI;QACF,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,CAAA;KAC9C;IAAC,OAAO,
|
|
1
|
+
{"version":3,"file":"Attachment.js","sourceRoot":"","sources":["../../../../../src/components/gherkin/attachment/Attachment.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AAEpD,OAAO,EAIL,kBAAkB,GACnB,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AACjD,OAAO,aAAa,MAAM,0BAA0B,CAAA;AACpD,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAA;AAClC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAA;AAClC,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAA;AAC9B,OAAO,EAAE,IAAI,EAA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A6C,CAAC,KAAK,EAAE,EAAE;IAC5E,MAAM,gBAAgB,GAAG,kBAAkB,CACzC,YAAY,EACZ,aAAa,EACb,eAAe,CAChB,CAAA;IACD,OAAO,CACL,oBAAC,aAAa,IAAC,QAAQ,EAAE,oBAAC,YAAY,IAAC,OAAO,EAAE,iCAAiC,GAAI;QACnF,oBAAC,gBAAgB,OAAK,KAAK,GAAI,CACjB,CACjB,CAAA;AACH,CAAC,CAAA;AAED,SAAS,UAAU,CAAC,CAAS;IAC3B,IAAI;QACF,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,CAAA;KAC9C;IAAC,OAAO,CAAC,EAAE;QACV,OAAO,CAAC,CAAA;KACT;AACH,CAAC"}
|
|
@@ -37,3 +37,21 @@
|
|
|
37
37
|
max-width: 100%;
|
|
38
38
|
margin-top: 0.5em;
|
|
39
39
|
}
|
|
40
|
+
|
|
41
|
+
.links {
|
|
42
|
+
list-style: none;
|
|
43
|
+
display: flex;
|
|
44
|
+
flex-direction: column;
|
|
45
|
+
align-items: flex-start;
|
|
46
|
+
padding: 0;
|
|
47
|
+
margin: 0;
|
|
48
|
+
|
|
49
|
+
a {
|
|
50
|
+
text-decoration: none;
|
|
51
|
+
color: $anchorColor;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
svg {
|
|
55
|
+
margin-right: 0.5em;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Attachment } from '@cucumber/messages';
|
|
2
|
+
import { FC } from 'react';
|
|
3
|
+
import { AttachmentClasses } from '../../customise/index.js';
|
|
4
|
+
export declare const Links: FC<{
|
|
5
|
+
attachment: Attachment;
|
|
6
|
+
classes: AttachmentClasses;
|
|
7
|
+
}>;
|
|
8
|
+
//# sourceMappingURL=Links.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Links.d.ts","sourceRoot":"","sources":["../../../../../src/components/gherkin/attachment/Links.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAG/C,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAEjC,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAA;AAG5D,eAAO,MAAM,KAAK,EAAE,EAAE,CAAC;IACrB,UAAU,EAAE,UAAU,CAAA;IACtB,OAAO,EAAE,iBAAiB,CAAA;CAC3B,CAmBA,CAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { faLink } from '@fortawesome/free-solid-svg-icons';
|
|
2
|
+
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { useText } from './useText.js';
|
|
5
|
+
export const Links = ({ attachment, classes }) => {
|
|
6
|
+
const { content } = useText(attachment);
|
|
7
|
+
return (React.createElement("ul", { className: classes.links }, content
|
|
8
|
+
.split('\n')
|
|
9
|
+
.filter((line) => !!line)
|
|
10
|
+
.map((line, index) => {
|
|
11
|
+
return (React.createElement("li", { key: index },
|
|
12
|
+
React.createElement("a", { href: line, target: "_blank", rel: "noreferrer" },
|
|
13
|
+
React.createElement(FontAwesomeIcon, { icon: faLink }),
|
|
14
|
+
line)));
|
|
15
|
+
})));
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=Links.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Links.js","sourceRoot":"","sources":["../../../../../src/components/gherkin/attachment/Links.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAA;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAA;AAChE,OAAO,KAAa,MAAM,OAAO,CAAA;AAGjC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAEtC,MAAM,CAAC,MAAM,KAAK,GAGb,CAAC,EAAE,UAAU,EAAE,OAAO,EAAE,EAAE,EAAE;IAC/B,MAAM,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,UAAU,CAAC,CAAA;IACvC,OAAO,CACL,4BAAI,SAAS,EAAE,OAAO,CAAC,KAAK,IACzB,OAAO;SACL,KAAK,CAAC,IAAI,CAAC;SACX,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;SACxB,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE;QACnB,OAAO,CACL,4BAAI,GAAG,EAAE,KAAK;YACZ,2BAAG,IAAI,EAAE,IAAI,EAAE,MAAM,EAAC,QAAQ,EAAC,GAAG,EAAC,YAAY;gBAC7C,oBAAC,eAAe,IAAC,IAAI,EAAE,MAAM,GAAI;gBAChC,IAAI,CACH,CACD,CACN,CAAA;IACH,CAAC,CAAC,CACD,CACN,CAAA;AACH,CAAC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Search.d.ts","sourceRoot":"","sources":["../../../src/search/Search.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAM/D,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;
|
|
1
|
+
{"version":3,"file":"Search.d.ts","sourceRoot":"","sources":["../../../src/search/Search.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAM/D,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;AA2BvC;;;;;;GAMG;AACH,wBAAsB,YAAY,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,UAAU,CAAC,CAUlF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Search.js","sourceRoot":"","sources":["../../../src/search/Search.ts"],"names":[],"mappings":"AAGA,OAAO,eAAe,MAAM,uB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M,CAAC,SAAS,EAAE,UAAU,CAAC,CAAA;IACpD,KAAK,MAAM,GAAG,IAAI,YAAY,CAAC,mBAAmB,EAAE,EAAE;QACpD,MAAM,UAAU,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;KAC1B;IACD,OAAO,UAAU,CAAA;AACnB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
$defaultSansFamily:
|
|
2
|
+
'Inter var',
|
|
3
|
+
ui-sans-serif,
|
|
4
|
+
system-ui,
|
|
5
|
+
-apple-system,
|
|
6
|
+
BlinkMacSystemFont,
|
|
7
|
+
'Segoe UI',
|
|
8
|
+
Roboto,
|
|
9
|
+
'Helvetica Neue',
|
|
10
|
+
Arial,
|
|
11
|
+
'Noto Sans',
|
|
12
|
+
sans-serif,
|
|
13
|
+
'Apple Color Emoji',
|
|
14
|
+
'Segoe UI Emoji',
|
|
15
|
+
'Segoe UI Symbol',
|
|
16
|
+
'Noto Color Emoji';
|
|
17
|
+
$defaultMonoFamily:
|
|
18
|
+
ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
|
|
@@ -1,24 +1,25 @@
|
|
|
1
1
|
@import './theming';
|
|
2
2
|
|
|
3
3
|
@mixin cucumber-table-style {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
border-collapse: collapse;
|
|
5
|
+
margin: 0;
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
thead tr {
|
|
8
|
+
border-bottom: 6px solid transparent;
|
|
9
|
+
}
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
tr + tr {
|
|
12
|
+
border-top: 6px solid transparent;
|
|
13
|
+
}
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
15
|
+
th,
|
|
16
|
+
td {
|
|
17
|
+
padding: 0.4em 0.6em;
|
|
18
|
+
border-width: 2px;
|
|
19
|
+
border-style: solid;
|
|
20
|
+
border-top: none;
|
|
21
|
+
border-bottom: none;
|
|
22
|
+
border-color: $keywordColor;
|
|
23
|
+
color: $parameterColor;
|
|
24
|
+
}
|
|
24
25
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
@import './fonts';
|
|
2
|
+
|
|
3
|
+
$sansFamily: var(--cucumber-sans-font-family, $defaultSansFamily);
|
|
4
|
+
$monoFamily: var(--cucumber-mono-font-family, $defaultMonoFamily);
|
|
3
5
|
$backgroundColor: var(--cucumber-background-color, white);
|
|
4
6
|
$textColor: var(--cucumber-text-color, #222);
|
|
5
7
|
$anchorColor: var(--cucumber-anchor-color, #297bde);
|