Skip to content

Commit

Permalink
feat: created the bg in svg, removed vue-m momentarily
Browse files Browse the repository at this point in the history
  • Loading branch information
prolazydev committed May 25, 2023
1 parent 5e7690f commit 3c5645d
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 13 deletions.
1 change: 0 additions & 1 deletion vue-m-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"preview": "vite preview"
},
"dependencies": {
"@prolazydev/vue-m": "^0.1.2",
"vue": "^3.2.47"
},
"devDependencies": {
Expand Down
11 changes: 11 additions & 0 deletions vue-m-web/src/assets/bg-square-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions vue-m-web/src/assets/bg-square-transparent.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions vue-m-web/src/assets/bg-square.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 5 additions & 12 deletions vue-m-web/src/style.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
:root {
--bg: linear-gradient(rgba(52, 52, 52, 0.1), rgba(52, 52, 52, 0.1)),
url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAIAAACRXR/mAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAABnSURBVHja7M5RDYAwDEXRDgmvEocnlrQS2SwUFST9uEfBGWs9c97nbGtDcquqiKhOImLs/UpuzVzWEi1atGjRokWLFi1atGjRokWLFi1atGjRokWLFi1af7Ukz8xWp8z8AAAA//8DAJ4LoEAAlL1nAAAAAElFTkSuQmCC")
repeat 0 0;
--bg: url('./assets/bg-square.svg');
--bg-dark: url('./assets/bg-square-dark.svg');
--bg-transparent: url('./assets/bg-square-transparent.svg');

/* --shadow-green: 2px 2px 0px #7bf09a;
--shadow-blue: 4px 4px 10em blue;
--shadow-red: 6px 6px 10em red; */
}

* {
Expand All @@ -32,11 +29,7 @@ body {

padding: 3rem;
background: var(--bg);
/* filter: li; */
background: var(--bg-dark);
background: var(--bg-transparent);
transition: transform, background, background-position 0.25s ease-out !important;
}

#app::before {
background: var(--bg);
filter: brightness(60%) invert(70%) opacity(20%);
}

0 comments on commit 3c5645d

Please sign in to comment.