Skip to content

Commit

Permalink
style: formatting code
Browse files Browse the repository at this point in the history
  • Loading branch information
LeifXu committed May 15, 2024
1 parent b201f6c commit f87ac8b
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 52 deletions.
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@ src/specialFile.js
# Ignore git submodule
pnpm-lock.yaml


.github
src/locales/**
84 changes: 39 additions & 45 deletions cspell.json
Original file line number Diff line number Diff line change
@@ -1,46 +1,40 @@
{
"version": "0.1",
"language": "en",
"words": [
"immer",
"Merkle",
"sepolia",
"urlcat",
"zustand"
],
"ignoreWords": [
"Lingui",
"lingui",
"rainbowkit",
"viem",
"Wagmi",
"wagmi",
"rabby",
"multicall",
"Chakra",
"chakra",
"svgr",
"Segoe",
"fontsource",
"tablist",
"Roboto"
],
"flagWords": [],
"ignorePaths": [
"pnpm-lock.yaml",
"package.json",
"cspell.json",
"tsconfig.tsbuildinfo",
"node_modules/**",
"dist/**",
"build/**",
".next/**",
"public/**",
"src/assets/**",
"src/locales/**",
"tests/**",
"src/routeTree.gen.ts",
"src/abis/**"
],
"overrides": []
}
"version": "0.1",
"language": "en",
"words": ["immer", "Merkle", "sepolia", "urlcat", "zustand"],
"ignoreWords": [
"Lingui",
"lingui",
"rainbowkit",
"viem",
"Wagmi",
"wagmi",
"rabby",
"multicall",
"Chakra",
"chakra",
"svgr",
"Segoe",
"fontsource",
"tablist",
"Roboto"
],
"flagWords": [],
"ignorePaths": [
"pnpm-lock.yaml",
"package.json",
"cspell.json",
"tsconfig.tsbuildinfo",
"node_modules/**",
"dist/**",
"build/**",
".next/**",
"public/**",
"src/assets/**",
"src/locales/**",
"tests/**",
"src/routeTree.gen.ts",
"src/abis/**"
],
"overrides": []
}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"lingui:extract": "NODE_ENV=development lingui extract --clean",
"lingui": "pnpm run lingui:extract && pnpm run lingui:compile",
"test": "vitest",
"cspell:check": "npx cspell \"**/*\""
"cspell:check": "npx cspell \"**/*\"",
"prettier": "npx prettier . -w"
},
"dependencies": {
"@chakra-ui/react": "^2.8.2",
Expand Down
17 changes: 11 additions & 6 deletions src/styles/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,17 @@
.gradient-border {
--border-radius: 10px;
--border-width: 1px;
--border-color: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.3));
--border-color: linear-gradient(
45deg,
rgba(255, 255, 255, 0.1),
rgba(255, 255, 255, 0.3)
);
position: relative;
border-radius: var(--border-radius);
}

.gradient-border::after{
content: "";
.gradient-border::after {
content: '';
position: absolute;
left: 0;
top: 0;
Expand All @@ -40,10 +44,11 @@
}

::selection {
background: #7280FE;
background: #7280fe;
color: white;
}

button, *:active {
button,
*:active {
-webkit-tap-highlight-color: transparent;
}
}

0 comments on commit f87ac8b

Please sign in to comment.