Skip to content

Commit fa29633

Browse files
committed
feat(ffe-icons): Endre ikonstørrelse på lg og xl, (lg 40 -> 32, xl 48 -> 40)
Breaking change: Ikon med størrelse XL er nå blitt litt mindre (48px til 40px) og lg har blitt mindre (40px -> 32px)
1 parent f474381 commit fa29633

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

.github/workflows/update-ffe-icons.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,12 @@ jobs:
1414
- name: Setup Node.js
1515
uses: actions/setup-node@v2
1616
with:
17-
node-version: 18
17+
node-version: 20
1818

1919
- name: Install dependencies
20-
run: npm install
20+
run: |
21+
pwd
22+
npm install
2123
working-directory: packages/ffe-icons
2224

2325
- name: Build icons

packages/ffe-icons/bin/build.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ const {
1313
const sizes = [
1414
{ name: 'sm', opsz: 20 },
1515
{ name: 'md', opsz: 24 },
16-
{ name: 'lg', opsz: 40 },
17-
{ name: 'xl', opsz: 48 },
16+
{ name: 'lg', opsz: 32 },
17+
{ name: 'xl', opsz: 40 },
1818
];
1919
const fill = [0, 1];
2020

packages/ffe-icons/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@
2323
"test": "npm run lint"
2424
},
2525
"dependencies": {
26-
"mkdirp": "^1.0.4",
26+
"husky": "^9.1.7",
27+
"mkdirp": "^3.0.1",
2728
"svgstore": "^3.0.1",
28-
"yargs": "^16.0.0"
29+
"yargs": "^17.7.2"
2930
},
3031
"devDependencies": {
3132
"eslint": "^8.57.0"

0 commit comments

Comments
 (0)