minify assets

This commit is contained in:
2024-05-03 13:10:06 -04:00
parent 6f06b603d4
commit 6a1ef23531
5 changed files with 6 additions and 3565 deletions

File diff suppressed because one or more lines are too long

View File

@@ -9,9 +9,9 @@
"wp-build": "wp-scripts build --webpack-no-externals --output-path=assets/js", "wp-build": "wp-scripts build --webpack-no-externals --output-path=assets/js",
"wp-start": "wp-scripts start --webpack-no-externals --output-path=assets/js", "wp-start": "wp-scripts start --webpack-no-externals --output-path=assets/js",
"tailwind-watch": "npx tailwindcss -i ./src/styles/vendors/tailwind/_source.scss -o ./src/styles/vendors/tailwind/_tailwind.scss --watch", "tailwind-watch": "npx tailwindcss -i ./src/styles/vendors/tailwind/_source.scss -o ./src/styles/vendors/tailwind/_tailwind.scss --watch",
"tailwind-build": "npx tailwindcss -i ./src/styles/vendors/tailwind/_source.scss -o ../src/styles/vendors/tailwind/_tailwind.scss --minify", "tailwind-build": "npx tailwindcss -i ./src/styles/vendors/tailwind/_source.scss -o ./src/styles/vendors/tailwind/_tailwind.scss",
"sass-dev": "npx sass --watch --no-source-map ./src/styles/styles.scss:./assets/css/styles.css", "sass-dev": "npx sass --watch --no-source-map ./src/styles/styles.scss:./assets/css/styles.css",
"sass-prod": "npx sass --no-source-map ./src/styles/styles.scss:./assets/css/styles.css", "sass-prod": "npx sass --style=compressed --no-source-map ./src/styles/styles.scss:./assets/css/styles.css",
"dev": "npm-run-all --parallel wp-start tailwind-watch sass-dev sync", "dev": "npm-run-all --parallel wp-start tailwind-watch sass-dev sync",
"prod": "npm-run-all --sequential tailwind-build sass-prod wp-build", "prod": "npm-run-all --sequential tailwind-build sass-prod wp-build",
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1"

View File

@@ -1,5 +1,5 @@
#reliable-software-section { #reliable-software-section {
background-image: url('https://harplabs.test/wp-content/uploads/2017/12/c2-1.jpg'); background-image: url('/wp-content/uploads/2017/12/c2-1.jpg');
background-size: cover; background-size: cover;
background-position: center; background-position: center;
background-color: var(--gray-500); background-color: var(--gray-500);

View File

@@ -48,7 +48,7 @@ Legend:
#login h1 a, #login h1 a,
.login h1 a { .login h1 a {
background-image: url('../images/logos/harplabs-login-logo.png'); background-image: url('/wp-content/themes/theme-starter-theme/assets/images/logos/harplabs-login-logo.png');
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: center center; background-position: center center;
background-size: 250px; background-size: 250px;
@@ -102,7 +102,7 @@ body.login {
justify-content: center; justify-content: center;
background-size: cover; background-size: cover;
background-position: center center; background-position: center center;
background-image: url('../images/bgs/harplabsbg.png'); background-image: url('/wp-content/themes/theme-starter-theme/assets/images/bgs/harplabsbg.png');
background-color: var(--gray-500); background-color: var(--gray-500);
background-blend-mode: multiply; background-blend-mode: multiply;
} }

View File

@@ -1332,10 +1332,6 @@ select {
right: 75%; right: 75%;
} }
.right-4 {
right: 1rem;
}
.top-0 { .top-0 {
top: 0px; top: 0px;
} }
@@ -2463,11 +2459,6 @@ html {
background-color: rgb(255 244 194 / var(--tw-bg-opacity)); background-color: rgb(255 244 194 / var(--tw-bg-opacity));
} }
.hover\:bg-yellow-300:hover {
--tw-bg-opacity: 1;
background-color: rgb(255 204 51 / var(--tw-bg-opacity));
}
.focus\:z-10:focus { .focus\:z-10:focus {
z-index: 10; z-index: 10;
} }
@@ -2577,10 +2568,6 @@ html {
left: 0px; left: 0px;
} }
.md\:right-0 {
right: 0px;
}
.md\:order-last { .md\:order-last {
order: 9999; order: 9999;
} }
@@ -2621,10 +2608,6 @@ html {
width: 66.666667%; width: 66.666667%;
} }
.md\:w-44 {
width: 11rem;
}
.md\:max-w-2xl { .md\:max-w-2xl {
max-width: 42rem; max-width: 42rem;
} }
@@ -2661,11 +2644,6 @@ html {
margin-bottom: calc(0px * var(--tw-space-y-reverse)); margin-bottom: calc(0px * var(--tw-space-y-reverse));
} }
.md\:px-0 {
padding-left: 0px;
padding-right: 0px;
}
.md\:py-16 { .md\:py-16 {
padding-top: 4rem; padding-top: 4rem;
padding-bottom: 4rem; padding-bottom: 4rem;