material-symbols-class 0.9.1 → 0.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -5
- package/index.css +12 -4
- package/index.min.css +1 -1
- package/material-symbols-outlined.woff2 +0 -0
- package/material-symbols-rounded.woff2 +0 -0
- package/material-symbols-sharp.woff2 +0 -0
- package/material-symbols.css +140 -52
- package/material-symbols.min.css +1 -1
- package/material-symbols.scss +335 -329
- package/outlined.css +6 -2
- package/outlined.min.css +1 -1
- package/outlined.scss +3 -1
- package/package.json +6 -5
- package/rounded.css +3 -1
- package/rounded.min.css +1 -1
- package/rounded.scss +1 -0
- package/sharp.css +3 -1
- package/sharp.min.css +1 -1
- package/sharp.scss +1 -0
package/README.md
CHANGED
@@ -35,31 +35,44 @@ or import in HTML:
|
|
35
35
|
```
|
36
36
|
|
37
37
|
To display an icon, use one of the following:
|
38
|
+
The different font/styles can be used with the full name or the `short` version, be default `msc` will refer to `outlined`
|
38
39
|
|
39
40
|
```html
|
40
41
|
<span class="msc msc-face"></span>
|
42
|
+
<!-- Outlined default -->
|
43
|
+
<span class="msc-o msc-face"></span>
|
44
|
+
<!-- Outlined short class -->
|
45
|
+
<span class="msc-outlined msc-face"></span>
|
41
46
|
<!-- Outlined -->
|
47
|
+
<span class="msc-r msc-face"></span>
|
48
|
+
<!-- Rounded short class -->
|
42
49
|
<span class="msc-rounded msc-face"></span>
|
43
50
|
<!-- Rounded -->
|
51
|
+
<span class="msc-s msc-face"></span>
|
52
|
+
<!-- Sharp short class -->
|
44
53
|
<span class="msc-sharp msc-face"></span>
|
45
54
|
<!-- Sharp -->
|
46
55
|
```
|
47
56
|
|
48
|
-
Adding the `utils.css` you can edit the `fill` and `
|
57
|
+
Adding the `utils.css` you can edit the `fill`, `weight`, `spin` and `fix` variables with classes too:
|
49
58
|
|
50
59
|
```html
|
51
|
-
<span class="msc msc-face msc-fill"></span>
|
60
|
+
<span class="msc-outlined msc-face msc-fill"></span>
|
52
61
|
<!-- 'FILL': 1 -->
|
53
|
-
<span class="msc msc-face msc-100"></span>
|
62
|
+
<span class="msc-outlined msc-face msc-100"></span>
|
54
63
|
<!-- 'weight': 100 -->
|
55
|
-
<span class="msc msc-face msc-fill msc-100"></span>
|
64
|
+
<span class="msc-outlined msc-face msc-fill msc-100"></span>
|
56
65
|
<!-- 'FILL': 1 && 'weight': 300 -->
|
66
|
+
<span class="msc-outlined msc-face msc-spin"></span>
|
67
|
+
<!-- Spinning icon -->
|
68
|
+
<span class="msc-outlined msc-face msc-fix"></span>
|
69
|
+
<!-- Fixed width icon -->
|
57
70
|
```
|
58
71
|
|
59
72
|
To customize the variable font axes (fill, weight, grade, and optical size), use:
|
60
73
|
|
61
74
|
```css
|
62
|
-
.msc {
|
75
|
+
.msc-outlined {
|
63
76
|
font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 48;
|
64
77
|
}
|
65
78
|
```
|
package/index.css
CHANGED
@@ -5,7 +5,9 @@
|
|
5
5
|
font-display: block;
|
6
6
|
src: url("./material-symbols-outlined.woff2") format("woff2");
|
7
7
|
}
|
8
|
-
.material-symbols-outlined, .msc
|
8
|
+
.material-symbols-outlined, .msc,
|
9
|
+
.msc-o,
|
10
|
+
.msc-outlined {
|
9
11
|
font-family: "Material Symbols Outlined";
|
10
12
|
font-weight: normal;
|
11
13
|
font-style: normal;
|
@@ -23,7 +25,9 @@
|
|
23
25
|
font-feature-settings: "liga";
|
24
26
|
}
|
25
27
|
|
26
|
-
.msc
|
28
|
+
.msc,
|
29
|
+
.msc-o,
|
30
|
+
.msc-outlined {
|
27
31
|
font-size: 1.25em;
|
28
32
|
}
|
29
33
|
|
@@ -34,7 +38,8 @@
|
|
34
38
|
font-display: block;
|
35
39
|
src: url("./material-symbols-rounded.woff2") format("woff2");
|
36
40
|
}
|
37
|
-
.material-symbols-rounded, .msc-
|
41
|
+
.material-symbols-rounded, .msc-r,
|
42
|
+
.msc-rounded {
|
38
43
|
font-family: "Material Symbols Rounded";
|
39
44
|
font-weight: normal;
|
40
45
|
font-style: normal;
|
@@ -52,6 +57,7 @@
|
|
52
57
|
font-feature-settings: "liga";
|
53
58
|
}
|
54
59
|
|
60
|
+
.msc-r,
|
55
61
|
.msc-rounded {
|
56
62
|
font-size: 1.25em;
|
57
63
|
}
|
@@ -63,7 +69,8 @@
|
|
63
69
|
font-display: block;
|
64
70
|
src: url("./material-symbols-sharp.woff2") format("woff2");
|
65
71
|
}
|
66
|
-
.material-symbols-sharp, .msc-
|
72
|
+
.material-symbols-sharp, .msc-s,
|
73
|
+
.msc-sharp {
|
67
74
|
font-family: "Material Symbols Sharp";
|
68
75
|
font-weight: normal;
|
69
76
|
font-style: normal;
|
@@ -81,6 +88,7 @@
|
|
81
88
|
font-feature-settings: "liga";
|
82
89
|
}
|
83
90
|
|
91
|
+
.msc-s,
|
84
92
|
.msc-sharp {
|
85
93
|
font-size: 1.25em;
|
86
94
|
}
|
package/index.min.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
@font-face{font-family:"Material Symbols Outlined";font-style:normal;font-weight:100 700;font-display:block;src:url("./material-symbols-outlined.woff2") format("woff2")}.material-symbols-outlined,.msc{font-family:"Material Symbols Outlined";font-weight:normal;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;font-feature-settings:"liga"}.msc{font-size:1.25em}@font-face{font-family:"Material Symbols Rounded";font-style:normal;font-weight:100 700;font-display:block;src:url("./material-symbols-rounded.woff2") format("woff2")}.material-symbols-rounded,.msc-rounded{font-family:"Material Symbols Rounded";font-weight:normal;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;font-feature-settings:"liga"}.msc-rounded{font-size:1.25em}@font-face{font-family:"Material Symbols Sharp";font-style:normal;font-weight:100 700;font-display:block;src:url("./material-symbols-sharp.woff2") format("woff2")}.material-symbols-sharp,.msc-sharp{font-family:"Material Symbols Sharp";font-weight:normal;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;font-feature-settings:"liga"}.msc-sharp{font-size:1.25em}
|
1
|
+
@font-face{font-family:"Material Symbols Outlined";font-style:normal;font-weight:100 700;font-display:block;src:url("./material-symbols-outlined.woff2") format("woff2")}.material-symbols-outlined,.msc,.msc-o,.msc-outlined{font-family:"Material Symbols Outlined";font-weight:normal;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;font-feature-settings:"liga"}.msc,.msc-o,.msc-outlined{font-size:1.25em}@font-face{font-family:"Material Symbols Rounded";font-style:normal;font-weight:100 700;font-display:block;src:url("./material-symbols-rounded.woff2") format("woff2")}.material-symbols-rounded,.msc-r,.msc-rounded{font-family:"Material Symbols Rounded";font-weight:normal;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;font-feature-settings:"liga"}.msc-r,.msc-rounded{font-size:1.25em}@font-face{font-family:"Material Symbols Sharp";font-style:normal;font-weight:100 700;font-display:block;src:url("./material-symbols-sharp.woff2") format("woff2")}.material-symbols-sharp,.msc-s,.msc-sharp{font-family:"Material Symbols Sharp";font-weight:normal;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;font-feature-settings:"liga"}.msc-s,.msc-sharp{font-size:1.25em}
|
Binary file
|
Binary file
|
Binary file
|
package/material-symbols.css
CHANGED
@@ -118,6 +118,10 @@
|
|
118
118
|
content: "30fps_select";
|
119
119
|
}
|
120
120
|
|
121
|
+
.msc-3d:after {
|
122
|
+
content: "3d";
|
123
|
+
}
|
124
|
+
|
121
125
|
.msc-3d_rotation:after {
|
122
126
|
content: "3d_rotation";
|
123
127
|
}
|
@@ -830,18 +834,10 @@
|
|
830
834
|
content: "app_blocking";
|
831
835
|
}
|
832
836
|
|
833
|
-
.msc-app_promo:after {
|
834
|
-
content: "app_promo";
|
835
|
-
}
|
836
|
-
|
837
837
|
.msc-app_registration:after {
|
838
838
|
content: "app_registration";
|
839
839
|
}
|
840
840
|
|
841
|
-
.msc-app_shortcut:after {
|
842
|
-
content: "app_shortcut";
|
843
|
-
}
|
844
|
-
|
845
841
|
.msc-apparel:after {
|
846
842
|
content: "apparel";
|
847
843
|
}
|
@@ -1438,6 +1434,62 @@
|
|
1438
1434
|
content: "battery_alert";
|
1439
1435
|
}
|
1440
1436
|
|
1437
|
+
.msc-battery_android_0:after {
|
1438
|
+
content: "battery_android_0";
|
1439
|
+
}
|
1440
|
+
|
1441
|
+
.msc-battery_android_1:after {
|
1442
|
+
content: "battery_android_1";
|
1443
|
+
}
|
1444
|
+
|
1445
|
+
.msc-battery_android_2:after {
|
1446
|
+
content: "battery_android_2";
|
1447
|
+
}
|
1448
|
+
|
1449
|
+
.msc-battery_android_3:after {
|
1450
|
+
content: "battery_android_3";
|
1451
|
+
}
|
1452
|
+
|
1453
|
+
.msc-battery_android_4:after {
|
1454
|
+
content: "battery_android_4";
|
1455
|
+
}
|
1456
|
+
|
1457
|
+
.msc-battery_android_5:after {
|
1458
|
+
content: "battery_android_5";
|
1459
|
+
}
|
1460
|
+
|
1461
|
+
.msc-battery_android_6:after {
|
1462
|
+
content: "battery_android_6";
|
1463
|
+
}
|
1464
|
+
|
1465
|
+
.msc-battery_android_alert:after {
|
1466
|
+
content: "battery_android_alert";
|
1467
|
+
}
|
1468
|
+
|
1469
|
+
.msc-battery_android_bolt:after {
|
1470
|
+
content: "battery_android_bolt";
|
1471
|
+
}
|
1472
|
+
|
1473
|
+
.msc-battery_android_full:after {
|
1474
|
+
content: "battery_android_full";
|
1475
|
+
}
|
1476
|
+
|
1477
|
+
.msc-battery_android_plus:after {
|
1478
|
+
content: "battery_android_plus";
|
1479
|
+
}
|
1480
|
+
|
1481
|
+
.msc-battery_android_question:after {
|
1482
|
+
content: "battery_android_question";
|
1483
|
+
}
|
1484
|
+
|
1485
|
+
.msc-battery_android_share:after {
|
1486
|
+
content: "battery_android_share";
|
1487
|
+
}
|
1488
|
+
|
1489
|
+
.msc-battery_android_shield:after {
|
1490
|
+
content: "battery_android_shield";
|
1491
|
+
}
|
1492
|
+
|
1441
1493
|
.msc-battery_change:after {
|
1442
1494
|
content: "battery_change";
|
1443
1495
|
}
|
@@ -1710,10 +1762,6 @@
|
|
1710
1762
|
content: "book_4";
|
1711
1763
|
}
|
1712
1764
|
|
1713
|
-
.msc-book_4_spark:after {
|
1714
|
-
content: "book_4_spark";
|
1715
|
-
}
|
1716
|
-
|
1717
1765
|
.msc-book_5:after {
|
1718
1766
|
content: "book_5";
|
1719
1767
|
}
|
@@ -2214,6 +2262,10 @@
|
|
2214
2262
|
content: "candlestick_chart";
|
2215
2263
|
}
|
2216
2264
|
|
2265
|
+
.msc-cannabis:after {
|
2266
|
+
content: "cannabis";
|
2267
|
+
}
|
2268
|
+
|
2217
2269
|
.msc-captive_portal:after {
|
2218
2270
|
content: "captive_portal";
|
2219
2271
|
}
|
@@ -2866,6 +2918,14 @@
|
|
2866
2918
|
content: "computer";
|
2867
2919
|
}
|
2868
2920
|
|
2921
|
+
.msc-computer_arrow_up:after {
|
2922
|
+
content: "computer_arrow_up";
|
2923
|
+
}
|
2924
|
+
|
2925
|
+
.msc-computer_cancel:after {
|
2926
|
+
content: "computer_cancel";
|
2927
|
+
}
|
2928
|
+
|
2869
2929
|
.msc-concierge:after {
|
2870
2930
|
content: "concierge";
|
2871
2931
|
}
|
@@ -3566,6 +3626,10 @@
|
|
3566
3626
|
content: "developer_mode_tv";
|
3567
3627
|
}
|
3568
3628
|
|
3629
|
+
.msc-device_band:after {
|
3630
|
+
content: "device_band";
|
3631
|
+
}
|
3632
|
+
|
3569
3633
|
.msc-device_hub:after {
|
3570
3634
|
content: "device_hub";
|
3571
3635
|
}
|
@@ -4246,10 +4310,6 @@
|
|
4246
4310
|
content: "emergency_share_off";
|
4247
4311
|
}
|
4248
4312
|
|
4249
|
-
.msc-emoji_events:after {
|
4250
|
-
content: "emoji_events";
|
4251
|
-
}
|
4252
|
-
|
4253
4313
|
.msc-emoji_food_beverage:after {
|
4254
4314
|
content: "emoji_food_beverage";
|
4255
4315
|
}
|
@@ -4562,6 +4622,10 @@
|
|
4562
4622
|
content: "eyeglasses";
|
4563
4623
|
}
|
4564
4624
|
|
4625
|
+
.msc-eyeglasses_2:after {
|
4626
|
+
content: "eyeglasses_2";
|
4627
|
+
}
|
4628
|
+
|
4565
4629
|
.msc-face:after {
|
4566
4630
|
content: "face";
|
4567
4631
|
}
|
@@ -6050,6 +6114,14 @@
|
|
6050
6114
|
content: "hearing_aid_disabled";
|
6051
6115
|
}
|
6052
6116
|
|
6117
|
+
.msc-hearing_aid_disabled_left:after {
|
6118
|
+
content: "hearing_aid_disabled_left";
|
6119
|
+
}
|
6120
|
+
|
6121
|
+
.msc-hearing_aid_left:after {
|
6122
|
+
content: "hearing_aid_left";
|
6123
|
+
}
|
6124
|
+
|
6053
6125
|
.msc-hearing_disabled:after {
|
6054
6126
|
content: "hearing_disabled";
|
6055
6127
|
}
|
@@ -6594,10 +6666,6 @@
|
|
6594
6666
|
content: "install_desktop";
|
6595
6667
|
}
|
6596
6668
|
|
6597
|
-
.msc-install_mobile:after {
|
6598
|
-
content: "install_mobile";
|
6599
|
-
}
|
6600
|
-
|
6601
6669
|
.msc-instant_mix:after {
|
6602
6670
|
content: "instant_mix";
|
6603
6671
|
}
|
@@ -6886,6 +6954,10 @@
|
|
6886
6954
|
content: "landscape_2";
|
6887
6955
|
}
|
6888
6956
|
|
6957
|
+
.msc-landscape_2_edit:after {
|
6958
|
+
content: "landscape_2_edit";
|
6959
|
+
}
|
6960
|
+
|
6889
6961
|
.msc-landscape_2_off:after {
|
6890
6962
|
content: "landscape_2_off";
|
6891
6963
|
}
|
@@ -7806,14 +7878,22 @@
|
|
7806
7878
|
content: "mms";
|
7807
7879
|
}
|
7808
7880
|
|
7809
|
-
.msc-mobile_friendly:after {
|
7810
|
-
content: "mobile_friendly";
|
7811
|
-
}
|
7812
|
-
|
7813
7881
|
.msc-mobile_hand:after {
|
7814
7882
|
content: "mobile_hand";
|
7815
7883
|
}
|
7816
7884
|
|
7885
|
+
.msc-mobile_hand_left:after {
|
7886
|
+
content: "mobile_hand_left";
|
7887
|
+
}
|
7888
|
+
|
7889
|
+
.msc-mobile_hand_left_off:after {
|
7890
|
+
content: "mobile_hand_left_off";
|
7891
|
+
}
|
7892
|
+
|
7893
|
+
.msc-mobile_hand_off:after {
|
7894
|
+
content: "mobile_hand_off";
|
7895
|
+
}
|
7896
|
+
|
7817
7897
|
.msc-mobile_loupe:after {
|
7818
7898
|
content: "mobile_loupe";
|
7819
7899
|
}
|
@@ -8486,10 +8566,6 @@
|
|
8486
8566
|
content: "new_label";
|
8487
8567
|
}
|
8488
8568
|
|
8489
|
-
.msc-new_releases:after {
|
8490
|
-
content: "new_releases";
|
8491
|
-
}
|
8492
|
-
|
8493
8569
|
.msc-new_window:after {
|
8494
8570
|
content: "new_window";
|
8495
8571
|
}
|
@@ -8802,10 +8878,6 @@
|
|
8802
8878
|
content: "open_in_new_off";
|
8803
8879
|
}
|
8804
8880
|
|
8805
|
-
.msc-open_in_phone:after {
|
8806
|
-
content: "open_in_phone";
|
8807
|
-
}
|
8808
|
-
|
8809
8881
|
.msc-open_jam:after {
|
8810
8882
|
content: "open_jam";
|
8811
8883
|
}
|
@@ -9334,14 +9406,6 @@
|
|
9334
9406
|
content: "phonelink_erase";
|
9335
9407
|
}
|
9336
9408
|
|
9337
|
-
.msc-phonelink_lock:after {
|
9338
|
-
content: "phonelink_lock";
|
9339
|
-
}
|
9340
|
-
|
9341
|
-
.msc-phonelink_off:after {
|
9342
|
-
content: "phonelink_off";
|
9343
|
-
}
|
9344
|
-
|
9345
9409
|
.msc-phonelink_ring:after {
|
9346
9410
|
content: "phonelink_ring";
|
9347
9411
|
}
|
@@ -10398,6 +10462,10 @@
|
|
10398
10462
|
content: "router";
|
10399
10463
|
}
|
10400
10464
|
|
10465
|
+
.msc-router_off:after {
|
10466
|
+
content: "router_off";
|
10467
|
+
}
|
10468
|
+
|
10401
10469
|
.msc-routine:after {
|
10402
10470
|
content: "routine";
|
10403
10471
|
}
|
@@ -11094,6 +11162,10 @@
|
|
11094
11162
|
content: "shield_question";
|
11095
11163
|
}
|
11096
11164
|
|
11165
|
+
.msc-shield_watch:after {
|
11166
|
+
content: "shield_watch";
|
11167
|
+
}
|
11168
|
+
|
11097
11169
|
.msc-shield_with_heart:after {
|
11098
11170
|
content: "shield_with_heart";
|
11099
11171
|
}
|
@@ -11670,6 +11742,22 @@
|
|
11670
11742
|
content: "split_scene";
|
11671
11743
|
}
|
11672
11744
|
|
11745
|
+
.msc-split_scene_down:after {
|
11746
|
+
content: "split_scene_down";
|
11747
|
+
}
|
11748
|
+
|
11749
|
+
.msc-split_scene_left:after {
|
11750
|
+
content: "split_scene_left";
|
11751
|
+
}
|
11752
|
+
|
11753
|
+
.msc-split_scene_right:after {
|
11754
|
+
content: "split_scene_right";
|
11755
|
+
}
|
11756
|
+
|
11757
|
+
.msc-split_scene_up:after {
|
11758
|
+
content: "split_scene_up";
|
11759
|
+
}
|
11760
|
+
|
11673
11761
|
.msc-splitscreen:after {
|
11674
11762
|
content: "splitscreen";
|
11675
11763
|
}
|
@@ -11942,18 +12030,6 @@
|
|
11942
12030
|
content: "stay_current_landscape";
|
11943
12031
|
}
|
11944
12032
|
|
11945
|
-
.msc-stay_current_portrait:after {
|
11946
|
-
content: "stay_current_portrait";
|
11947
|
-
}
|
11948
|
-
|
11949
|
-
.msc-stay_primary_landscape:after {
|
11950
|
-
content: "stay_primary_landscape";
|
11951
|
-
}
|
11952
|
-
|
11953
|
-
.msc-stay_primary_portrait:after {
|
11954
|
-
content: "stay_primary_portrait";
|
11955
|
-
}
|
11956
|
-
|
11957
12033
|
.msc-steering_wheel_heat:after {
|
11958
12034
|
content: "steering_wheel_heat";
|
11959
12035
|
}
|
@@ -12434,6 +12510,10 @@
|
|
12434
12510
|
content: "tab_recent";
|
12435
12511
|
}
|
12436
12512
|
|
12513
|
+
.msc-tab_search:after {
|
12514
|
+
content: "tab_search";
|
12515
|
+
}
|
12516
|
+
|
12437
12517
|
.msc-tab_unselected:after {
|
12438
12518
|
content: "tab_unselected";
|
12439
12519
|
}
|
@@ -13442,6 +13522,10 @@
|
|
13442
13522
|
content: "verified";
|
13443
13523
|
}
|
13444
13524
|
|
13525
|
+
.msc-verified_off:after {
|
13526
|
+
content: "verified_off";
|
13527
|
+
}
|
13528
|
+
|
13445
13529
|
.msc-verified_user:after {
|
13446
13530
|
content: "verified_user";
|
13447
13531
|
}
|
@@ -13814,6 +13898,10 @@
|
|
13814
13898
|
content: "watch";
|
13815
13899
|
}
|
13816
13900
|
|
13901
|
+
.msc-watch_arrow:after {
|
13902
|
+
content: "watch_arrow";
|
13903
|
+
}
|
13904
|
+
|
13817
13905
|
.msc-watch_button_press:after {
|
13818
13906
|
content: "watch_button_press";
|
13819
13907
|
}
|