Skip to content

Commit

Permalink
try to correct icon metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskthomas committed Jun 22, 2024
1 parent 5f568bc commit 1242100
Show file tree
Hide file tree
Showing 30 changed files with 150 additions and 10 deletions.
8 changes: 4 additions & 4 deletions make-preview.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

API_URL="https://linkfree.ckt.im/api.php"
API_URL="https://linkfree.fly.dev/api.php"
THEMES_SOURCE="$1"

rm -rf "preview"
Expand Down Expand Up @@ -46,13 +46,13 @@ jq -c '.[]' 'index.json' | while read theme; do
-F "photo=@-" \
-F "[email protected]" \
-F "links[1][name]=LinkedIn" \
-F "links[1][icon]=linkedin-square" \
-F "links[1][icon]=logo-linkedin" \
-F "links[1][url]=https://linkedin.com" \
-F "links[2][name]=GitHub" \
-F "links[2][icon]=github" \
-F "links[2][icon]=logo-github" \
-F "links[2][url]=https://github.com" \
-F "links[3][name]=Mastodon" \
-F "links[3][icon]=mastodon" \
-F "links[3][icon]=logo-mastodon" \
-F "links[3][url]=https://joinmastodon.org" \
-F "theme=$theme" \
-F "themes-source=$THEMES_SOURCE" \
Expand Down
6 changes: 6 additions & 0 deletions themes/3d-theme/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,9 @@ p {
transform: translateY(6px);
box-shadow: 0px 0px #007569;
}

ion-icon {
vertical-align: text-bottom;
width: 1.1875em;
height: 1.1875em;
}
6 changes: 6 additions & 0 deletions themes/animated/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,12 @@ a {
animation-name: fadeInRight;
}

ion-icon {
vertical-align: text-bottom;
width: 1.1875em;
height: 1.1875em;
}

