-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #594 from hogashi/tailwind
use Tailwind
- Loading branch information
Showing
9 changed files
with
1,239 additions
and
629 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
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 |
---|---|---|
@@ -1,11 +1,15 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<title>Options - twitter画像原寸ボタン</title> | ||
</head> | ||
<body> | ||
<div id="root"></div> | ||
<script src="../js/popup.bundle.js"></script> | ||
</body> | ||
</html> | ||
|
||
<head> | ||
<meta charset="utf-8" /> | ||
<title>Options - twitter画像原寸ボタン</title> | ||
<link rel="stylesheet" href="../css/popup.css" /> | ||
</head> | ||
|
||
<body> | ||
<div id="root"></div> | ||
<script src="../js/popup.bundle.js"></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 |
---|---|---|
|
@@ -5,8 +5,12 @@ | |
"author": "hogashi <[email protected]>", | ||
"license": "MIT", | ||
"scripts": { | ||
"build": "webpack --version && webpack --mode production", | ||
"build-dev": "webpack --version && webpack --mode development", | ||
"build:webpack": "webpack --version && webpack --mode production", | ||
"build:tailwindcss": "tailwindcss -i ./src/input.css -o ./dist/css/popup.css", | ||
"build": "run-p build:webpack build:tailwindcss", | ||
"watch:webpack": "webpack --version && webpack --mode production --watch", | ||
"watch:tailwindcss": "tailwindcss -i ./src/input.css -o ./dist/css/popup.css --watch", | ||
"watch": "run-p watch:webpack watch:tailwindcss", | ||
"lint": "biome check --apply-unsafe src __tests__", | ||
"format": "biome format --write src __tests__", | ||
"rome:fix": "run-s lint format", | ||
|
@@ -46,13 +50,15 @@ | |
"react-test-renderer": "17.0.2", | ||
"typescript": "5.3.2", | ||
"webpack": "5.89.0", | ||
"webpack-cli": "5.1.4" | ||
"webpack-cli": "5.1.4", | ||
"tailwindcss": "3.3.5" | ||
}, | ||
"dependencies": { | ||
"@babel/polyfill": "7.12.1", | ||
"@babel/runtime": "7.23.4", | ||
"@biomejs/biome": "1.4.0", | ||
"@material-ui/core": "4.12.4", | ||
"@headlessui/react": "^1.7.17", | ||
"@heroicons/react": "^2.0.18", | ||
"react": "17.0.2", | ||
"react-dom": "17.0.2" | ||
} | ||
|
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 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 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 @@ | ||
@tailwind base; | ||
@tailwind components; | ||
@tailwind utilities; |
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,8 @@ | ||
/** @type {import('tailwindcss').Config} */ | ||
module.exports = { | ||
content: ["./src/**/*.tsx"], | ||
theme: { | ||
extend: {}, | ||
}, | ||
plugins: [], | ||
} |
Oops, something went wrong.