@sb1/ffe-icons 15.0.0 → 15.1.0
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 +8 -0
- package/less/icons.less +4 -1
- package/package.json +5 -4
package/README.md
CHANGED
|
@@ -12,6 +12,14 @@ npm install --save @sb1/ffe-icons
|
|
|
12
12
|
|
|
13
13
|
Full documentation on icon usage is available at https://design.sparebank1.no/komponenter/ikoner/.
|
|
14
14
|
|
|
15
|
+
### Importing compiled CSS
|
|
16
|
+
|
|
17
|
+
If your project does not use Less, you can import the compiled styling:
|
|
18
|
+
|
|
19
|
+
```css
|
|
20
|
+
@import '~@sb1/ffe-icons/css/ffe-icons.css';
|
|
21
|
+
```
|
|
22
|
+
|
|
15
23
|
See also `@sb1/ffe-icons-react`.
|
|
16
24
|
|
|
17
25
|
## Updating available icons
|
package/less/icons.less
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
.ffe-icons {
|
|
2
|
-
color: var(--ffe-v-icons-default-color);
|
|
3
2
|
mask-repeat: no-repeat;
|
|
4
3
|
mask-position: top;
|
|
5
4
|
background-color: currentcolor;
|
|
@@ -25,3 +24,7 @@
|
|
|
25
24
|
width: var(--ffe-v-icons-size-xl);
|
|
26
25
|
}
|
|
27
26
|
}
|
|
27
|
+
|
|
28
|
+
&:where(.ffe-icons) {
|
|
29
|
+
color: var(--ffe-v-icons-default-color);
|
|
30
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sb1/ffe-icons",
|
|
3
|
-
"version": "15.
|
|
3
|
+
"version": "15.1.0",
|
|
4
4
|
"description": "Felles Front End Icons",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "SpareBank 1",
|
|
@@ -9,14 +9,15 @@
|
|
|
9
9
|
},
|
|
10
10
|
"files": [
|
|
11
11
|
"icons",
|
|
12
|
-
"less"
|
|
12
|
+
"less",
|
|
13
|
+
"css"
|
|
13
14
|
],
|
|
14
15
|
"repository": {
|
|
15
16
|
"type": "git",
|
|
16
17
|
"url": "ssh://git@github.com:SpareBank1/designsystem.git"
|
|
17
18
|
},
|
|
18
19
|
"scripts": {
|
|
19
|
-
"build:": "",
|
|
20
|
+
"build:": "lessc less/ffe-icons.less css/ffe-icons.css --autoprefix",
|
|
20
21
|
"build:icons": "node bin/build.js",
|
|
21
22
|
"lint": "eslint bin",
|
|
22
23
|
"test": "npm run lint"
|
|
@@ -32,5 +33,5 @@
|
|
|
32
33
|
"publishConfig": {
|
|
33
34
|
"access": "public"
|
|
34
35
|
},
|
|
35
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "55ee3d40abaef9433c55aa993889e67c3f5c5abd"
|
|
36
37
|
}
|