@cucumber/react-components 21.0.0 → 21.0.1
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.
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
@import './theming';
|
|
2
|
+
|
|
3
|
+
@mixin cucumber-table-style {
|
|
4
|
+
border-collapse: collapse;
|
|
5
|
+
margin: 0;
|
|
6
|
+
|
|
7
|
+
thead tr {
|
|
8
|
+
border-bottom: 6px solid transparent;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
tr + tr {
|
|
12
|
+
border-top: 6px solid transparent;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
th, td {
|
|
16
|
+
padding: 0.4em 0.6em;
|
|
17
|
+
border-width: 2px;
|
|
18
|
+
border-style: solid;
|
|
19
|
+
border-top: none;
|
|
20
|
+
border-bottom: none;
|
|
21
|
+
border-color: $keywordColor;
|
|
22
|
+
color: $parameterColor;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
$sansFamily: 'Inter var', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
|
|
2
|
+
$monoFamily: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
|
|
3
|
+
$backgroundColor: var(--cucumber-background-color, white);
|
|
4
|
+
$textColor: var(--cucumber-text-color, #222);
|
|
5
|
+
$anchorColor: var(--cucumber-anchor-color, #297bde);
|
|
6
|
+
$keywordColor: var(--cucumber-keyword-color, #000080);
|
|
7
|
+
$parameterColor: var(--cucumber-parameter-color, #297bde);
|
|
8
|
+
$tagColor: var(--cucumber-tag-color, #808000);
|
|
9
|
+
$docstringColor: var(--cucumber-docstring-color, #008080);
|
|
10
|
+
$errorBackgroundColor: var(--cucumber-error-background-color, #fff0f0);
|
|
11
|
+
$errorTextColor: var(--cucumber-error-text-color, #bd0a2b);
|
|
12
|
+
$codeBackgroundColor: var(--cucumber-code-background-color, #f6f8fa);
|
|
13
|
+
$codeTextColor: var(--cucumber-code-text-color, #666);
|
|
14
|
+
$panelBackgroundColor: var(--cucumber-panel-background-color, #f4f4f4);
|
|
15
|
+
$panelAccentColor: var(--cucumber-panel-accent-color, #e8e8e8);
|
|
16
|
+
$panelTextColor: var(--cucumber-panel-text-color, #444);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cucumber/react-components",
|
|
3
|
-
"version": "21.0.
|
|
3
|
+
"version": "21.0.1",
|
|
4
4
|
"description": "React components for Cucumber",
|
|
5
5
|
"main": "dist/src/index.js",
|
|
6
6
|
"types": "dist/src/index.d.ts",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"scripts": {
|
|
17
17
|
"prepare": "husky install && node generate-fixtures.js",
|
|
18
|
-
"compile": "tsc --project tsconfig.build.json && cpy 'src/**/*.
|
|
18
|
+
"compile": "tsc --project tsconfig.build.json && cpy 'src/**/*.scss' 'dist/src'",
|
|
19
19
|
"test": "jest",
|
|
20
20
|
"start": "ladle serve",
|
|
21
21
|
"build": "ladle build",
|