Skip to content

Commit a40fd5d

Browse files
committed
style: format code.
1 parent d0522a8 commit a40fd5d

19 files changed

+190
-155
lines changed

.kktrc.ts

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import path from 'path';
2-
import webpack, {Configuration} from 'webpack';
2+
import webpack, { Configuration } from 'webpack';
33
import { LoaderConfOptions } from 'kkt';
44
import lessModules from '@kkt/less-modules';
55
import rawModules from '@kkt/raw-modules';
@@ -12,24 +12,23 @@ export default (conf: Configuration, env: 'production' | 'development', options:
1212
conf = lessModules(conf, env, options);
1313
conf = scopePluginOptions(conf, env, {
1414
...options,
15-
allowedFiles: [
16-
path.resolve(process.cwd(), 'README.md'),
17-
path.resolve(process.cwd(), 'src'),
18-
]
15+
allowedFiles: [path.resolve(process.cwd(), 'README.md'), path.resolve(process.cwd(), 'src')],
1916
});
2017
// Get the project version.
21-
conf.plugins!.push(new webpack.DefinePlugin({
22-
VERSION: JSON.stringify(pkg.version),
23-
}));
24-
18+
conf.plugins!.push(
19+
new webpack.DefinePlugin({
20+
VERSION: JSON.stringify(pkg.version),
21+
}),
22+
);
23+
2524
if (env === 'production') {
2625
conf.optimization = {
2726
...conf.optimization,
2827
splitChunks: {
29-
chunks: 'all', // async对异步引入的代码分割 initial 对同步引入代码分割 all对同步异步引入的分割都开启
28+
chunks: 'all', // async对异步引入的代码分割 initial 对同步引入代码分割 all对同步异步引入的分割都开启
3029
minSize: 30000, // 字节 引入的文件大于30kb才进行分割
31-
minChunks: 1, // 模块至少使用次数
32-
maxAsyncRequests: 30, // 同时加载的模块数量最多是_个,只分割出同时引入的前_个文件(按需加载模块)
30+
minChunks: 1, // 模块至少使用次数
31+
maxAsyncRequests: 30, // 同时加载的模块数量最多是_个,只分割出同时引入的前_个文件(按需加载模块)
3332
maxInitialRequests: 25, // 首页加载的时候引入的文件最多 _ 个(加载初始页面)
3433
automaticNameDelimiter: '~', // 缓存组和生成文件名称之间的连接符
3534
cacheGroups: {
@@ -79,11 +78,11 @@ export default (conf: Configuration, env: 'production' | 'development', options:
7978
test: /[\\/]node_modules[\\/](@babel\/runtime|@babel\/plugin-transform-classes|babel-plugin-transform-remove-imports)[\\/]/,
8079
priority: -5,
8180
},
82-
}
83-
}
84-
}
81+
},
82+
},
83+
};
8584
conf.output = { ...conf.output, publicPath: './' };
8685
}
8786

8887
return conf;
89-
}
88+
};

README.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
React Code Preview
2-
---
1+
## React Code Preview
2+
33
<!--dividing-->
44

