Skip to content

Commit

Permalink
Fix Styling
Browse files Browse the repository at this point in the history
  • Loading branch information
officiallygod committed Dec 20, 2023
1 parent b044a9e commit aed3e5a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ function useHTMLClass( className, isDarkMode ) {
const mainImage = new Image();
mainImage.src = AIImg;
mainImage.onload = () => {
console.log('Image Loaded!');
document.querySelector(
'.nfd-onboarding-skeleton--sitegen'
).style.background = isDarkMode ? `url('${ AIImg }')` : '#ededed';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,8 @@ html.nfd-interface-interface-skeleton__html-container {

&--sitegen {
background: var(--sitegen-background-low);
background-repeat: no-repeat;
background-size: cover;
background-repeat: no-repeat !important;
background-size: cover !important;

.nfd-interface-interface-skeleton__footer {
display: flex;
Expand Down
2 changes: 0 additions & 2 deletions src/OnboardingSPA/styles/_branding.scss
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,6 @@ body {
.nfd-onboarding-sitegen-light {

--sitegen-background-low: #ededed;
--sitegen-background: #ededed;
--nfd-onboarding-primary: #000;
--nfd-onboarding-primary-rgb: 0, 0, 0;
--nfd-onboarding-hover: #c3c4c7;
Expand Down Expand Up @@ -347,6 +346,5 @@ body {
--nfd-onboarding-favorite-fill: #ef4a71;
--nfd-onboarding-button-background: #363e4459;
--sitegen-background-low: url(../static/images/sitegen/ai_bg_low.png);
--sitegen-background: #ef4a71;
}
}

0 comments on commit aed3e5a

Please sign in to comment.