@fkui/design 5.46.0 → 6.0.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.
@@ -40,7 +40,7 @@ $LABEL_SELECTOR: ".label" !default;
40
40
  display: block;
41
41
  font-weight: var(--f-font-weight-normal);
42
42
 
43
- &--discrete {
43
+ &--format {
44
44
  color: var(--f-text-color-discrete);
45
45
  }
46
46
  }
@@ -0,0 +1,35 @@
1
+ @use "../../core/mixins/breakpoints";
2
+
3
+ $LOGO_SELECTOR: ".logo" !default;
4
+
5
+ #{$LOGO_SELECTOR} {
6
+ display: inline-block;
7
+
8
+ &--small {
9
+ padding: var(--f-logo-size-small);
10
+ background: var(--f-logo-image-small);
11
+ background-repeat: no-repeat;
12
+ background-position: center;
13
+ }
14
+
15
+ &--large {
16
+ padding: var(--f-logo-size-large);
17
+ background: var(--f-logo-image-large);
18
+ background-repeat: no-repeat;
19
+ background-position: center;
20
+ }
21
+
22
+ &--responsive {
23
+ padding: var(--f-logo-size-large);
24
+ background: var(--f-logo-image-large);
25
+ background-repeat: no-repeat;
26
+ background-position: center;
27
+
28
+ @include breakpoints.breakpoint-only(sm) {
29
+ padding: var(--f-logo-size-small);
30
+ background: var(--f-logo-image-small);
31
+ background-repeat: no-repeat;
32
+ background-position: center;
33
+ }
34
+ }
35
+ }
@@ -77,16 +77,6 @@ $modal-width: calc(100vw - 40px) !default; // 100% - 20px each side;
77
77
  max-width: $size;
78
78
  }
79
79
  }
80
-
81
- // @deprecated alias, use --large (to be removed in fkui 4.x)
82
- &-large {
83
- max-width: map.get($modal-sizes, "large");
84
- }
85
-
86
- // @deprecated alias, use --fullwidth (to be removed in fkui 4.x)
87
- &-fullscreen {
88
- max-width: map.get($modal-sizes, "fullwidth");
89
- }
90
80
  }
91
81
 
92
82
  // mobile sizes
@@ -1,14 +1,7 @@
1
1
  @use "../../core/size";
2
- @use "../../core/mixins/breakpoints";
3
- @use "../../core/config-variables";
4
2
 
5
- $assets-primary-logo-path: "#{config-variables.$asset-path}/infrastructure/web/assets/images" !default;
6
3
  $PAGE_HEADER_SELECTOR: ".page-header" !default;
7
4
  $page-header-separator-width: 1px !default;
8
- $page-header-logo-small-size: 0.8rem;
9
- $page-header-logo-large-size: 12.39rem;
10
- $fk-logo-small: "fk-logo-primary-small.svg";
11
- $fk-logo-large: "fk-logo-primary-large.svg";
12
5
 
13
6
  #{$PAGE_HEADER_SELECTOR} {
14
7
  display: flex;
@@ -26,35 +19,7 @@ $fk-logo-large: "fk-logo-primary-large.svg";
26
19
  padding: 0;
27
20
  align-items: center;
28
21
  box-sizing: border-box;
29
- &--small {
30
- display: inline-block;
31
- background-repeat: no-repeat;
32
- background-position: center;
33
- padding: $page-header-logo-small-size;
34
- background-image: url("#{config-variables.$asset-path-images}/#{$fk-logo-small}");
35
- }
36
- &--large {
37
- display: inline-block;
38
- background-repeat: no-repeat;
39
- background-position: center;
40
- background-color: var(--f-background-pageheader-primary);
41
- padding: $page-header-logo-small-size calc($page-header-logo-large-size / 2);
42
- background-image: url("#{config-variables.$asset-path-images}/#{$fk-logo-large}");
43
- }
44
- &--responsive {
45
- display: inline-block;
46
- background-repeat: no-repeat;
47
- background-position: center;
48
- background-color: var(--f-background-pageheader-primary);
49
- padding: $page-header-logo-small-size calc($page-header-logo-large-size / 2);
50
- background-image: url("#{config-variables.$asset-path-images}/#{$fk-logo-large}");
51
22
 
52
- @include breakpoints.breakpoint-only(sm) {
53
- min-width: $page-header-logo-small-size;
54
- padding: $page-header-logo-small-size;
55
- background-image: url("#{config-variables.$asset-path-images}/#{$fk-logo-small}");
56
- }
57
- }
58
23
  & > a {
59
24
  display: inline-flex;
60
25
  }
@@ -1,4 +1,5 @@
1
1
  @use "focus";
2
+ @use "variables" as *;
2
3
 
3
4
  @mixin make-button-variant(
4
5
  $name,
@@ -8,18 +9,18 @@
8
9
  $color,
9
10
  $color--hover: $color,
10
11
  $color--focus: $color--hover,
11
- $color--disabled: var(--f-text-color-button-disabled),
12
+ $color--disabled: $button-color-text-disabled,
12
13
  $icon-color: $color,
13
14
  $icon-color--hover: $color--hover,
14
15
  $icon-color--focus: $color--focus,
15
16
  $icon-color--disabled: $color--disabled,
16
17
  $background-color--hover: $background-color,
17
18
  $background-color--focus: $background-color--hover,
18
- $background-color--disabled: var(--f-background-button-disabled),
19
- $border-color: transparent,
19
+ $background-color--disabled: $button-color-background-disabled,
20
+ $border-color: $button-color-border-default,
20
21
  $border-color--hover: $border-color,
21
22
  $border-color--focus: $border-color--hover,
22
- $border-color--disabled: var(--f-border-color-button-disabled),
23
+ $border-color--disabled: $button-color-border-disabled,
23
24
  $border-width: var(--f-border-width-medium),
24
25
  $padding-top,
25
26
  $padding-right,
@@ -0,0 +1,4 @@
1
+ $button-color-border-default: transparent;
2
+ $button-color-background-disabled: var(--fkds-color-action-background-disabled);
3
+ $button-color-border-disabled: var(--fkds-color-action-border-disabled);
4
+ $button-color-text-disabled: var(--fkds-color-action-text-disabled);
@@ -1,5 +1,5 @@
1
1
  const stylelint = require("stylelint");
2
- const deprecatedVariables = require("@fkui/css-variables/dist/deprecated-variables.json");
2
+ const deprecatedVariables = require("@fkui/theme-default/dist/deprecated-variables.json");
3
3
 
4
4
  /**
5
5
  * @typedef { import("postcss").Root } Root