55
[![Build & Deploy](https://github.com/uiwjs/react-code-preview/workflows/Build%20&%20Deploy/badge.svg)](https://github.com/uiwjs/react-code-preview/actions)
@@ -25,8 +25,8 @@ npm install @uiw/react-code-preview --save
2525
[![Open in CodeSandbox](https://img.shields.io/badge/Open%20in-CodeSandbox-blue?logo=codesandbox)](https://codesandbox.io/embed/polished-surf-t6ro9?fontsize=14&hidenavigation=1&theme=dark)
2626

2727
```jsx
28-
import Button from "@uiw/react-button";
29-
import CodePreview from "@uiw/react-code-preview";
28+
import Button from '@uiw/react-button';
29+
import CodePreview from '@uiw/react-code-preview';
3030

3131
const code = `import Button from '@uiw/react-button';
3232
ReactDOM.render(
@@ -139,11 +139,14 @@ type CodeSandboxProps = React.FormHTMLAttributes<HTMLFormElement> & {
139139
/**
140140
* Parameters used to define how the sandbox should be created.
141141
*/
142-
files?: Record<string, {
143-
content?: string | Record<string, any>;
144-
isBinary?: boolean;
145-
}>;
146-
}
142+
files?: Record<
143+
string,
144+
{
145+
content?: string | Record<string, any>;
146+
isBinary?: boolean;
147+
}
148+
>;
149+
};
147150
```
148151

149152
## Development

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"watch": "tsbb watch & npm run css:watch",
1414
"build": "tsbb build && npm run css:build && npm run css:build:dist",
1515
"test": "tsbb test --env=jsdom",
16-
"coverage": "tsbb test --env=jsdom --coverage",
16+
"coverage": "tsbb test --env=jsdom --coverage --bail",
1717
"css:build": "compile-less -d src -o esm",
1818
"css:watch": "compile-less -d src -o esm --watch",
1919
"css:build:dist": "compile-less -d src --combine dist.css --rm-global",

public/index.html

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
<!DOCTYPE html>
22
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
7+
<title>React Code Preview</title>
8+
<meta name="description" content="Code edit preview for React." />
9+
</head>
310

4-
<head>
5-
<meta charset="UTF-8">
6-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7-
<meta http-equiv="X-UA-Compatible" content="ie=edge">
8-
<title>React Code Preview</title>
9-
<meta name="description" content="Code edit preview for React.">
10-
</head>
11-
12-
<body>
13-
<div id="root"></div>
14-
</body>
15-
11+
<body>
12+
<div id="root"></div>
13+
</body>
1614
</html>

renovate.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
{
2-
"extends": [
3-
"config:base"
4-
]
2+
"extends": ["config:base"]
53
}

src/ErrorMessage.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { useMemo } from "react";
1+
import { useMemo } from 'react';
22

33
interface ErrorMessageProps {
44
message?: string;
@@ -12,6 +12,6 @@ export function ErrorMessage(props: ErrorMessageProps) {
1212
<pre>
1313
<code>{message}</code>
1414
</pre>
15-
)
15+
);
1616
}, [message]);
17-
}
17+
}

src/ThirdPartyButton.less

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@w-code-preview: ~"w-code-preview";
1+
@w-code-preview: ~'w-code-preview';
22

33
.@{w-code-preview} {
44
&-thirdparty + &-thirdparty {
@@ -24,10 +24,10 @@
2424
cursor: pointer;
2525
padding: 3px 4px 3px 4px;
2626
border-radius: 3px;
27-
transition: color .3s;
28-
color: rgba(0, 0, 0, .45);
27+
transition: color 0.3s;
28+
color: rgba(0, 0, 0, 0.45);
2929
&:hover {
30-
color: rgba(0, 0, 0, .85);
30+
color: rgba(0, 0, 0, 0.85);
3131
}
3232
svg {
3333
fill: currentColor;
@@ -37,4 +37,4 @@
3737
}
3838
}
3939
}
40-
}
40+
}

src/ThirdPartyButton.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ type ThirdPartyButtonProps = {
88
prefixCls?: string;
99
codePenOption?: CodePreviewProps['codePenOption'];
1010
codeSandboxOption?: CodeSandboxProps;
11-
}
11+
};
1212

1313
const ThirdPartyButton: React.FC<ThirdPartyButtonProps> = (props) => {
1414
const { codePenOption, codeSandboxOption, prefixCls } = props || {};
@@ -17,7 +17,7 @@ const ThirdPartyButton: React.FC<ThirdPartyButtonProps> = (props) => {
1717
let include = (includeModule || []).join('|');
1818
otherCodePenOptions.js = otherCodePenOptions.js.replace(/import([\s\S]*?)(?=['"])['"].*['"]( *;|;)?/gm, (str) => {
1919
// eslint-disable-next-line no-useless-escape
20-
if(include && (new RegExp(`from\\s+['"](${include})['"](\s.+)?;?`)).test(str)) {
20+
if (include && new RegExp(`from\\s+['"](${include})['"](\s.+)?;?`).test(str)) {
2121
return str;
2222
}
2323
return `/** ${str} **/`;
@@ -28,19 +28,19 @@ const ThirdPartyButton: React.FC<ThirdPartyButtonProps> = (props) => {
2828
{codePenOption && (
2929
<Codepen {...otherCodePenOptions}>
3030
<svg height="12" fill="currentColor" viewBox="0 0 69 69">
31-
<path d="M68.974125,23.6022271 C68.9669375,23.556228 68.956875,23.5159788 68.951125,23.4728545 C68.9369583,23.3892382 68.9192128,23.3062677 68.8979375,23.2241717 C68.885,23.1752977 68.8663125,23.127861 68.8505,23.0804244 C68.8278442,23.0077868 68.8029153,22.9358778 68.77575,22.8648035 C68.7562939,22.8157401 68.7342205,22.7677555 68.709625,22.7210562 C68.6804108,22.6530301 68.6463004,22.5872128 68.6075625,22.5241224 C68.5816874,22.4766857 68.5515,22.4321241 68.52275,22.386125 C68.4142531,22.2169066 68.2885197,22.0593814 68.1475625,21.9160713 C68.10875,21.8772595 68.0728125,21.8355728 68.0325625,21.8010735 C67.9775701,21.7523865 67.9214935,21.704938 67.864375,21.6587636 C67.818375,21.6242643 67.77525,21.589765 67.72925,21.5581406 L67.680375,21.5207662 L36.1445,0.497723998 C35.1485978,-0.165907999 33.8514022,-0.165907999 32.8555,0.497723998 L1.32106248,21.5207662 L1.27218748,21.5581406 C1.16574994,21.6321432 1.06485681,21.713817 0.970312494,21.8025109 C0.928625004,21.8355728 0.891249961,21.8772595 0.850999999,21.9160713 C0.800687478,21.9678203 0.750375025,22.0224443 0.704374952,22.0770683 C0.618968308,22.1722554 0.543358166,22.275796 0.47868744,22.386125 L0.392437472,22.5241224 C0.355916851,22.587711 0.322339729,22.6529454 0.291812498,22.7196187 C0.235417041,22.8356642 0.187844895,22.9557936 0.149499967,23.0789869 C0.133687434,23.127861 0.11643744,23.1752977 0.103499962,23.2241717 C0.0819374527,23.3046702 0.0675624468,23.3880436 0.0517499808,23.4728545 C0.0431249503,23.5159787 0.0330624597,23.5562279 0.0273124842,23.6022271 C0.0114999508,23.7272873 0,23.8566599 0,23.9874699 L0,45.0105121 C0,45.1398847 0.0115000182,45.2692572 0.0287499444,45.3986298 C0.0330624597,45.4403165 0.0431249503,45.4834407 0.0517499808,45.5265649 C0.0661249867,45.6113758 0.0819374527,45.6918743 0.103499962,45.7752478 C0.11643744,45.8241218 0.133687434,45.8715585 0.149499967,45.918995 C0.172499936,45.9908687 0.195499972,46.0627423 0.227124972,46.1360534 C0.245812493,46.1849275 0.27024999,46.2309267 0.290374971,46.2798007 C0.323437498,46.3459245 0.355062497,46.4106108 0.392437472,46.478172 C0.421187484,46.5227337 0.448499968,46.5687328 0.47868744,46.6132945 C0.585037244,46.7827707 0.710436736,46.9395172 0.852437459,47.0804732 C0.979968483,47.2145679 1.12112666,47.3350078 1.27362494,47.4398414 L1.32106248,47.4786532 L32.8555,68.5016954 C33.8511677,69.1661015 35.1488322,69.1661015 36.1445,68.5016954 L67.680375,47.4786532 L67.72925,47.4412789 C67.77525,47.4096545 67.818375,47.3751552 67.864375,47.3406558 C67.9215088,47.2940078 67.9775854,47.2460798 68.0325625,47.1969085 C68.0728125,47.1609716 68.10875,47.1221599 68.1475625,47.0819107 C68.2902677,46.9406867 68.4161661,46.7834372 68.52275,46.6132945 C68.5515,46.5672953 68.5816874,46.5227337 68.6075625,46.478172 C68.646375,46.4106108 68.6794375,46.3459245 68.7081875,46.2798007 C68.732625,46.2309267 68.7570625,46.1849275 68.77575,46.1360534 C68.8045,46.0641798 68.8275,45.9908687 68.8505,45.918995 C68.8663125,45.8715584 68.885,45.8241218 68.8979375,45.7752478 C68.9195,45.6918743 68.9353125,45.6113759 68.951125,45.5265649 C68.956875,45.4834407 68.9669375,45.4403165 68.974125,45.4000673 C68.991375,45.2706947 69,45.1413222 69,45.0119496 L69,23.9889074 C69,23.8566599 68.991375,23.7272873 68.974125,23.6022271 Z M38,9 L61,24.1907448 L50.7281277,31 L38.0014231,22.5649276 L38.0014231,9 L38,9 Z M30.997154,9 L30.997154,22.5649276 L18.2740828,31 L8,24.1907448 L31,9 L30.997154,9 Z M6,29 L13,34 L6,39 L6,29 L6,29 Z M31,60 L8,44.8082815 L18.2732954,38 L30.9971538,46.434203 L30.9971538,60 L31,60 Z M34.4985607,41 L24,34 L34.4985607,27 L45,34 L34.4985607,41 Z M38,60 L38,46.4333333 L50.7268564,38 L61,44.8073077 L38,60 L38,60 Z M63,39 L56,34 L63,29 L63,39 L63,39 Z"/>
31+
<path d="M68.974125,23.6022271 C68.9669375,23.556228 68.956875,23.5159788 68.951125,23.4728545 C68.9369583,23.3892382 68.9192128,23.3062677 68.8979375,23.2241717 C68.885,23.1752977 68.8663125,23.127861 68.8505,23.0804244 C68.8278442,23.0077868 68.8029153,22.9358778 68.77575,22.8648035 C68.7562939,22.8157401 68.7342205,22.7677555 68.709625,22.7210562 C68.6804108,22.6530301 68.6463004,22.5872128 68.6075625,22.5241224 C68.5816874,22.4766857 68.5515,22.4321241 68.52275,22.386125 C68.4142531,22.2169066 68.2885197,22.0593814 68.1475625,21.9160713 C68.10875,21.8772595 68.0728125,21.8355728 68.0325625,21.8010735 C67.9775701,21.7523865 67.9214935,21.704938 67.864375,21.6587636 C67.818375,21.6242643 67.77525,21.589765 67.72925,21.5581406 L67.680375,21.5207662 L36.1445,0.497723998 C35.1485978,-0.165907999 33.8514022,-0.165907999 32.8555,0.497723998 L1.32106248,21.5207662 L1.27218748,21.5581406 C1.16574994,21.6321432 1.06485681,21.713817 0.970312494,21.8025109 C0.928625004,21.8355728 0.891249961,21.8772595 0.850999999,21.9160713 C0.800687478,21.9678203 0.750375025,22.0224443 0.704374952,22.0770683 C0.618968308,22.1722554 0.543358166,22.275796 0.47868744,22.386125 L0.392437472,22.5241224 C0.355916851,22.587711 0.322339729,22.6529454 0.291812498,22.7196187 C0.235417041,22.8356642 0.187844895,22.9557936 0.149499967,23.0789869 C0.133687434,23.127861 0.11643744,23.1752977 0.103499962,23.2241717 C0.0819374527,23.3046702 0.0675624468,23.3880436 0.0517499808,23.4728545 C0.0431249503,23.5159787 0.0330624597,23.5562279 0.0273124842,23.6022271 C0.0114999508,23.7272873 0,23.8566599 0,23.9874699 L0,45.0105121 C0,45.1398847 0.0115000182,45.2692572 0.0287499444,45.3986298 C0.0330624597,45.4403165 0.0431249503,45.4834407 0.0517499808,45.5265649 C0.0661249867,45.6113758 0.0819374527,45.6918743 0.103499962,45.7752478 C0.11643744,45.8241218 0.133687434,45.8715585 0.149499967,45.918995 C0.172499936,45.9908687 0.195499972,46.0627423 0.227124972,46.1360534 C0.245812493,46.1849275 0.27024999,46.2309267 0.290374971,46.2798007 C0.323437498,46.3459245 0.355062497,46.4106108 0.392437472,46.478172 C0.421187484,46.5227337 0.448499968,46.5687328 0.47868744,46.6132945 C0.585037244,46.7827707 0.710436736,46.9395172 0.852437459,47.0804732 C0.979968483,47.2145679 1.12112666,47.3350078 1.27362494,47.4398414 L1.32106248,47.4786532 L32.8555,68.5016954 C33.8511677,69.1661015 35.1488322,69.1661015 36.1445,68.5016954 L67.680375,47.4786532 L67.72925,47.4412789 C67.77525,47.4096545 67.818375,47.3751552 67.864375,47.3406558 C67.9215088,47.2940078 67.9775854,47.2460798 68.0325625,47.1969085 C68.0728125,47.1609716 68.10875,47.1221599 68.1475625,47.0819107 C68.2902677,46.9406867 68.4161661,46.7834372 68.52275,46.6132945 C68.5515,46.5672953 68.5816874,46.5227337 68.6075625,46.478172 C68.646375,46.4106108 68.6794375,46.3459245 68.7081875,46.2798007 C68.732625,46.2309267 68.7570625,46.1849275 68.77575,46.1360534 C68.8045,46.0641798 68.8275,45.9908687 68.8505,45.918995 C68.8663125,45.8715584 68.885,45.8241218 68.8979375,45.7752478 C68.9195,45.6918743 68.9353125,45.6113759 68.951125,45.5265649 C68.956875,45.4834407 68.9669375,45.4403165 68.974125,45.4000673 C68.991375,45.2706947 69,45.1413222 69,45.0119496 L69,23.9889074 C69,23.8566599 68.991375,23.7272873 68.974125,23.6022271 Z M38,9 L61,24.1907448 L50.7281277,31 L38.0014231,22.5649276 L38.0014231,9 L38,9 Z M30.997154,9 L30.997154,22.5649276 L18.2740828,31 L8,24.1907448 L31,9 L30.997154,9 Z M6,29 L13,34 L6,39 L6,29 L6,29 Z M31,60 L8,44.8082815 L18.2732954,38 L30.9971538,46.434203 L30.9971538,60 L31,60 Z M34.4985607,41 L24,34 L34.4985607,27 L45,34 L34.4985607,41 Z M38,60 L38,46.4333333 L50.7268564,38 L61,44.8073077 L38,60 L38,60 Z M63,39 L56,34 L63,29 L63,39 L63,39 Z" />
3232
</svg>
3333
</Codepen>
3434
)}
3535
{codeSandboxOption && (
3636
<CodeSandbox {...codeSandboxOption}>
3737
<svg height="12" fill="currentColor" viewBox="0 0 69 69">
38-
<path d="M32,38.2764838 L11,24 L11,35.7160031 L22.0526316,43.2306536 L22.0526316,54.3200601 L32,60 L32,38.2764838 Z M38,38.2764838 L38,60 L47.9473684,54.3200601 L47.9473684,43.2306536 L59,35.7160031 L59,24 L38,38.2764838 Z M46.296506,13 L35.5021904,21.0761293 L24.7078748,13.004586 L15,18.6913552 L35.5021904,33 L56,18.6913552 L46.296506,13.004586 L46.296506,13 Z M37.1676303,0.571217481 L63.7371606,15.5989936 C65.1342563,16.3900364 66,17.8813846 66,19.4990592 L66,49.4964682 C66.0011469,51.1157433 65.1356391,52.6091811 63.7371606,53.4010064 L37.1676303,68.4287825 C35.8224939,69.1904058 34.1819333,69.1904058 32.8367968,68.4287825 L6.26726663,53.4010064 C4.86707992,52.6103421 4,51.1166819 4,49.4964682 L4,19.4990592 C4,17.8813846 4.86574257,16.3900364 6.26283836,15.5989936 L32.8323686,0.571217481 C34.1775051,-0.190405827 35.8180656,-0.190405827 37.1632021,0.571217481 L37.1676303,0.571217481 Z"/>
38+
<path d="M32,38.2764838 L11,24 L11,35.7160031 L22.0526316,43.2306536 L22.0526316,54.3200601 L32,60 L32,38.2764838 Z M38,38.2764838 L38,60 L47.9473684,54.3200601 L47.9473684,43.2306536 L59,35.7160031 L59,24 L38,38.2764838 Z M46.296506,13 L35.5021904,21.0761293 L24.7078748,13.004586 L15,18.6913552 L35.5021904,33 L56,18.6913552 L46.296506,13.004586 L46.296506,13 Z M37.1676303,0.571217481 L63.7371606,15.5989936 C65.1342563,16.3900364 66,17.8813846 66,19.4990592 L66,49.4964682 C66.0011469,51.1157433 65.1356391,52.6091811 63.7371606,53.4010064 L37.1676303,68.4287825 C35.8224939,69.1904058 34.1819333,69.1904058 32.8367968,68.4287825 L6.26726663,53.4010064 C4.86707992,52.6103421 4,51.1166819 4,49.4964682 L4,19.4990592 C4,17.8813846 4.86574257,16.3900364 6.26283836,15.5989936 L32.8323686,0.571217481 C34.1775051,-0.190405827 35.8180656,-0.190405827 37.1632021,0.571217481 L37.1676303,0.571217481 Z" />
3939
</svg>
4040
</CodeSandbox>
4141
)}
4242
</div>
4343
);
44-
}
44+
};
4545

4646
export default ThirdPartyButton;

src/icon.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export const bgPlaid = (
1515
</pattern>
1616
<rect fill="url(#pattern)" x="0" y="0" width="100%" height="100%" />
1717
</svg>
18-
)
18+
);
1919

2020
export const copy = (
2121
<svg viewBox="0 0 1024 1024">

src/index.less

Lines changed: 24 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@w-code-preview:~"w-code-preview";
1+
@w-code-preview:~ "w-code-preview";
22

33
.@{w-code-preview} {
44
&.w-split-horizontal > .w-split-bar {
@@ -35,21 +35,36 @@
3535
margin: initial;
3636
vertical-align: initial;
3737
}
38-
blockquote, details, dl, ol, p, pre, table, ul {
38+
blockquote,
39+
details,
40+
dl,
41+
ol,
42+
p,
43+
pre,
44+
table,
45+
ul {
3946
margin-bottom: initial;
4047
margin-top: initial;
4148
}
42-
pre, code, tt {
49+
pre,
50+
code,
51+
tt {
4352
font-family: inherit;
4453
}
4554
img {
4655
max-width: initial;
4756
}
48-
h1, h2 {
57+
h1,
58+
h2 {
4959
border-bottom: initial;
5060
padding-bottom: initial;
5161
}
52-
h1, h2, h3, h4, h5, h6 {
62+
h1,
63+
h2,
64+
h3,
65+
h4,
66+
h5,
67+
h6 {
5368
font-weight: initial;
5469
line-height: initial;
5570
margin-bottom: initial;
@@ -121,7 +136,7 @@
121136
&-btn {
122137
overflow: hidden;
123138
padding: 5px 0;
124-
transition: all .3s;
139+
transition: all 0.3s;
125140
user-select: none;
126141
flex: 1;
127142
&:hover {
@@ -136,14 +151,15 @@
136151
line-height: 22px;
137152
}
138153
svg {
139-
transition: all .3s;
154+
transition: all 0.3s;
140155
fill: #9c9c9c;
141156
display: block;
142157
&:hover {
143158
fill: #000;
144159
}
145160
}
146-
&-copied svg, &-copied svg:hover {
161+
&-copied svg,
162+
&-copied svg:hover {
147163
fill: #28a745;
148164
}
149165
}

0 commit comments

Comments
 (0)