ab-nextjs-icons 0.1.0 → 0.1.1
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/CHANGELOG.md +5 -0
- package/README.md +5 -4
- package/css/material-icons.css +188 -0
- package/package.json +4 -1
package/CHANGELOG.md
ADDED
package/README.md
CHANGED
|
@@ -59,10 +59,11 @@ pnpm install ab-nextjs-icons
|
|
|
59
59
|
|
|
60
60
|
A list of all the supported **icons** and their current status:
|
|
61
61
|
|
|
62
|
-
| No. | Name | Status |
|
|
63
|
-
|
|
64
|
-
| 1 | *`Material Icons`* |
|
|
65
|
-
| 2 | *`Ant Design Icons`* | Pending |
|
|
62
|
+
| No. | Name | File | Status |
|
|
63
|
+
|:----|:-----|:-----|:-------|
|
|
64
|
+
| 1 | *`Material Icons`* | **`css/material-icons.css`** | [Done](./css/material-icons.css) |
|
|
65
|
+
| 2 | *`Ant Design Icons`* | **`css/ant-design-icons.css`** | Pending |
|
|
66
|
+
| 3 | *`Logos`* | **`css/logos.css`** | Pending |
|
|
66
67
|
|
|
67
68
|
> NOTE: See google's [material icons/symbols](https://fonts.google.com/icons) for more details.
|
|
68
69
|
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* @license MIT
|
|
3
|
+
* ~~~~~~~~~~~~
|
|
4
|
+
* ab-nexts-icons
|
|
5
|
+
* ~~~~~~~~~~~~
|
|
6
|
+
* Copyright (c) 2024 Abraham Ukachi. The AbElements Project.
|
|
7
|
+
*
|
|
8
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
9
|
+
* of this software and associated documentation files (the 'Software'), to deal
|
|
10
|
+
* in the Software without restriction, including without limitation the rights
|
|
11
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
12
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
13
|
+
* furnished to do so, subject to the following conditions:
|
|
14
|
+
*
|
|
15
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
16
|
+
* copies or substantial portions of the Software.
|
|
17
|
+
*
|
|
18
|
+
* THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
19
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
20
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
21
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
22
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
23
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
24
|
+
* SOFTWARE.
|
|
25
|
+
*
|
|
26
|
+
* @project: ab-nextjs-icons
|
|
27
|
+
* @name: Material Icons
|
|
28
|
+
* @file: css/material-icons.css
|
|
29
|
+
* @type: CSS Stylesheet
|
|
30
|
+
* @authors: Abraham Ukachi <abrahamukachi@gmail.com>
|
|
31
|
+
*
|
|
32
|
+
* Example usage:
|
|
33
|
+
* 1+|>
|
|
34
|
+
* -|>
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
/*
|
|
41
|
+
* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
42
|
+
* MOTTO: We'll always do more 😜!!!
|
|
43
|
+
* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
44
|
+
*/
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
@import 'material-symbols';
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
/* ====<<< Material Icons >>>==== */
|
|
59
|
+
/* https://developers.google.com/fonts/docs/material_icons#icon_font_for_the_web */
|
|
60
|
+
|
|
61
|
+
/* Material Icons */
|
|
62
|
+
@font-face {
|
|
63
|
+
font-family: 'Material Icons';
|
|
64
|
+
font-style: normal;
|
|
65
|
+
font-weight: 400;
|
|
66
|
+
src: local('Material Icons'),
|
|
67
|
+
local('MaterialIconsOutlined-Regular'),
|
|
68
|
+
url('../material-icons/MaterialIconsOutlined-Regular.otf') format('opentype');
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
/* Round Material Icons */
|
|
73
|
+
@font-face {
|
|
74
|
+
font-family: 'Material Icons Round';
|
|
75
|
+
font-style: normal;
|
|
76
|
+
font-weight: 400;
|
|
77
|
+
src: local('Material Icons Round'),
|
|
78
|
+
local('MaterialIconsRound-Regular'),
|
|
79
|
+
url('../material-icons/MaterialIconsRound-Regular.otf') format('opentype');
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/* ====>>> End of Material Icons <<<==== */
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
/*
|
|
95
|
+
* --> Narrow - Device <--
|
|
96
|
+
* Phone: ? (Responsive)
|
|
97
|
+
* Dimension: ~460px (width)
|
|
98
|
+
*
|
|
99
|
+
* ***************************************
|
|
100
|
+
* when the viewport is lesser than 460px,
|
|
101
|
+
* layout changes to a narrow-layout.
|
|
102
|
+
* ***************************************
|
|
103
|
+
*/
|
|
104
|
+
|
|
105
|
+
/* ==== MATERIAL SYMBOLS ==== */
|
|
106
|
+
.material-symbols-rounded {
|
|
107
|
+
font-variation-settings:
|
|
108
|
+
'FILL' 0,
|
|
109
|
+
'wght' 400,
|
|
110
|
+
'GRAD' 0,
|
|
111
|
+
'opsz' 24;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
/* ==== MATERIAL ICONS ==== */
|
|
117
|
+
|
|
118
|
+
/* Material Icons / Outlined + Round */
|
|
119
|
+
.material-icons, .material-icons-outlined, .material-icons-round {
|
|
120
|
+
font-family: 'Material Icons';
|
|
121
|
+
font-weight: normal;
|
|
122
|
+
font-style: normal;
|
|
123
|
+
font-size: var(--material-icon-size, 24px); /* Preferred icon size */
|
|
124
|
+
display: inline-block;
|
|
125
|
+
line-height: 1;
|
|
126
|
+
text-transform: none;
|
|
127
|
+
letter-spacing: normal;
|
|
128
|
+
word-wrap: normal;
|
|
129
|
+
white-space: nowrap;
|
|
130
|
+
direction: ltr;
|
|
131
|
+
|
|
132
|
+
/* Support for all Webkit browsers. */
|
|
133
|
+
-webkit-font-smoothing: antialiased;
|
|
134
|
+
/* Support for Safari and Chrome. */
|
|
135
|
+
text-rendering: optimizeLegibility;
|
|
136
|
+
|
|
137
|
+
/* Support for Firefox. */
|
|
138
|
+
-moz-osx-font-smoothing: grayscale;
|
|
139
|
+
|
|
140
|
+
/* Support for IE. */
|
|
141
|
+
font-feature-settings: 'liga';
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
/* Round Material Icons */
|
|
145
|
+
.material-icons-round {
|
|
146
|
+
font-family: 'Material Icons Round' !important;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
/* Rules for sizing the icon. */
|
|
150
|
+
.material-icons.md-18, .material-icons-round.md-18 { font-size: 18px; }
|
|
151
|
+
.material-icons.md-24, .material-icons-round.md-24 { font-size: 24px; }
|
|
152
|
+
.material-icons.md-36, .material-icons-round.md-36 { font-size: 36px; }
|
|
153
|
+
.material-icons.md-48, .material-icons-round.md-48 { font-size: 48px; }
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
/*
|
|
159
|
+
* --> Wide - Layout <--
|
|
160
|
+
* Phone: ? (Responsive)
|
|
161
|
+
* Dimension: 460px+ (width)
|
|
162
|
+
*
|
|
163
|
+
* ***************************************
|
|
164
|
+
* when the viewport is bigger than 460px,
|
|
165
|
+
* layout changes to wide-layout.
|
|
166
|
+
* ***************************************
|
|
167
|
+
*/
|
|
168
|
+
@media (min-width: 460px) {}
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
/*
|
|
173
|
+
* --> Tablet - Device <--
|
|
174
|
+
* Phone: ? (Responsive)
|
|
175
|
+
* Width: 768px <-to-> 1024px
|
|
176
|
+
*/
|
|
177
|
+
@media (min-width: 768px) and (max-width: 1024px) {}
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
/*
|
|
181
|
+
* --> Laptop - Device <--
|
|
182
|
+
* Phone: ? (Responsive)
|
|
183
|
+
* Width: 1024px <-to-> 2560px
|
|
184
|
+
*/
|
|
185
|
+
@media (min-width: 1024px) and (max-width: 2560px) {}
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
/* ==== END of MATERIAL-ICONS - ICONS STYLES ==== */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ab-nextjs-icons",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "⭐️ A lightweight collection of icons for abElements created by Abraham Ukachi, and optimized for Next.js applications 😎.",
|
|
5
5
|
"main": "index.ts",
|
|
6
6
|
"types": "types/index.d.ts",
|
|
@@ -27,6 +27,9 @@
|
|
|
27
27
|
"email": "abraham.ukachi@laplateforme.io"
|
|
28
28
|
},
|
|
29
29
|
"license": "MIT",
|
|
30
|
+
"dependencies": {
|
|
31
|
+
"material-symbols": "^0.29.0"
|
|
32
|
+
},
|
|
30
33
|
"scripts": {
|
|
31
34
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
32
35
|
}
|