Skip to content

Commit 315a1bf

Browse files
Release v3.13.0
# New - Update `simple-icons` to v3.13.0 - Use the simple-icons font with the classes `.si`, `.si-[ICON NAME]`, and `.si--color` # Removed - Use the simple-icons font with the classes `.simpleicons`, `.simpleicons-[ICON NAME]`, and `.simpleicons--color`
2 parents 1fe9f91 + 3f2b6ea commit 315a1bf

File tree

11 files changed

+139
-129
lines changed

11 files changed

+139
-129
lines changed

.github/workflows/verify.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
name: fonts
5959
path: font/
6060
- name: Build test page
61-
run: node scripts/buildTestpage.js
61+
run: node scripts/build-testpage.js
6262
- name: Serve testpage
6363
run: ./node_modules/.bin/anywhere -s -p 8080 -d . -f /preview/testpage.html &
6464
- name: Take screenshot of testpage

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
node_modules/
33

44
# Generated icon font and additional files
5-
/font/*
5+
font/
66
preview/testpage.html
77

88
# Miscellaneous

README.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ Free SVG icon font for popular brands. See them all on one page at <a href="http
1414
The font can be served from a CDN such as [JSDelivr][jsdelivr-link] or [Unpkg][unpkg-link]. Simply use the `simple-icons-font` NPM package and specify a version in the URL like the following:
1515

1616
```html
17-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/simple-icons-font@v2/font/simple-icons.min.css" type="text/css">
18-
<link rel="stylesheet" href="https://unpkg.com/simple-icons-font@2/font/simple-icons.min.css" type="text/css">
17+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/simple-icons-font@v3/font/simple-icons.min.css" type="text/css">
18+
<link rel="stylesheet" href="https://unpkg.com/simple-icons-font@3/font/simple-icons.min.css" type="text/css">
1919
```
2020

2121
These examples use the latest major version. This means you won't receive any updates following the next major release. You can use `@latest` instead to receive updates indefinitely. However this may cause an icon to disappear if it has been removed in the latest version.
@@ -40,23 +40,21 @@ You can also [download the latest version of the package][latest-release] and co
4040

4141
## Usage
4242

43-
Use any of the icons available in simple-icons by adding the following classes to a node in your HTML. Use the `simpleicons--color` class to apply the brand's color to the icon.
43+
Use any of the icons available in simple-icons by adding the following classes to a node in your HTML. Use the `si--color` class to apply the brand's color to the icon.
4444

4545
```html
46-
<i class="simpleicons simpleicons-[ICON NAME]"></i>
47-
<i class="simpleicons simpleicons-[ICON NAME] simpleicons--color"></i>
46+
<i class="si si-[ICON NAME]"></i>
47+
<i class="si si-[ICON NAME] si--color"></i>
4848
```
4949

5050
Where `[ICON NAME]` is replaced by the icon name, for example:
5151

5252
```html
53-
<i class="simpleicons simpleicons-simpleicons"></i>
54-
<i class="simpleicons simpleicons-simpleicons simpleicons--color"></i>
53+
<i class="si si-simpleicons si--color"></i>
5554
```
5655

5756
In this example we use the `<i>` tag, but any inline HTML tag should work as you expect.
5857

59-
6058
## Status
6159

6260
[![Build Status][build-status-image]][build-status-link]

0 commit comments

Comments
 (0)