-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Factor colors into CSS variables, add standalone example
- Loading branch information
1 parent
2f9989c
commit 671d32d
Showing
27 changed files
with
5,200 additions
and
512 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
book | ||
/src/quiz | ||
.aquascope-cache |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
module.exports = { | ||
"env": { | ||
"es2021": true | ||
}, | ||
"extends": [ | ||
"eslint:recommended" | ||
], | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { | ||
"ecmaVersion": 13, | ||
"sourceType": "module" | ||
}, | ||
"plugins": [ | ||
"@typescript-eslint", | ||
"prettier", | ||
"react" | ||
], | ||
"ignorePatterns": [ | ||
"*.d.ts" | ||
], | ||
"rules": { | ||
"no-empty-pattern": "off", | ||
"no-undef": "off", | ||
"no-unused-vars": "off", | ||
"no-cond-assign": "off", | ||
"@typescript-eslint/no-unused-vars": [ | ||
"error", | ||
{ | ||
"argsIgnorePattern": "^_", | ||
"varsIgnorePattern": "^_" | ||
} | ||
], | ||
"no-constant-condition": [ | ||
"error", | ||
{ | ||
"checkLoops": false | ||
} | ||
], | ||
"prettier/prettier": "error", | ||
"react/prop-types": "off", | ||
"react/no-unescaped-entities": "off" | ||
}, | ||
"settings": { | ||
"react": { | ||
"version": "detect" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
node_modules | ||
dist | ||
docs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
module.exports = { | ||
tabWidth: 2, | ||
arrowParens: "avoid", | ||
importOrder: ["<THIRD_PARTY_MODULES>", "^[./]"], | ||
importOrderSeparation: true, | ||
importOrderSortSpecifiers: true, | ||
parser: "typescript", | ||
plugins: [require("@trivago/prettier-plugin-sort-imports")], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<link href="/styles/index.scss" rel="stylesheet" type="text/css" /> | ||
</head> | ||
<body> | ||
<div id="root"></div> | ||
<script type="module" src="/src/index.tsx"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"name": "standalone", | ||
"version": "0.1.0", | ||
"type": "module", | ||
"depot": { | ||
"platform": "browser", | ||
"target": "site" | ||
}, | ||
"pnpm": { | ||
"overrides": { | ||
"rollup": "npm:@rollup/wasm-node" | ||
} | ||
}, | ||
"devDependencies": { | ||
"@iarna/toml": "^2.2.5", | ||
"@trivago/prettier-plugin-sort-imports": "^4.1", | ||
"@types/node": "^20.12.12", | ||
"@types/react": "^18.3.2", | ||
"@types/react-dom": "^18.3.0", | ||
"@typescript-eslint/eslint-plugin": "^7.9.0", | ||
"@typescript-eslint/parser": "^7.9.0", | ||
"@vitejs/plugin-react": "^4.2.1", | ||
"@wcrichto/quiz": "^0.2.16", | ||
"eslint": "^8.57.0", | ||
"eslint-plugin-prettier": "^4", | ||
"eslint-plugin-react": "^7.34.1", | ||
"eslint-plugin-react-hooks": "^4.6.2", | ||
"jsdom": "^24.0.0", | ||
"normalize.css": "^8.0.1", | ||
"prettier": "^2", | ||
"react": "^18.3.1", | ||
"react-dom": "^18.3.1", | ||
"sass": "^1.77.1", | ||
"typedoc": "^0.25.13", | ||
"typescript": "^5.4.5", | ||
"vite": "^5.2.11" | ||
} | ||
} |
Oops, something went wrong.