summaryrefslogtreecommitdiffstats
path: root/asset/css/awesome-icons.less
diff options
context:
space:
mode:
Diffstat (limited to 'asset/css/awesome-icons.less')
-rw-r--r--asset/css/awesome-icons.less35
1 files changed, 35 insertions, 0 deletions
diff --git a/asset/css/awesome-icons.less b/asset/css/awesome-icons.less
new file mode 100644
index 0000000..ba0b5cf
--- /dev/null
+++ b/asset/css/awesome-icons.less
@@ -0,0 +1,35 @@
+:root, :host {
+ --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free";
+ --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free";
+}
+
+@font-face {
+ font-family: 'Font Awesome 6 Free';
+ font-style: normal;
+ font-weight: 400;
+ font-display: block;
+ src: url('@{iplWebAssets}/font/awesome/fa-regular-400.woff2') format('woff2'),
+ url('@{iplWebAssets}/font/awesome/fa-regular-400.ttf') format('truetype');
+}
+
+.far,
+.fa-regular {
+ font-family: 'Font Awesome 6 Free';
+ font-weight: 400;
+}
+
+@font-face {
+ font-family: 'Font Awesome 6 Free';
+ font-style: normal;
+ font-weight: 900;
+ font-display: block;
+ src: url('@{iplWebAssets}/font/awesome/fa-solid-900.woff2') format('woff2'),
+ url('@{iplWebAssets}/font/awesome/fa-solid-900.ttf') format('truetype');
+}
+
+.fa,
+.fas,
+.fa-solid {
+ font-family: 'Font Awesome 6 Free';
+ font-weight: 900;
+}