Skip to content

Commit a8ca76e

Browse files
committed
Add HarmonyOS and new browser icons to UA bar
1 parent 81c7f3e commit a8ca76e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

packages/comment-widget/src/commenter-ua-bar.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ const OS_ICON_MAP = {
1414
Manjaro: 'i-logos:manjaro',
1515
Ubuntu: 'i-logos:ubuntu',
1616
Fedora: 'i-logos:fedora',
17+
HarmonyOS: 'i-simple-icons:harmonyos',
1718
};
1819

1920
const BROWSER_ICON_MAP = {
@@ -28,6 +29,8 @@ const BROWSER_ICON_MAP = {
2829
'Edge WebView': 'i-logos:microsoft-edge',
2930
'Edge WebView2': 'i-logos:microsoft-edge',
3031
Opera: 'i-logos:opera',
32+
'Huawei Browser': 'i-simple-icons:huawei text-[#D6000B]',
33+
'MIUI Browser': 'i-simple-icons:xiaomi text-[#FF6901]',
3134
};
3235

3336
export class CommenterUABar extends LitElement {

0 commit comments

Comments
 (0)