@kth/style 1.9.0 → 1.11.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kth/style",
3
- "version": "1.9.0",
3
+ "version": "1.11.0",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "exports": {
@@ -8,7 +8,7 @@
8
8
  padding: s.$space-8;
9
9
  background: var(--color-background);
10
10
  color: var(--color-text);
11
- border-radius: s.$space-4;
11
+ border-radius: s.$space-0;
12
12
 
13
13
  // TODO: move those border styles to design tokens
14
14
  // TODO: create tokens for shadows
@@ -10,7 +10,7 @@
10
10
  justify-content: center;
11
11
  align-items: center;
12
12
  border: unset;
13
- border-radius: spacing.$space-4;
13
+ border-radius: spacing.$space-20;
14
14
  background: none;
15
15
  @include typography.font-heading-xs;
16
16
  text-decoration: none;
@@ -11,7 +11,7 @@ $icon-size: calc(#{spacing.$space-24} + 2 * var(--space-inner-icon));
11
11
  padding: var(--space-inner-icon);
12
12
  width: $icon-size;
13
13
  height: $icon-size;
14
- border-radius: spacing.$space-4;
14
+ border-radius: spacing.$space-20;
15
15
 
16
16
  &:hover {
17
17
  background: var(--color-secondary-hover);
@@ -65,7 +65,7 @@
65
65
  width: spacing.$space-24;
66
66
  min-width: spacing.$space-24;
67
67
  border: 1px solid var(--color-secondary);
68
- border-radius: spacing.$space-4;
68
+ border-radius: spacing.$space-0;
69
69
  background-color: var(--color-on-primary);
70
70
  display: flex;
71
71
  align-items: center;
@@ -23,7 +23,7 @@ $secondary-border-width: math.div(1rem, 16);
23
23
 
24
24
  padding-inline: var(--space-inner-inline);
25
25
  padding-block: calc(var(--space-inner-block) - var(--border-width));
26
- border-radius: spacing.$space-4;
26
+ border-radius: spacing.$space-0;
27
27
  border-width: var(--border-width);
28
28
  border-style: solid;
29
29
  border-color: var(--color-secondary);
@@ -15,7 +15,6 @@ $kpm-height: 2.5rem !default;
15
15
  *::before,
16
16
  *::after {
17
17
  box-sizing: border-box;
18
- overflow-wrap: anywhere;
19
18
  }
20
19
 
21
20
  h1,
@@ -101,6 +100,7 @@ $kpm-height: 2.5rem !default;
101
100
  margin-top: $kpm-height;
102
101
  display: flex;
103
102
  flex-direction: column;
103
+ overflow-wrap: anywhere;
104
104
  }
105
105
 
106
106
  @include reset;