@-webkit-keyframes fadeIn {
0% {
opacity: 0;
Expand Down
2 changes: 1 addition & 1 deletion themes/arghmyeyes/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ a {
.link {
display: flex;
flex-direction: row;
align-items: center;
align-items: initial;
justify-content: center;
gap: 12px;
background-color: #ffffff;
Expand Down
2 changes: 1 addition & 1 deletion themes/base/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ a {
.link {
display: flex;
flex-direction: row;
align-items: baseline;
align-items: initial;
justify-content: center;
gap: 0.5rem;
padding: 1rem 0;
Expand Down
6 changes: 6 additions & 0 deletions themes/casualblue/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,9 @@ h1 {
background-color: #3b6978;
color: #ffffff;
}

ion-icon {
vertical-align: text-bottom;
width: 1.1875em;
height: 1.1875em;
}
6 changes: 6 additions & 0 deletions themes/darkmode/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,9 @@ p {
background-color: var(--bgColor);
color: var(--accentColor);
}

ion-icon {
vertical-align: text-bottom;
width: 1.1875em;
height: 1.1875em;
}
6 changes: 6 additions & 0 deletions themes/deepsea/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,9 @@ p {
background-color: var(--bgColor);
color: var(--accentColor);
}

ion-icon {
vertical-align: text-bottom;
width: 1.1875em;
height: 1.1875em;
}
6 changes: 6 additions & 0 deletions themes/draculatheme/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,9 @@ p {
background-color: var(--selection);
color: var(--purple);
}

ion-icon {
vertical-align: text-bottom;
width: 1.1875em;
height: 1.1875em;
}
6 changes: 6 additions & 0 deletions themes/favouriteteachertheme/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,9 @@ p {
cursor {
transform: rotate(45deg);
}

ion-icon {
vertical-align: text-bottom;
width: 1.1875em;
height: 1.1875em;
}
4 changes: 3 additions & 1 deletion themes/gameon/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ p {
color: #000000;
}

.link ion-icon {
ion-icon {
vertical-align: text-bottom;
width: 1.1875em;
height: 1.1875em;
}
6 changes: 6 additions & 0 deletions themes/gogreen/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,9 @@ a {
background-color: var(--bgColor);
color: var(--accentColor);
}

ion-icon {
vertical-align: text-bottom;
width: 1.1875em;
height: 1.1875em;
}
6 changes: 6 additions & 0 deletions themes/gridthetic/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,9 @@ a {
background-color: var(--bgColor);
color: var(--accentColor);
}

ion-icon {
vertical-align: text-bottom;
width: 1.1875em;
height: 1.1875em;
}
6 changes: 6 additions & 0 deletions themes/journal/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,9 @@ a {
color: #333;
font-size: 1.3rem;
}

ion-icon {
vertical-align: text-bottom;
width: 1.1875em;
height: 1.1875em;
}
6 changes: 6 additions & 0 deletions themes/magicalmysterytheme/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,9 @@ p {
border-color: var(--selection);
color: var(--selection);
}

ion-icon {
vertical-align: text-bottom;
width: 1.1875em;
height: 1.1875em;
}
6 changes: 6 additions & 0 deletions themes/music/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,9 @@ a {
background-color: var(--bgColor);
color: var(--accentColor);
}

ion-icon {
vertical-align: text-bottom;
width: 1.1875em;
height: 1.1875em;
}
2 changes: 1 addition & 1 deletion themes/neumorphism/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ p {
padding: 0.5em 1em;
display: flex;
flex-direction: row;
align-items: baseline;
align-items: initial;
gap: 0.5em;
justify-content: center;
}
Expand Down
6 changes: 6 additions & 0 deletions themes/nightmare/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,9 @@ p {
transition: all 0.25s cubic-bezier(0.08, 0.59, 0.29, 0.99);
border: solid var(--fontColor) 2px;
}

ion-icon {
vertical-align: text-bottom;
width: 1.1875em;
height: 1.1875em;
}
6 changes: 6 additions & 0 deletions themes/nyancat/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,12 @@ p {
color: var(--bgColor);
}

ion-icon {
vertical-align: text-bottom;
width: 1.1875em;
height: 1.1875em;
}

.cat {
width: 100px;
/*width of your image*/
Expand Down
6 changes: 6 additions & 0 deletions themes/outrun/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,9 @@ a {
background: var(--bgColor);
color: var(--accentColor);
}

ion-icon {
vertical-align: text-bottom;
width: 1.1875em;
height: 1.1875em;
}
6 changes: 6 additions & 0 deletions themes/pastel-dreams/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,9 @@ p {
background-color: var(--bgColor);
color: var(--accentColor);
}

ion-icon {
vertical-align: text-bottom;
width: 1.1875em;
height: 1.1875em;
}
2 changes: 1 addition & 1 deletion themes/pastel-purple/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ a {
.link {
display: flex;
flex-direction: row;
align-items: baseline;
align-items: initial;
justify-content: center;
gap: 0.5rem;
color: #fff;
Expand Down
6 changes: 6 additions & 0 deletions themes/pink/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,9 @@ p {
background-color: var(--bgColor);
color: var(--accentColor);
}

ion-icon {
vertical-align: text-bottom;
width: 1.1875em;
height: 1.1875em;
}
6 changes: 6 additions & 0 deletions themes/pride/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,9 @@ p {
background-color: var(--hoverColor);
color: var(--bgColor);
}

ion-icon {
vertical-align: text-bottom;
width: 1.1875em;
height: 1.1875em;
}
6 changes: 6 additions & 0 deletions themes/purplesideoftheforce/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,9 @@ p {
border-color: var(--accentColor);
box-shadow: 4px 4px 2px var(--brandMainColor);
}

ion-icon {
vertical-align: text-bottom;
width: 1.1875em;
height: 1.1875em;
}
6 changes: 6 additions & 0 deletions themes/redzone/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,9 @@ p {
background-color: var(--bgColor);
color: var(--accentColor);
}

ion-icon {
vertical-align: text-bottom;
width: 1.1875em;
height: 1.1875em;
}
2 changes: 1 addition & 1 deletion themes/shades-of-purple/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ p {
.link {
display: flex;
gap: 0.2em;
align-items: center;
align-items: initial;
justify-content: center;
font-size: 1.8rem;
text-decoration: none;
Expand Down
6 changes: 6 additions & 0 deletions themes/sixties/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,9 @@ p {
background-color: var(--bgColor);
color: var(--accentColor);
}

ion-icon {
vertical-align: text-bottom;
width: 1.1875em;
height: 1.1875em;
}
6 changes: 6 additions & 0 deletions themes/standard/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,9 @@ p {
background-color: var(--bgColor);
color: var(--accentColor);
}

ion-icon {
vertical-align: text-bottom;
width: 1.1875em;
height: 1.1875em;
}
6 changes: 6 additions & 0 deletions themes/universe/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,9 @@ ion-icon {
color: var(--bgColor);
border: none;
}

ion-icon {
vertical-align: text-bottom;
width: 1.1875em;
height: 1.1875em;
}

0 comments on commit 1242100

Please sign in to comment.