Skip to content

Commit

Permalink
Fix a few rounded buttons (#12895)
Browse files Browse the repository at this point in the history
We missed a handful of round buttons in the homepage update, which
this change addresses. We also omitted one of the styling changes in
the original PR which was to make the CTA buttons less cartoonishly
large. Wasn't sure if that was intentional, but this adds it back.

Fixes #12793.
  • Loading branch information
joeduffy authored Sep 21, 2024
1 parent 06322fc commit b6446a7
Show file tree
Hide file tree
Showing 8 changed files with 36 additions and 102 deletions.
48 changes: 24 additions & 24 deletions assets/css/bundle.css

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions assets/css/marketing.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*!*********************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./node_modules/postcss-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[3]!./src/scss/_marketing.scss ***!
\*********************************************************************************************************************************************************************************************************************/
/*! tailwindcss v2.2.15 | MIT License | https://tailwindcss.com */

/*! modern-normalize v1.1.0 | MIT License | https://github.com/sindresorhus/modern-normalize */
Expand Down
67 changes: 1 addition & 66 deletions assets/js/bundle.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/js/marketing.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 1 addition & 7 deletions theme/src/scss/_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -97,21 +97,19 @@
@apply hidden;

@screen lg {
@apply flex items-center justify-center;
@apply flex items-center justify-center rounded-lg;
margin-left: 30px;
width: 136px;
height: 33px;
padding: 8px 16px;

border: 1px solid theme("colors.violet.600");
border-radius: 20px;
box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px rgba(0, 0, 0, 0.14), 0px 1px 5px rgba(0, 0, 0, 0.12);

&:hover,
&:active {
background: linear-gradient(90deg, #be5188 0%, #805ac3 100%) border-box;
border-color: transparent;
border-radius: 20px;
}
}
}
Expand Down Expand Up @@ -153,10 +151,6 @@
.header-btn-primary {
@include gradient-button;
@apply py-3 px-6;

@screen xl {
@apply text-lg;
}
}
}

Expand Down
4 changes: 2 additions & 2 deletions theme/src/scss/_hero.scss
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,11 @@

.home-hero-btn-primary {
@include gradient-button;
@apply py-4 px-12 text-lg;
@apply py-4 px-8;
}

.home-hero-btn-secondary {
@apply py-4 px-12 text-lg;
@apply py-4 px-8;
}

.home-page-hero-content {
Expand Down
4 changes: 2 additions & 2 deletions theme/src/scss/_hubspot.scss
Original file line number Diff line number Diff line change
Expand Up @@ -95,14 +95,14 @@
}

input {
@apply block py-3 px-4 rounded-full border;
@apply block py-3 px-4 rounded-lg border;

@screen md {
@apply w-56;
}

&.hs-button {
@apply block btn btn-lg btn border-none py-3 px-6 rounded-full w-auto bg-violet-600 ml-2;
@apply block btn btn-lg btn border-none py-3 px-6 rounded-lg w-auto bg-violet-600 ml-2;
}

&:focus {
Expand Down
3 changes: 2 additions & 1 deletion theme/src/scss/docs/_docs-top-nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,15 @@ nav.actually-docs {

div.get-started {
a.get-started-header-button {
@apply rounded-lg;

width: auto;
height: auto;
display: flex;
box-shadow: none;
color: #131314;
padding: 8px 16px;
border: 1px solid #805ac3;
border-radius: 20px;

&:hover {
color: #fff;
Expand Down

0 comments on commit b6446a7

Please sign in to comment.