@sb1/ffe-buttons 21.3.3 → 21.3.4

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/css/buttons.css CHANGED
@@ -230,7 +230,7 @@
230
230
  .ffe-button--expand:focus,
231
231
  .ffe-button--secondary:visited,
232
232
  .ffe-button--expand:visited {
233
- color: var(--ffe-color-component-button-secondary-foreground-default);
233
+ color: var(--ffe-color-component-button-secondary-foreground-hover);
234
234
  background-color: var(--ffe-color-component-button-secondary-fill-hover);
235
235
  }
236
236
  .ffe-button--secondary:active,
@@ -5,7 +5,9 @@
5
5
  --padding-sm: calc(var(--ffe-spacing-2xs) - var(--border-width));
6
6
  --padding-md: calc(var(--ffe-spacing-xs) - var(--border-width));
7
7
  --padding-lg: calc(12px - var(--border-width));
8
- --icon-only-color: var(--ffe-color-component-button-action-foreground-default);
8
+ --icon-only-color: var(
9
+ --ffe-color-component-button-action-foreground-default
10
+ );
9
11
 
10
12
  align-items: center;
11
13
  appearance: none;
@@ -104,7 +106,9 @@
104
106
  padding: var(--padding-lg) var(--ffe-spacing-md);
105
107
 
106
108
  &.ffe-button--icon-only {
107
- padding: var(--padding-md); //Md for å kompansere for hvor stort lg-ikonet er i forhold til lg-knappen
109
+ padding: var(
110
+ --padding-md
111
+ ); //Md for å kompansere for hvor stort lg-ikonet er i forhold til lg-knappen
108
112
  }
109
113
  }
110
114
 
@@ -210,9 +214,7 @@
210
214
 
211
215
  &:focus,
212
216
  &:visited {
213
- color: var(
214
- --ffe-color-component-button-secondary-foreground-default
215
- );
217
+ color: var(--ffe-color-component-button-secondary-foreground-hover);
216
218
  background-color: var(
217
219
  --ffe-color-component-button-secondary-fill-hover
218
220
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sb1/ffe-buttons",
3
- "version": "21.3.3",
3
+ "version": "21.3.4",
4
4
  "license": "MIT",
5
5
  "author": "SpareBank1",
6
6
  "files": [
@@ -26,5 +26,5 @@
26
26
  "access": "public"
27
27
  },
28
28
  "type": "module",
29
- "gitHead": "61e0e1ffb823447811627196398c7818d0e8cea3"
29
+ "gitHead": "cac354c1463aa04333381b0b3f6f51fadd3fa62e"
30
30
  }