Skip to content

Commit

Permalink
fix: prettier format
Browse files Browse the repository at this point in the history
  • Loading branch information
davidecarpini committed Nov 2, 2023
1 parent 51cae95 commit f5e85fc
Show file tree
Hide file tree
Showing 5 changed files with 59 additions and 57 deletions.
18 changes: 10 additions & 8 deletions packages/vanilla-wallet-kit/index.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
<!DOCTYPE html>

<html lang="en">
<head>
<title>Connect</title>
<meta charset="utf-8" />
<script type="module" src="./dist/index.js"></script>
</head>
<body>
<vwk-connect-button-with-modal mode="DARK"></vwk-connect-button-with-modal>
</body>
<head>
<title>Connect</title>
<meta charset="utf-8" />
<script type="module" src="./dist/index.js"></script>
</head>
<body>
<vwk-connect-button-with-modal
mode="DARK"
></vwk-connect-button-with-modal>
</body>
</html>
14 changes: 7 additions & 7 deletions packages/vanilla-wallet-kit/src/assets/icons/close.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
import {html, svg} from 'lit';
import { html, svg } from 'lit';

export const CloseSvg = svg`
<path
d="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z" />
`;

export const LightCloseSvg = html`
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#777777">
${CloseSvg}
</svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#777777">
${CloseSvg}
</svg>
`;
export const DarkCloseSvg = html`
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#999999">
${CloseSvg}
</svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#999999">
${CloseSvg}
</svg>
`;
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import {css} from 'lit';
import { css } from 'lit';

export const Colors = {
White: css`#ffffff`,
LightGray: css`#f2f2f7`,
Gray: css`#888888`,
DarkGrey: css`#333333`,
Dark: css`#222222`,
White: css`#ffffff`,
LightGray: css`#f2f2f7`,
Gray: css`#888888`,
DarkGrey: css`#333333`,
Dark: css`#222222`,
};
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
export const ThemeMode = {
Light: 'LIGHT',
Dark: 'DARK',
Light: 'LIGHT',
Dark: 'DARK',
};

export const Theme = {
Default: 'DEFAULT',
Default: 'DEFAULT',
};
66 changes: 33 additions & 33 deletions packages/vanilla-wallet-kit/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
{
"extends": "@vechain/repo-config/src/tsconfig/base.json",
"compilerOptions": {
"target": "es2021",
"module": "es2020",
"lib": ["es2021", "DOM", "DOM.Iterable"],
"declaration": true,
"declarationMap": true,
"sourceMap": true,
"inlineSources": true,
"outDir": "./dist",
"rootDir": "./src",
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"noImplicitAny": true,
"noImplicitThis": true,
"moduleResolution": "node",
"allowSyntheticDefaultImports": true,
"experimentalDecorators": true,
"forceConsistentCasingInFileNames": true,
"noImplicitOverride": true,
"plugins": [
{
"name": "ts-lit-plugin",
"strict": true
}
],
"types": ["mocha"]
},
"include": ["src/**/*.ts"],
"exclude": []
"extends": "@vechain/repo-config/src/tsconfig/base.json",
"compilerOptions": {
"target": "es2021",
"module": "es2020",
"lib": ["es2021", "DOM", "DOM.Iterable"],
"declaration": true,
"declarationMap": true,
"sourceMap": true,
"inlineSources": true,
"outDir": "./dist",
"rootDir": "./src",
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"noImplicitAny": true,
"noImplicitThis": true,
"moduleResolution": "node",
"allowSyntheticDefaultImports": true,
"experimentalDecorators": true,
"forceConsistentCasingInFileNames": true,
"noImplicitOverride": true,
"plugins": [
{
"name": "ts-lit-plugin",
"strict": true
}
],
"types": ["mocha"]
},
"include": ["src/**/*.ts"],
"exclude": []
}

0 comments on commit f5e85fc

Please sign in to comment.