Skip to content

Commit

Permalink
feat: implement header styles for builder-io (#1497)
Browse files Browse the repository at this point in the history
## Description

## References
### Jira-link:
<!-- Put link to your task in Jira here -->
https://virtocommerce.atlassian.net/browse/VCST-2202
### Artifact URL:

https://vc3prerelease.blob.core.windows.net/packages/vc-theme-b2b-vue-2.12.0-pr-1497-3ed4-3ed492d7.zip
  • Loading branch information
goldenmaya authored Dec 17, 2024
1 parent b5f49c1 commit 684a647
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 6 deletions.
6 changes: 0 additions & 6 deletions client-app/assets/styles/preflight.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,6 @@
body {
@apply text-[--body-text-color];
}

.builder-block {
.vc-container {
--body-bg-color: transparent;
}
}
}

/* Chrome, Safari, Edge, Opera */
Expand Down
1 change: 1 addition & 0 deletions client-app/assets/styles/vendors.scss
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
@use "vendors/swiper";
@use "vendors/builder-io";
49 changes: 49 additions & 0 deletions client-app/assets/styles/vendors/_builder-io.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
.builder-block {
.vc-container {
--body-bg-color: transparent;
}

h1 {
@apply text-2xl tracking-wide font-bold uppercase;

@media (min-width: theme("screens.lg")) {
@apply text-3xl;
}
}

h2 {
@apply text-xl tracking-wide font-bold uppercase;

@media (min-width: theme("screens.lg")) {
@apply text-2xl;
}
}

h3 {
@apply text-lg tracking-wide font-bold uppercase;

@media (min-width: theme("screens.lg")) {
@apply text-xl;
}
}

h4 {
@apply text-base font-bold uppercase;

@media (min-width: theme("screens.lg")) {
@apply text-lg;
}
}

h5 {
@apply text-base font-bold uppercase;
}

h6 {
@apply text-base font-bold uppercase;
}

p {
@apply text-base;
}
}

0 comments on commit 684a647

Please sign in to comment.