base styles now buildable

This commit is contained in:
2025-09-04 23:03:37 +01:00
parent 5ed57ac818
commit a9d9ca717b
9 changed files with 66 additions and 1040 deletions

View File

@@ -23,7 +23,7 @@ export default async (app) => {
*
* @see {@link https://bud.js.org/reference/bud.setPublicPath}
*/
app.setPublicPath('/app/themes/sage/public/');
app.setPublicPath('/app/themes/badegg/public/');
/**
* Development server settings

View File

@@ -20,10 +20,10 @@
},
"devDependencies": {
"@roots/bud": "6.20.0",
"@roots/bud-sass": "6.20.0",
"@roots/sage": "6.20.0"
},
"dependencies": {
"@fortawesome/fontawesome-free": "^7.0.1",
"@roots/bud-sass": "^6.24.0"
"@fortawesome/fontawesome-free": "^7.0.1"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

View File

@@ -15,27 +15,6 @@ h6 {
margin-top: 0;
}
&.has-flourish {
position: relative;
&::before {
position: absolute;
top: 0;
left: 0;
content: '';
display: block;
width: 1em;
height: 1em;
mask-image: url("~/images/flourish-flipped.svg");
mask-repeat: no-repeat;
mask-size: contain;
background: $secondary;
transform: translate(-55%, -40%) rotate(270deg);
pointer-events: none;
font-size: 2em;
}
}
@media screen {
.knockout & {
color: $white;

View File

@@ -2,20 +2,10 @@
container-type: inline-size;
}
.wrapper,
.wrapper.section-has-angle {
.wrapper {
padding: 0;
}
.badegg-blocks {
.badegg-block {
&:last-of-type {
@extend .section-has-angle;
@extend .section-has-angle-bottom;
}
}
}
.brand {
display: block;
width: $brandWidth;

View File

@@ -0,0 +1,4 @@
export default function WYSIWYG()
{
}

View File

@@ -1,9 +1,13 @@
export default function Footer() {
const body = document.querySelector("body");
const footer = document.querySelector(".js-footer");
if(!footer) return;
const links = footer.querySelectorAll("a");
const currentURL = location.protocol + '//' + location.host + location.pathname;
links.forEach(link => {
const hash = link.hash;
const href = link.href;

View File

@@ -4,6 +4,8 @@ export default function Header() {
const menuToggle = document.querySelector(".js-menu-toggle");
const menuClose = document.querySelector(".js-menu-close");
if(!menuToggle) return;
menuToggle.addEventListener("click", (e) => {
e.preventDefault();
body.classList.toggle("menu-open");

File diff suppressed because it is too large Load Diff