@sb1/ffe-core 26.0.0 → 26.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/less/theme.less +4 -0
- package/less/typography.less +15 -0
- package/package.json +4 -4
package/less/theme.less
CHANGED
|
@@ -143,6 +143,8 @@
|
|
|
143
143
|
--ffe-g-link-color: var(--ffe-farge-vann);
|
|
144
144
|
--ffe-g-link-color-hover: var(--ffe-farge-fjell);
|
|
145
145
|
--ffe-g-link-color-visited: var(--ffe-farge-lyng);
|
|
146
|
+
--ffe-g-link-icon-color-hover: var(--ffe-farge-natt);
|
|
147
|
+
--ffe-g-link-icon-color-focus: var(--ffe-farge-vann);
|
|
146
148
|
|
|
147
149
|
@media (prefers-color-scheme: dark) {
|
|
148
150
|
.native {
|
|
@@ -155,6 +157,8 @@
|
|
|
155
157
|
--ffe-g-link-color: var(--ffe-farge-vann-70);
|
|
156
158
|
--ffe-g-link-color-hover: var(--ffe-farge-vann-30);
|
|
157
159
|
--ffe-g-link-color-visited: var(--ffe-farge-lyng-70);
|
|
160
|
+
--ffe-g-link-icon-color-hover: var(--ffe-farge-vann-30);
|
|
161
|
+
--ffe-g-link-icon-color-focus: var(--ffe-farge-hvit);
|
|
158
162
|
}
|
|
159
163
|
}
|
|
160
164
|
}
|
package/less/typography.less
CHANGED
|
@@ -328,6 +328,21 @@
|
|
|
328
328
|
}
|
|
329
329
|
}
|
|
330
330
|
|
|
331
|
+
.ffe-link-icon {
|
|
332
|
+
fill: var(--ffe-g-link-color);
|
|
333
|
+
display: inline-flex;
|
|
334
|
+
border-radius: 1.5rem;
|
|
335
|
+
border: 2px solid transparent;
|
|
336
|
+
outline: 0;
|
|
337
|
+
padding: @ffe-spacing-2xs;
|
|
338
|
+
&:hover {
|
|
339
|
+
fill: var(--ffe-g-link-icon-color-hover);
|
|
340
|
+
}
|
|
341
|
+
&:focus {
|
|
342
|
+
box-shadow: 0 0 0 2px var(--ffe-g-link-icon-color-focus);
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
|
|
331
346
|
.ffe-divider-line {
|
|
332
347
|
border: none;
|
|
333
348
|
border-bottom: solid 1px @ffe-farge-lysgraa;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sb1/ffe-core",
|
|
3
|
-
"version": "26.
|
|
3
|
+
"version": "26.1.0",
|
|
4
4
|
"description": "Rammeverk for Felles Front End",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "SpareBank 1",
|
|
@@ -16,20 +16,20 @@
|
|
|
16
16
|
"url": "ssh://git@github.com:SpareBank1/designsystem.git"
|
|
17
17
|
},
|
|
18
18
|
"scripts": {
|
|
19
|
-
"lint": "stylelint less/*.less",
|
|
19
|
+
"lint": "ffe-buildtool stylelint less/*.less",
|
|
20
20
|
"test": "npm run lint",
|
|
21
21
|
"clean": "rm -rf css/ gen-src/ lib/",
|
|
22
22
|
"build": "./scripts/build.js tokens.config.js && ./scripts/build-custom-mq.js less/breakpoints.less css/custom-media-queries.css && tsc gen-src/index.ts --declaration --outDir lib"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
+
"@sb1/ffe-buildtool": "^0.5.0",
|
|
25
26
|
"case": "^1.5.5",
|
|
26
27
|
"less": "^4.1.2",
|
|
27
28
|
"postcss": "^8.3.6",
|
|
28
|
-
"stylelint": "^13.0.0",
|
|
29
29
|
"typescript": "^4.6.4"
|
|
30
30
|
},
|
|
31
31
|
"publishConfig": {
|
|
32
32
|
"access": "public"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "816e0f967f7b2d8fd6cca41bb9d363a4c7933116"
|
|
35
35
|
}
|