Skip to content

Commit 1dc52bc

Browse files
committed
[Site] Configure Icons + fixes
* composer update * remove temporary "Icon" component * add ux_icons config file * fix icon classes * trim version from changelog titles
1 parent c23d756 commit 1dc52bc

File tree

17 files changed

+361
-367
lines changed

17 files changed

+361
-367
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,13 +95,13 @@
9595
justify-content: space-between;
9696
}
9797

98-
.ChangelogItem__Head svg {
98+
.ChangelogItem__Toggle {
9999
transition: 150ms ease-in-out;
100100
transform: rotate(0deg);
101101
opacity: .5;
102102
}
103103

104-
.ChangelogItem [open] .ChangelogItem__Head svg {
104+
.ChangelogItem [open] .ChangelogItem__Toggle {
105105
transform: rotate(180deg);
106106
opacity: .75;
107107
transition: all 150ms ease-in-out;

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
}
4141

4242
.DocsLink_arrow {
43-
color: gray;
4443
font-size: 1.5rem;
4544
opacity: .5;
4645
margin-inline-start: auto;
Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,7 @@
11
.Icon {
2-
display: inline-flex;
3-
justify-content: center;
4-
align-items: center;
2+
display: inline-grid;
3+
place-content: center;
54
height: 1em;
65
width: 1em;
7-
color: var(--icon-color);
8-
vertical-align: -.125em;
9-
svg {
10-
fill: currentColor;
11-
height: 100%;
12-
width: 100%;
13-
}
6+
fill: currentColor;
147
}

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

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,9 @@
124124
}
125125

126126
.PackageBox_link {
127+
display: flex;
128+
align-items: center;
129+
gap: .25rem;
127130
&:after {
128131
content: '';
129132
position: absolute;
@@ -133,13 +136,15 @@
133136
}
134137

135138
.PackageBox_arrow {
136-
color: gray;
137-
font-size: 1.5rem;
138139
opacity: .5;
139-
transition: opacity 600ms ease-in-out;
140+
filter: saturate(0.25);
141+
transition: all 600ms ease-in-out;
140142
.PackageBox:hover & {
141-
transition: opacity 250ms ease-in-out;
143+
transition: all 250ms ease-in-out;
142144
opacity: 1;
145+
color: var(--color);
146+
filter: saturate(1);
147+
transform: translateX(10%) scale(1.04);
143148
}
144149
}
145150

0 commit comments

Comments
 (0)