@rijkshuisstijl-community/components-css 8.0.0 → 9.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.
- package/CHANGELOG.md +68 -0
- package/README.md +2 -2
- package/dist/index.css +4 -11
- package/index.scss +45 -3
- package/package.json +44 -2
- package/src/article/index.scss +4 -4
- package/src/card/_mixin.scss +4 -4
- package/src/card-as-link/_mixin.scss +3 -3
- package/src/checkbox/index.scss +0 -8
- package/src/checkbox-group/index.scss +12 -0
- package/src/figure/index.scss +6 -9
- package/src/file-input/index.scss +2 -2
- package/src/footer/index.scss +2 -2
- package/src/form/index.scss +1 -1
- package/src/form-field/index.scss +6 -2
- package/src/link-list/index.scss +3 -3
- package/src/message-list/_mixin.scss +3 -3
- package/src/navbar/index.scss +1 -1
- package/src/navigation-list/_mixin.scss +11 -11
- package/src/radio-group/index.scss +1 -1
- package/src/rounded-corner/_mixin.scss +15 -0
- package/src/rounded-corner/index.scss +26 -0
- package/src/table/index.scss +2 -2
- package/src/textarea/index.scss +1 -1
package/index.scss
CHANGED
|
@@ -3,9 +3,6 @@
|
|
|
3
3
|
* Copyright (c) 2021 Community for NL Design System
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
@use "@utrecht/component-library-css/dist/index.css";
|
|
7
|
-
@use "@utrecht/component-library-css/dist/html.css";
|
|
8
|
-
|
|
9
6
|
@use "src/accordion/index" as accordion;
|
|
10
7
|
@use "src/action-group/index" as actionGroup;
|
|
11
8
|
@use "src/alert/index" as alert;
|
|
@@ -16,6 +13,7 @@
|
|
|
16
13
|
@use "src/card-as-link/index" as cardAsLink;
|
|
17
14
|
@use "src/card/index" as card;
|
|
18
15
|
@use "src/checkbox/index" as checkbox;
|
|
16
|
+
@use "src/checkbox-group/index" as checkboxGroup;
|
|
19
17
|
@use "src/code-input/index" as codeInput;
|
|
20
18
|
@use "src/code-input-group/index" as codeInputGroup;
|
|
21
19
|
@use "src/data-badge-button/index" as dataBadgeButton;
|
|
@@ -44,6 +42,7 @@
|
|
|
44
42
|
@use "src/pre-heading/index" as preHeading;
|
|
45
43
|
@use "src/radio/index" as radio;
|
|
46
44
|
@use "src/radio-group/index" as radioGroup;
|
|
45
|
+
@use "src/rounded-corner/index" as roundedCorner;
|
|
47
46
|
@use "src/select/index" as select;
|
|
48
47
|
@use "src/separator/index" as separator;
|
|
49
48
|
@use "src/side-nav/index" as sideNav;
|
|
@@ -56,3 +55,46 @@
|
|
|
56
55
|
@use "src/visually-hidden/index" as visually-hidden;
|
|
57
56
|
@use "src/wrapper/index" as wrapper;
|
|
58
57
|
@use "src/data-summary/index" as dataSummary;
|
|
58
|
+
|
|
59
|
+
@import "@utrecht/accordion-css/dist/index.css";
|
|
60
|
+
@import "@utrecht/action-group-css/dist/index.css";
|
|
61
|
+
@import "@utrecht/alert-css/dist/index.css";
|
|
62
|
+
@import "@utrecht/badge-list-css/dist/index.css";
|
|
63
|
+
@import "@utrecht/button-css/dist/index.css";
|
|
64
|
+
@import "@utrecht/button-link-css/dist/index.css";
|
|
65
|
+
@import "@utrecht/document-css/dist/index.css";
|
|
66
|
+
@import "@utrecht/article-css/dist/index.css";
|
|
67
|
+
@import "@utrecht/data-badge-css/dist/index.css";
|
|
68
|
+
@import "@utrecht/data-list-css/dist/index.css";
|
|
69
|
+
@import "@utrecht/blockquote-css/dist/index.css";
|
|
70
|
+
@import "@utrecht/breadcrumb-nav-css/dist/index.css";
|
|
71
|
+
@import "@utrecht/checkbox-css/dist/index.css";
|
|
72
|
+
@import "@utrecht/custom-checkbox-css/dist/index.css";
|
|
73
|
+
@import "@utrecht/column-layout-css/dist/index.css";
|
|
74
|
+
@import "@utrecht/drawer-css/dist/index.css";
|
|
75
|
+
@import "@utrecht/figure-css/dist/index.css";
|
|
76
|
+
@import "@utrecht/form-field-css/dist/index.css";
|
|
77
|
+
@import "@utrecht/form-field-description-css/dist/index.css";
|
|
78
|
+
@import "@utrecht/form-field-error-message-css/dist/index.css";
|
|
79
|
+
@import "@utrecht/form-fieldset-css/dist/index.css";
|
|
80
|
+
@import "@utrecht/form-label-css/dist/index.css";
|
|
81
|
+
@import "@utrecht/icon-css/dist/index.css";
|
|
82
|
+
@import "@utrecht/heading-group-css/dist/index.css";
|
|
83
|
+
@import "@utrecht/img-css/dist/index.css";
|
|
84
|
+
@import "@utrecht/link-css/dist/index.css";
|
|
85
|
+
@import "@utrecht/link-list-css/dist/index.css";
|
|
86
|
+
@import "@utrecht/ordered-list-css/dist/index.css";
|
|
87
|
+
@import "@utrecht/page-body-css/dist/index.css";
|
|
88
|
+
@import "@utrecht/page-content-css/dist/index.css";
|
|
89
|
+
@import "@utrecht/page-footer-css/dist/index.css";
|
|
90
|
+
@import "@utrecht/page-header-css/dist/index.css";
|
|
91
|
+
@import "@utrecht/page-layout-css/dist/index.css";
|
|
92
|
+
@import "@utrecht/paragraph-css/dist/index.css";
|
|
93
|
+
@import "@utrecht/pre-heading-css/dist/index.css";
|
|
94
|
+
@import "@utrecht/radio-button-css/dist/index.css";
|
|
95
|
+
@import "@utrecht/select-css/dist/index.css";
|
|
96
|
+
@import "@utrecht/separator-css/dist/index.css";
|
|
97
|
+
@import "@utrecht/table-css/dist/index.css";
|
|
98
|
+
@import "@utrecht/textbox-css/dist/index.css";
|
|
99
|
+
@import "@utrecht/textarea-css/dist/index.css";
|
|
100
|
+
@import "@utrecht/unordered-list-css/dist/index.css";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rijkshuisstijl-community/components-css",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "9.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"author": "Community for NL Design System",
|
|
6
6
|
"description": "CSS Components for a design system based on the NL Design System architecture",
|
|
@@ -30,7 +30,49 @@
|
|
|
30
30
|
"@nl-design-system-candidate/number-badge-css": "1.1.2",
|
|
31
31
|
"@nl-design-system-candidate/paragraph-css": "2.1.0",
|
|
32
32
|
"@nl-design-system-candidate/skip-link-css": "1.0.2",
|
|
33
|
-
"@utrecht/component-library-css": "8.0.0"
|
|
33
|
+
"@utrecht/component-library-css": "8.0.0",
|
|
34
|
+
"@utrecht/action-group-css": "2.0.0",
|
|
35
|
+
"@utrecht/accordion-css": "2.0.0",
|
|
36
|
+
"@utrecht/alert-css": "2.4.0",
|
|
37
|
+
"@utrecht/article-css": "1.5.1",
|
|
38
|
+
"@utrecht/badge-list-css": "2.2.1",
|
|
39
|
+
"@utrecht/data-badge-css": "1.0.1",
|
|
40
|
+
"@utrecht/data-list-css": "1.4.1",
|
|
41
|
+
"@utrecht/blockquote-css": "1.6.1",
|
|
42
|
+
"@utrecht/breadcrumb-nav-css": "1.5.1",
|
|
43
|
+
"@utrecht/button-css": "2.3.1",
|
|
44
|
+
"@utrecht/button-link-css": "1.3.1",
|
|
45
|
+
"@utrecht/checkbox-css": "1.6.1",
|
|
46
|
+
"@utrecht/custom-checkbox-css": "1.3.2",
|
|
47
|
+
"@utrecht/column-layout-css": "1.5.1",
|
|
48
|
+
"@utrecht/document-css": "1.5.1",
|
|
49
|
+
"@utrecht/drawer-css": "1.4.1",
|
|
50
|
+
"@utrecht/figure-css": "1.5.1",
|
|
51
|
+
"@utrecht/form-field-css": "1.5.1",
|
|
52
|
+
"@utrecht/form-field-description-css": "1.5.1",
|
|
53
|
+
"@utrecht/form-field-error-message-css": "1.5.1",
|
|
54
|
+
"@utrecht/form-fieldset-css": "1.5.1",
|
|
55
|
+
"@utrecht/form-label-css": "1.6.1",
|
|
56
|
+
"@utrecht/heading-group-css": "1.5.1",
|
|
57
|
+
"@utrecht/icon-css": "2.0.1",
|
|
58
|
+
"@utrecht/img-css": "1.3.1",
|
|
59
|
+
"@utrecht/link-list-css": "2.3.1",
|
|
60
|
+
"@utrecht/link-css": "1.6.1",
|
|
61
|
+
"@utrecht/ordered-list-css": "2.0.0",
|
|
62
|
+
"@utrecht/page-body-css": "0.1.1",
|
|
63
|
+
"@utrecht/page-content-css": "1.4.1",
|
|
64
|
+
"@utrecht/page-footer-css": "2.1.1",
|
|
65
|
+
"@utrecht/page-header-css": "1.5.1",
|
|
66
|
+
"@utrecht/page-layout-css": "1.1.1",
|
|
67
|
+
"@utrecht/paragraph-css": "2.3.1",
|
|
68
|
+
"@utrecht/pre-heading-css": "1.4.1",
|
|
69
|
+
"@utrecht/radio-button-css": "1.6.1",
|
|
70
|
+
"@utrecht/select-css": "1.8.1",
|
|
71
|
+
"@utrecht/separator-css": "1.5.1",
|
|
72
|
+
"@utrecht/table-css": "1.6.1",
|
|
73
|
+
"@utrecht/textbox-css": "2.0.0",
|
|
74
|
+
"@utrecht/textarea-css": "2.3.1",
|
|
75
|
+
"@utrecht/unordered-list-css": "1.5.1"
|
|
34
76
|
},
|
|
35
77
|
"scripts": {
|
|
36
78
|
"dev": "vite build --watch",
|
package/src/article/index.scss
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// if needed add styles here for the Article components.
|
|
2
2
|
|
|
3
3
|
.utrecht-article {
|
|
4
|
-
font-family: var(--rhc-font-family-
|
|
5
|
-
font-size: var(--rhc-font-size-
|
|
6
|
-
font-weight: var(--rhc-font-weight-regular, inherit);
|
|
7
|
-
line-height: var(--rhc-line-height-md, inherit);
|
|
4
|
+
font-family: var(--rhc-text-font-family-default, inherit);
|
|
5
|
+
font-size: var(--rhc-text-font-size-max-md, inherit);
|
|
6
|
+
font-weight: var(--rhc-text-font-weight-regular, inherit);
|
|
7
|
+
line-height: var(--rhc-text-line-height-md, inherit);
|
|
8
8
|
}
|
package/src/card/_mixin.scss
CHANGED
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
column-gap: var(--rhc-card-column-gap, 16px);
|
|
6
6
|
display: inline-flex;
|
|
7
7
|
flex-direction: column;
|
|
8
|
-
font-family: var(--rhc-font-family-
|
|
9
|
-
font-size: var(--rhc-font-size-
|
|
8
|
+
font-family: var(--rhc-text-font-family-default, inherit);
|
|
9
|
+
font-size: var(--rhc-text-font-size-max-md, inherit);
|
|
10
10
|
inline-size: var(--rhc-card-inline-size, 328px);
|
|
11
|
-
line-height: var(--rhc-line-height-md, inherit);
|
|
11
|
+
line-height: var(--rhc-text-line-height-md, inherit);
|
|
12
12
|
position: relative;
|
|
13
13
|
text-decoration: none;
|
|
14
14
|
}
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
@mixin rhc-card__subheading {
|
|
64
64
|
align-items: center;
|
|
65
65
|
display: flex;
|
|
66
|
-
font-size: var(--rhc-font-size-lg);
|
|
66
|
+
font-size: var(--rhc-text-font-size-lg);
|
|
67
67
|
text-decoration: none;
|
|
68
68
|
}
|
|
69
69
|
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
column-gap: var(--rhc-card-as-link-column-gap, 16px);
|
|
6
6
|
display: inline-flex;
|
|
7
7
|
flex-direction: column;
|
|
8
|
-
font-family: var(--rhc-font-family-
|
|
9
|
-
font-size: var(--rhc-font-size-
|
|
8
|
+
font-family: var(--rhc-text-font-family-default, inherit);
|
|
9
|
+
font-size: var(--rhc-text-font-size-max-md, inherit);
|
|
10
10
|
inline-size: 100%;
|
|
11
|
-
line-height: var(--rhc-line-height-md, inherit);
|
|
11
|
+
line-height: var(--rhc-text-line-height-md, inherit);
|
|
12
12
|
position: relative;
|
|
13
13
|
text-decoration: none;
|
|
14
14
|
}
|
package/src/checkbox/index.scss
CHANGED
|
@@ -24,11 +24,3 @@
|
|
|
24
24
|
.utrecht-checkbox--custom.utrecht-checkbox--html-input[aria-invalid="true"]:hover {
|
|
25
25
|
@include mixin.utrecht-checkbox--invalid;
|
|
26
26
|
}
|
|
27
|
-
|
|
28
|
-
.rhc-checkbox-group {
|
|
29
|
-
display: flex;
|
|
30
|
-
flex-direction: column;
|
|
31
|
-
padding-block-end: var(--rhc-checkbox-group-padding-block-end);
|
|
32
|
-
padding-block-start: var(--rhc-checkbox-group-padding-block-start);
|
|
33
|
-
row-gap: var(--rhc-checkbox-group-row-gap);
|
|
34
|
-
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Community for NL Design System
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
.rhc-checkbox-group {
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
padding-block-end: var(--rhc-checkbox-group-padding-block-end);
|
|
10
|
+
padding-block-start: var(--rhc-checkbox-group-padding-block-start);
|
|
11
|
+
row-gap: var(--rhc-checkbox-group-row-gap);
|
|
12
|
+
}
|
package/src/figure/index.scss
CHANGED
|
@@ -10,15 +10,12 @@
|
|
|
10
10
|
border-start-start-radius: var(--utrecht-figure-img-border-start-start-radius);
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
/* Inline behaviour for rounded-corner to fix cornering on block elements */
|
|
14
|
+
.utrecht-figure .rhc-rounded-corner {
|
|
15
|
+
display: inline-block;
|
|
16
|
+
vertical-align: top;
|
|
16
17
|
}
|
|
17
18
|
|
|
18
|
-
.utrecht-
|
|
19
|
-
border-
|
|
20
|
-
font-family: var(--rhc-font-family-primary, inherit);
|
|
21
|
-
padding-block-end: var(--utrecht-figure-caption-padding-block-end);
|
|
22
|
-
padding-block-start: var(--utrecht-figure-caption-padding-block-start);
|
|
23
|
-
padding-inline-start: var(--utrecht-figure-caption-padding-inline-start);
|
|
19
|
+
.utrecht-figure .rhc-rounded-corner img {
|
|
20
|
+
border-radius: inherit;
|
|
24
21
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
.rhc-file-input {
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
|
-
font-family: var(--rhc-font-family-
|
|
5
|
-
line-height: var(--rhc-line-height-md, inherit);
|
|
4
|
+
font-family: var(--rhc-text-font-family-default, inherit);
|
|
5
|
+
line-height: var(--rhc-text-line-height-md, inherit);
|
|
6
6
|
row-gap: var(--rhc-file-input-row-gap);
|
|
7
7
|
}
|
|
8
8
|
|
package/src/footer/index.scss
CHANGED
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
.rhc-page-footer__section,
|
|
76
76
|
.rhc-page-footer__title {
|
|
77
77
|
break-inside: avoid;
|
|
78
|
-
line-height: var(--rhc-line-height-md, inherit);
|
|
78
|
+
line-height: var(--rhc-text-line-height-md, inherit);
|
|
79
79
|
padding-block-end: var(--rhc-page-footer-padding-block-end);
|
|
80
80
|
}
|
|
81
81
|
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
}
|
|
135
135
|
|
|
136
136
|
.rhc-page-prefooter__content {
|
|
137
|
-
font-family: var(--rhc-font-family-
|
|
137
|
+
font-family: var(--rhc-text-font-family-serif);
|
|
138
138
|
inset: 0% 50% auto auto;
|
|
139
139
|
line-height: 100%;
|
|
140
140
|
margin-inline-end: -2rem;
|
package/src/form/index.scss
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* Copyright (c) 2021 Community for NL Design System
|
|
4
4
|
*/
|
|
5
5
|
.utrecht-form-field {
|
|
6
|
-
font-size: var(--rhc-font-size-
|
|
7
|
-
line-height: var(--rhc-line-height-md, inherit);
|
|
6
|
+
font-size: var(--rhc-text-font-size-max-md, inherit);
|
|
7
|
+
line-height: var(--rhc-text-line-height-md, inherit);
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
.utrecht-rich-text .utrecht-form-field {
|
|
@@ -15,3 +15,7 @@
|
|
|
15
15
|
margin-block-end: var(--rhc-space-100, 0.5rem);
|
|
16
16
|
margin-block-start: var(--rhc-space-100, 0.5rem);
|
|
17
17
|
}
|
|
18
|
+
|
|
19
|
+
.utrecht-form-field__description {
|
|
20
|
+
--utrecht-form-field-description-margin-block-start: calc(-1 * var(--rhc-space-100));
|
|
21
|
+
}
|
package/src/link-list/index.scss
CHANGED
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
|
|
14
14
|
.utrecht-link-list__item {
|
|
15
15
|
display: inline-flex;
|
|
16
|
-
font-family: var(--rhc-font-family-
|
|
17
|
-
font-size: var(--rhc-font-size-
|
|
16
|
+
font-family: var(--rhc-text-font-family-default, inherit);
|
|
17
|
+
font-size: var(--rhc-text-font-size-max-md, inherit);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
.utrecht-link-list__item .utrecht-link:any-link {
|
|
21
|
-
line-height: var(--rhc-line-height-md, inherit);
|
|
21
|
+
line-height: var(--rhc-text-line-height-md, inherit);
|
|
22
22
|
}
|
|
@@ -68,14 +68,14 @@
|
|
|
68
68
|
margin-block: 0;
|
|
69
69
|
}
|
|
70
70
|
@mixin rhc-message-list__item__description {
|
|
71
|
-
--nl-paragraph-color: var(--rhc-color-foreground-
|
|
71
|
+
--nl-paragraph-color: var(--rhc-color-foreground-subtle, inherit);
|
|
72
72
|
--nl-paragraph-font-size: var(--rhc-message-list-item-content-font-size);
|
|
73
73
|
|
|
74
74
|
grid-area: description;
|
|
75
75
|
margin-block: 0;
|
|
76
76
|
}
|
|
77
77
|
@mixin rhc-message-list__item__meta-data {
|
|
78
|
-
--nl-paragraph-color: var(--rhc-color-foreground-
|
|
78
|
+
--nl-paragraph-color: var(--rhc-color-foreground-subtle, inherit);
|
|
79
79
|
--nl-paragraph-font-size: var(--rhc-message-list-item-content-font-size);
|
|
80
80
|
|
|
81
81
|
grid-area: meta;
|
|
@@ -85,5 +85,5 @@
|
|
|
85
85
|
--utrecht-icon-color: var(--rhc-color-foreground-lint, inherit);
|
|
86
86
|
|
|
87
87
|
grid-area: icon;
|
|
88
|
-
min-block-size: var(--rhc-message-list-item-icon-
|
|
88
|
+
min-block-size: var(--rhc-message-list-item-icon-size);
|
|
89
89
|
}
|
package/src/navbar/index.scss
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
column-gap: var(--rhc-nav-bar-content-column-gap);
|
|
17
17
|
display: flex;
|
|
18
18
|
flex: 1;
|
|
19
|
-
font-family: var(--rhc-font-family-
|
|
19
|
+
font-family: var(--rhc-text-font-family-default, inherit);
|
|
20
20
|
justify-content: space-between;
|
|
21
21
|
max-inline-size: var(--rhc-nav-bar-max-inline-size);
|
|
22
22
|
row-gap: var(--rhc-nav-bar-content-row-gap);
|
|
@@ -16,14 +16,14 @@
|
|
|
16
16
|
}
|
|
17
17
|
@mixin rhc-navigation-list__item {
|
|
18
18
|
align-items: center;
|
|
19
|
-
background-color: var(--rhc-navigation-list-item-background-color, var(--rhc-color-
|
|
19
|
+
background-color: var(--rhc-navigation-list-item-background-color, var(--rhc-color-bg-document));
|
|
20
20
|
border-block-end-color: var(--rhc-navigation-list-item-border-color, var(--rhc-color-grijs-300));
|
|
21
21
|
border-block-end-style: solid;
|
|
22
22
|
border-block-end-width: var(--rhc-navigation-list-item-border-width, var(--rhc-border-width-default));
|
|
23
|
-
color: var(--rhc-navigation-list-item-color, var(--rhc-color-foreground-
|
|
23
|
+
color: var(--rhc-navigation-list-item-color, var(--rhc-color-foreground-subtle));
|
|
24
24
|
column-gap: var(--rhc-navigation-list-item-column-gap, var(--rhc-space-100));
|
|
25
25
|
display: flex;
|
|
26
|
-
min-block-size: var(--rhc-navigation-list-item-min-height, var(--rhc-size-target));
|
|
26
|
+
min-block-size: var(--rhc-navigation-list-item-min-height, var(--rhc-size-pointer-target));
|
|
27
27
|
padding-block: var(--rhc-navigation-list-item-padding-block, var(--rhc-space-100));
|
|
28
28
|
padding-inline: var(--rhc-navigation-list-item-padding-inline, var(--rhc-space-200));
|
|
29
29
|
position: relative;
|
|
@@ -43,12 +43,12 @@
|
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
@mixin rhc-navigation-list__item__start-icon {
|
|
46
|
-
--utrecht-icon-color: var(--rhc-navigation-list-icon-color, var(--rhc-color-foreground-
|
|
46
|
+
--utrecht-icon-color: var(--rhc-navigation-list-icon-color, var(--rhc-color-foreground-subtle));
|
|
47
47
|
|
|
48
48
|
background-color: var(--rhc-navigation-list-icon-background-color, var(--rhc-color-wit));
|
|
49
49
|
block-size: var(--rhc-navigation-list-item-icon-size);
|
|
50
50
|
border-radius: var(--rhc-navigation-list-icon-border-radius, var(--rhc-border-radius-circle));
|
|
51
|
-
color: var(--rhc-navigation-list-icon-color, var(--rhc-color-foreground-
|
|
51
|
+
color: var(--rhc-navigation-list-icon-color, var(--rhc-color-foreground-subtle));
|
|
52
52
|
grid-area: start-icon;
|
|
53
53
|
min-inline-size: var(--rhc-navigation-list-item-icon-size);
|
|
54
54
|
padding-block: var(--rhc-navigation-list-item-icon-padding-block);
|
|
@@ -68,18 +68,18 @@
|
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
@mixin rhc-navigation-list__item__label {
|
|
71
|
-
--nl-paragraph-font-size: var(--rhc-navigation-list-item-label-font-size, var(--rhc-font-size-
|
|
72
|
-
--nl-paragraph-font-weight: var(--rhc-navigation-list-item-label-font-weight, var(--rhc-font-weight-bold));
|
|
73
|
-
--nl-paragraph-line-height: var(--rhc-navigation-list-item-label-line-height, var(--rhc-line-height-md));
|
|
71
|
+
--nl-paragraph-font-size: var(--rhc-navigation-list-item-label-font-size, var(--rhc-text-font-size-max-xl));
|
|
72
|
+
--nl-paragraph-font-weight: var(--rhc-navigation-list-item-label-font-weight, var(--rhc-text-font-weight-bold));
|
|
73
|
+
--nl-paragraph-line-height: var(--rhc-navigation-list-item-label-line-height, var(--rhc-text-line-height-md));
|
|
74
74
|
|
|
75
75
|
color: var(--rhc-navigation-list-item-heading-color, var(--rhc-color-foreground-lint));
|
|
76
|
-
font-family: var(--rhc-navigation-list-item-label-font-family, var(--rhc-font-family-
|
|
76
|
+
font-family: var(--rhc-navigation-list-item-label-font-family, var(--rhc-text-font-family-default)), sans-serif;
|
|
77
77
|
grid-area: label;
|
|
78
78
|
margin-block: 0;
|
|
79
79
|
}
|
|
80
80
|
@mixin rhc-navigation-list__item__description {
|
|
81
|
-
--nl-paragraph-color: var(--rhc-color-foreground-
|
|
82
|
-
--nl-paragraph-font-size: var(--rhc-navigation-list-item-content-font-size, var(--rhc-font-size-
|
|
81
|
+
--nl-paragraph-color: var(--rhc-color-foreground-subtle);
|
|
82
|
+
--nl-paragraph-font-size: var(--rhc-navigation-list-item-content-font-size, var(--rhc-text-font-size-max-lg));
|
|
83
83
|
|
|
84
84
|
grid-area: content;
|
|
85
85
|
margin-block: 0;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
|
|
3
|
+
$rhc-rounded-corner-positions: ("start-start", "start-end", "end-start", "end-end") !default;
|
|
4
|
+
$rhc-rounded-corner-sizes: ("sm", "md", "lg") !default;
|
|
5
|
+
|
|
6
|
+
@mixin rhc-rounded-corner {
|
|
7
|
+
overflow: var(--rhc-rounded-corner-overflow);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
@mixin rhc-reset-border-radius {
|
|
11
|
+
border-end-end-radius: 0;
|
|
12
|
+
border-end-start-radius: 0;
|
|
13
|
+
border-start-end-radius: 0;
|
|
14
|
+
border-start-start-radius: 0;
|
|
15
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
@use "mixin";
|
|
2
|
+
|
|
3
|
+
.rhc-rounded-corner {
|
|
4
|
+
--_rhc-rounded-corner-border-radius: var(
|
|
5
|
+
--rhc-rounded-corner-border-radius,
|
|
6
|
+
var(--rhc-rounded-corner-md-border-radius)
|
|
7
|
+
);
|
|
8
|
+
@include mixin.rhc-rounded-corner;
|
|
9
|
+
@include mixin.rhc-reset-border-radius;
|
|
10
|
+
|
|
11
|
+
&.rhc-rounded-corner--size {
|
|
12
|
+
@each $size in mixin.$rhc-rounded-corner-sizes {
|
|
13
|
+
&-#{$size} {
|
|
14
|
+
--_rhc-rounded-corner-border-radius: var(--rhc-rounded-corner-#{$size}-border-radius);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&.rhc-rounded-corner--position {
|
|
20
|
+
@each $position in mixin.$rhc-rounded-corner-positions {
|
|
21
|
+
&-#{$position} {
|
|
22
|
+
border-#{$position}-radius: var(--_rhc-rounded-corner-border-radius);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
package/src/table/index.scss
CHANGED
|
@@ -35,11 +35,11 @@
|
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
&-cell {
|
|
38
|
-
--utrecht-table-cell-line-height: var(--rhc-line-height-md, inherit);
|
|
38
|
+
--utrecht-table-cell-line-height: var(--rhc-text-line-height-md, inherit);
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
&--cell {
|
|
42
|
-
--utrecht-table-cell-line-height: var(--rhc-line-height-md, inherit);
|
|
42
|
+
--utrecht-table-cell-line-height: var(--rhc-text-line-height-md, inherit);
|
|
43
43
|
|
|
44
44
|
&-row {
|
|
45
45
|
--utrecht-table-header-cell-font-weight: --utrecht-table-row-border-block-end-width;
|
package/src/textarea/index.scss
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.utrecht-textarea {
|
|
2
2
|
&:focus {
|
|
3
|
-
border-width: var(--
|
|
3
|
+
border-width: var(--rhc-textarea-focus-border-width, var(--rhc-border-width-m, 2px));
|
|
4
4
|
}
|
|
5
5
|
&--html-textarea:read-only {
|
|
6
6
|
--utrecht-textarea-read-only-border: var(--utrecht-textarea-read-only-background-color, --rhc-color-grijs-100);
|