Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,22 @@

</h3>

<h4 align="center">Create beautiful blob shapes with minimal code. </h4>
<h4 align="center">Generate beautiful blob shapes for web and flutter apps. </h4>

&nbsp;

<div class="highlight highlight-source-shell">
<pre>
<div align="center"><strong >Blobs App</strong></div>
<div align="center"><strong >Blobs Generator</strong></div>
<div align="center"><a align="center" href="https://blobs.app/">https://blobs.app/</a></div>
</pre>
</div>

### Preview

![frame2-iMac](https://user-images.githubusercontent.com/1754676/83411638-46b9ea80-a436-11ea-92b2-60ba4e845003.png)
![preview](https://user-images.githubusercontent.com/1754676/84493278-20f9d480-acc5-11ea-8667-ee0df8f35442.png)

![preview2](https://user-images.githubusercontent.com/1754676/84492711-3a4e5100-acc4-11ea-942c-37f9cd802fcf.png)

### Blobs for flutter

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "index.js",
"scripts": {
"build": "rm -rf build && NODE_ENV=production npm run build:css && webpack ---config ./config/webpack.prod.config.js",
"dev": "npm run watch:css && webpack-dev-server --config ./config/webpack.dev.config.js --open",
"dev": "npm run watch:css && webpack-dev-server --config ./config/webpack.prod.config.js --open",
"lint": "./node_modules/.bin/eslint --ext .js,.jsx src/",
"lint: fix": "./node_modules/.bin/eslint --ext .js,.jsx src/ --fix",
"build:css": "postcss src/assets/css/styles.css -o src/assets/css/main.css",
Expand Down Expand Up @@ -44,6 +44,7 @@
"clean-webpack-plugin": "^3.0.0",
"copy-webpack-plugin": "^6.0.1",
"css-loader": "^3.5.2",
"cssnano": "^4.1.10",
"eslint": "^6.8.0",
"eslint-config-airbnb": "^18.1.0",
"eslint-plugin-import": "^2.20.2",
Expand Down
8 changes: 7 additions & 1 deletion postcss.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
const tailwindcss = require("tailwindcss");
module.exports = {
plugins: [tailwindcss("./tailwind.config.js"), require("autoprefixer")],
plugins: [
tailwindcss("./tailwind.config.js"),
require("autoprefixer"),
require("cssnano")({
preset: "default",
}),
],
};
1 change: 1 addition & 0 deletions src/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ html body {

#blobSvg {
max-width: 500px;
overflow: visible;
}

.stroke {
Expand Down
Loading