Skip to content

Commit 44bbd64

Browse files
committed
use free version of font awesome
1 parent 13a866a commit 44bbd64

File tree

9 files changed

+4047
-10789
lines changed

9 files changed

+4047
-10789
lines changed

app/apis/weather_kit_api.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,9 @@ def weather_alert_calendar_events
131131
def icon_for(condition_code)
132132
icon_mappings = {
133133
"Thunderstorms" => "cloud-bolt",
134-
"Cloudy" => "clouds",
135-
"MostlyCloudy" => "clouds",
136-
"PartlyCloudy" => "clouds-sun",
134+
"Cloudy" => "cloud",
135+
"MostlyCloudy" => "cloud",
136+
"PartlyCloudy" => "cloud-sun",
137137
"MostlyClear" => "cloud-sun",
138138
"Clear" => "sun",
139139
"Windy" => "wind",

app/views/displays/mira.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
<% end %>
4747
<% if view_object[:sonos_status].present? %>
4848
<div class="hide-if-empty" style="background-color: black; color: white; padding: 1rem 2rem; text-overflow: ellipsis; white-space: nowrap; overflow: hidden;">
49-
<i class="fa-solid fa-volume fa-fw"></i>
49+
<i class="fa-solid fa-play fa-fw"></i>
5050
<strong><%= view_object[:sonos_status][:artist] %></strong>
5151
<% if view_object[:sonos_status][:track].present? %>
5252
: <%= view_object[:sonos_status][:track] %>

public/css/font-awesome/fontawesome.css

Lines changed: 4029 additions & 10770 deletions
Large diffs are not rendered by default.

public/css/font-awesome/regular.css

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
11
/*!
2-
* Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com
3-
* License - https://fontawesome.com/license (Commercial License)
4-
* Copyright 2023 Fonticons, Inc.
2+
* Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
3+
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
4+
* Copyright 2024 Fonticons, Inc.
55
*/
66
:root, :host {
7-
--fa-style-family-classic: 'Font Awesome 6 Pro';
8-
--fa-font-regular: normal 400 1em/1 'Font Awesome 6 Pro'; }
7+
--fa-style-family-classic: 'Font Awesome 6 Free';
8+
--fa-font-regular: normal 400 1em/1 'Font Awesome 6 Free'; }
99

1010
@font-face {
11-
font-family: 'Font Awesome 6 Pro';
11+
font-family: 'Font Awesome 6 Free';
1212
font-style: normal;
1313
font-weight: 400;
1414
font-display: block;
15-
src: url("/fonts/fa-regular-400.woff2") format("woff2");
16-
}
15+
src: url("../../fonts/fa-regular-400.woff2") format("woff2"), url("../../fonts/fa-regular-400.ttf") format("truetype"); }
1716

1817
.far,
1918
.fa-regular {

public/css/font-awesome/solid.css

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
/*!
2-
* Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com
3-
* License - https://fontawesome.com/license (Commercial License)
4-
* Copyright 2023 Fonticons, Inc.
2+
* Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
3+
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
4+
* Copyright 2024 Fonticons, Inc.
55
*/
66
:root, :host {
7-
--fa-style-family-classic: 'Font Awesome 6 Pro';
8-
--fa-font-solid: normal 900 1em/1 'Font Awesome 6 Pro'; }
7+
--fa-style-family-classic: 'Font Awesome 6 Free';
8+
--fa-font-solid: normal 900 1em/1 'Font Awesome 6 Free'; }
99

1010
@font-face {
11-
font-family: 'Font Awesome 6 Pro';
11+
font-family: 'Font Awesome 6 Free';
1212
font-style: normal;
1313
font-weight: 900;
1414
font-display: block;
15-
src: url("/fonts/fa-solid-900.woff2") format("woff2"); }
15+
src: url("../../fonts/fa-solid-900.woff2") format("woff2"), url("../../fonts/webfonts/fa-solid-900.ttf") format("truetype"); }
1616

1717
.fas,
1818
.fa-solid {

public/fonts/fa-regular-400.ttf

-927 KB
Binary file not shown.

public/fonts/fa-regular-400.woff2

-358 KB
Binary file not shown.

public/fonts/fa-solid-900.ttf

-451 KB
Binary file not shown.

public/fonts/fa-solid-900.woff2

-159 KB
Binary file not shown.

0 commit comments

Comments
 (0)