Skip to content

Commit f880e01

Browse files
committed
minor #1344 [Site] Minor fixes (smnandre)
This PR was squashed before being merged into the 2.x branch. Discussion ---------- [Site] Minor fixes Remove 40kb glitchy background under hero (it was visible only on the homepage, in dark mode... and see pictures) Before light: ![before-light](https://github.com/symfony/ux/assets/1359581/71bf4bc4-5a22-499a-ad9d-d23f2e75f11f) Before dark: ![before](https://github.com/symfony/ux/assets/1359581/850a3441-f77f-4b21-a8c5-30cf8e96dc94) After dark ![after](https://github.com/symfony/ux/assets/1359581/4fd30d5c-0503-41c5-8a34-2d919dafe309) Also: * fix package box titles * improve copy button colors Commits ------- fa5f84c [Site] Minor fixes
2 parents 5aa4008 + fa5f84c commit f880e01

File tree

4 files changed

+5
-25
lines changed

4 files changed

+5
-25
lines changed
Binary file not shown.

ux.symfony.com/assets/styles/components/_PackageBox.scss

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -118,12 +118,8 @@
118118
font-size: 28px !important;
119119
line-height: 32px !important;
120120
letter-spacing: -1px;
121-
color: #0A0A0A;
121+
color: var(--bs-body-color);
122122
text-decoration: none;
123-
124-
[data-bs-theme="dark"] & {
125-
filter: invert(1);
126-
}
127123
}
128124

129125
.PackageBox_link {

ux.symfony.com/assets/styles/components/_Terminal.scss

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -111,16 +111,13 @@
111111
color: $n-200;
112112
background: none;
113113
}
114-
115114
.btn-copy {
116-
background-color: $n-700;
117115
color: $n-200;
118-
&:active {
119-
background-color: $n-700;
120-
color: $n-200;
121-
}
116+
background: none;
117+
transition: all 250ms ease-in-out;
122118
&:hover {
123-
background-color: $n-600;
119+
color: $n-100;
120+
background-color: $n-800;
124121
}
125122
}
126123
.btn-link:hover {

ux.symfony.com/assets/styles/sections/_hero.scss

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,7 @@
1010
}
1111

1212
.hero-background {
13-
background: url(../images/background_homepage.png);
14-
background-size: cover;
1513
padding-block-start: 4rem;
16-
17-
&::after {
18-
content: "";
19-
display: block;
20-
position: absolute;
21-
background: #d75b5b00;
22-
width: 100%;
23-
margin-block-start: -1.5rem;
24-
backdrop-filter: blur(1rem);
25-
height: 3rem;
26-
}
2714
}
2815

2916
.hero-sub-text {

0 commit comments

Comments
 (0)