@workday/canvas-kit-css 13.2.0 → 13.2.2

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/switch.css DELETED
@@ -1,93 +0,0 @@
1
- .cnvs-switch-container {
2
- box-sizing: border-box;
3
- position: relative;
4
- height: var(--cnvs-sys-space-x6);
5
- width: var(--cnvs-sys-space-x8);
6
- }
7
-
8
-
9
- .cnvs-switch-input {
10
- box-sizing: border-box;
11
- display: flex;
12
- position: absolute;
13
- height: var(--cnvs-sys-space-x6);
14
- width: var(--cnvs-sys-space-x8);
15
- margin: var(--cnvs-sys-space-zero);
16
- margin-left: var(--cnvs-sys-space-x1);
17
- border-radius: var(--cnvs-sys-shape-round);
18
- opacity: 0;
19
- cursor: pointer;
20
- }
21
-
22
- .cnvs-switch-input:checked~div:first-of-type, .cnvs-switch-input.checked~div:first-of-type {
23
- background-color: var(--cnvs-brand-primary-base);
24
- }
25
-
26
- .cnvs-switch-input:checked:disabled~div:first-of-type, .cnvs-switch-input.checked:disabled~div:first-of-type, .cnvs-switch-input:checked.disabled~div:first-of-type, .cnvs-switch-input.checked.disabled~div:first-of-type {
27
- opacity: var(--cnvs-sys-opacity-disabled);
28
- }
29
-
30
- .cnvs-switch-input:disabled, .cnvs-switch-input.disabled {
31
- cursor: not-allowed;
32
- }
33
-
34
- .cnvs-switch-input:disabled~div:first-of-type, .cnvs-switch-input.disabled~div:first-of-type {
35
- opacity: var(--cnvs-sys-opacity-disabled);
36
- }
37
-
38
- .cnvs-switch-input:focus-visible, .cnvs-switch-input:focus, .cnvs-switch-input.focus {
39
- outline: none;
40
- }
41
-
42
- .cnvs-switch-input:focus-visible~div:first-of-type, .cnvs-switch-input:focus~div:first-of-type, .cnvs-switch-input.focus~div:first-of-type {
43
- box-shadow: 0 0 0 2px var(--cnvs-base-palette-french-vanilla-100, rgba(255,255,255,1)),0 0 0 4px var(--cnvs-brand-common-focus-outline, rgba(8,117,225,1));
44
- }
45
-
46
-
47
- .cnvs-switch-input.error-error~div:first-of-type {
48
- box-shadow: 0 0 0 0.125rem var(--cnvs-sys-color-border-inverse),0 0 0 var(--cnvs-sys-space-x1) var(--cnvs-brand-error-base),0 0 0 0.3125rem transparent;
49
- }
50
-
51
-
52
- .cnvs-switch-input.error-alert~div:first-of-type {
53
- box-shadow: 0 0 0 0.125rem var(--cnvs-sys-color-border-inverse),0 0 0 var(--cnvs-sys-space-x1) var(--cnvs-brand-alert-base),0 0 0 0.3125rem var(--cnvs-brand-alert-darkest);
54
- }
55
-
56
-
57
- .cnvs-switch-background {
58
- box-sizing: border-box;
59
- position: absolute;
60
- display: flex;
61
- align-items: center;
62
- pointer-events: none;
63
- margin-top: var(--cnvs-sys-space-x1);
64
- width: var(--cnvs-sys-space-x8);
65
- height: var(--cnvs-sys-space-x4);
66
- border-radius: var(--cnvs-sys-shape-round);
67
- padding: var(--cnvs-sys-space-zero) 0.125rem;
68
- transition: background-color 200ms ease;
69
- background-color: var(--cnvs-sys-color-bg-muted-soft);
70
- }
71
-
72
-
73
- .cnvs-switch-circle {
74
- box-sizing: border-box;
75
- width: var(--cnvs-sys-space-x3);
76
- height: var(--cnvs-sys-space-x3);
77
- border-radius: var(--cnvs-sys-shape-round);
78
- box-shadow: var(--cnvs-sys-depth-1);
79
- transition: transform 150ms ease;
80
- pointer-events: none;
81
- background-color: var(--cnvs-brand-primary-accent);
82
- transform: translateX(var(--cnvs-sys-space-zero));
83
- }
84
-
85
-
86
- .cnvs-switch-circle.checked {
87
- transform: translateX(var(--cnvs-sys-space-x4));
88
- }
89
-
90
- .cnvs-switch-circle.checked :dir(rtl) {
91
- transform: translateX(calc(var(--cnvs-sys-space-x4) * -1));
92
- }
93
-
package/table.css DELETED
@@ -1,132 +0,0 @@
1
- .cnvs-base-table-head {
2
- box-sizing: border-box;
3
- background-color: var(--cnvs-sys-color-bg-alt-softer);
4
- min-height: calc(var(--cnvs-sys-space-x16) - var(--cnvs-sys-space-x4));
5
- }
6
-
7
- .cnvs-base-table-head th:first-of-type {
8
- border-inline-start: none;
9
- }
10
-
11
- .cnvs-base-table-head th:last-of-type {
12
- border-inline-end: none;
13
- }
14
-
15
-
16
- .cnvs-base-table-body {
17
- box-sizing: border-box;
18
- }
19
-
20
- .cnvs-base-table-body tr:last-of-type td, .cnvs-base-table-body tr:last-of-type th {
21
- border-bottom: none;
22
- }
23
-
24
- .cnvs-base-table-body tr:first-of-type td, .cnvs-base-table-body tr:first-of-type th {
25
- border-top: none;
26
- }
27
-
28
- .cnvs-base-table-body td:last-of-type {
29
- border-inline-end: none;
30
- }
31
-
32
- .cnvs-base-table-body td:first-of-type {
33
- border-inline-start: none;
34
- }
35
-
36
-
37
- .cnvs-base-table-header {
38
- box-sizing: border-box;
39
- background-color: var(--cnvs-sys-color-bg-default);
40
- border-bottom: 0.0625rem solid var(--cnvs-sys-color-border-divider);
41
- justify-content: start;
42
- min-height: calc(var(--cnvs-sys-space-x16) - var(--cnvs-sys-space-x2));
43
- padding: var(--cnvs-sys-space-x2) var(--cnvs-sys-space-x4);
44
- word-break: break-word;
45
- font-weight: var(--cnvs-sys-font-weight-medium);
46
- }
47
-
48
-
49
- .cnvs-base-table-cell {
50
- box-sizing: border-box;
51
- align-items: center;
52
- background-color: var(--cnvs-sys-color-bg-default);
53
- border-bottom: 0.0625rem solid var(--cnvs-sys-color-border-divider);
54
- grid-template-columns: 1fr;
55
- justify-content: start;
56
- min-height: 3.5rem;
57
- padding: var(--cnvs-sys-space-x2) var(--cnvs-sys-space-x4);
58
- word-break: break-word;
59
- }
60
-
61
-
62
- .cnvs-base-table-caption {
63
- box-sizing: border-box;
64
- padding: var(--cnvs-sys-space-x2) var(--cnvs-sys-space-x4);
65
- }
66
-
67
-
68
- .cnvs-base-table {
69
- box-sizing: border-box;
70
- font-family: var(--cnvs-sys-font-family-default);
71
- font-weight: var(--cnvs-sys-font-weight-normal);
72
- line-height: var(--cnvs-sys-line-height-subtext-large);
73
- font-size: var(--cnvs-sys-font-size-subtext-large);
74
- letter-spacing: var(--cnvs-base-letter-spacing-150);
75
- border: 0.0625rem solid var(--cnvs-sys-color-border-container);
76
- border-radius: var(--cnvs-sys-shape-x2);
77
- overflow: auto;
78
- color: var(--cnvs-sys-color-text-default);
79
- }
80
-
81
-
82
- .cnvs-table-row {
83
- box-sizing: border-box;
84
- display: grid;
85
- grid-auto-flow: column;
86
- grid-template-columns: repeat(var(--cnvs-table-row-children-cell-number), minmax(10rem, 1fr));
87
- }
88
-
89
-
90
- .cnvs-table {
91
- box-sizing: border-box;
92
- display: grid;
93
- }
94
-
95
-
96
- .cnvs-table-body {
97
- box-sizing: border-box;
98
- display: grid;
99
- }
100
-
101
-
102
- .cnvs-table-caption {
103
- box-sizing: border-box;
104
- display: flex;
105
- border-bottom: 0.0625rem solid var(--cnvs-sys-color-border-container);
106
- }
107
-
108
-
109
- .cnvs-table-cell {
110
- box-sizing: border-box;
111
- display: grid;
112
- }
113
-
114
-
115
- .cnvs-table-footer {
116
- box-sizing: border-box;
117
- display: grid;
118
- }
119
-
120
-
121
- .cnvs-table-head {
122
- box-sizing: border-box;
123
- display: grid;
124
- }
125
-
126
-
127
- .cnvs-table-header {
128
- box-sizing: border-box;
129
- display: grid;
130
- align-items: center;
131
- }
132
-
package/tabs.css DELETED
@@ -1,123 +0,0 @@
1
- .cnvs-tab-item {
2
- box-sizing: border-box;
3
- font-family: var(--cnvs-sys-font-family-default),Helvetica Neue,Helvetica,Arial,sans-serif;
4
- font-weight: var(--cnvs-sys-font-weight-medium);
5
- line-height: var(--cnvs-sys-line-height-subtext-large);
6
- font-size: var(--cnvs-sys-font-size-subtext-large);
7
- letter-spacing: var(--cnvs-base-letter-spacing-150);
8
- border: none;
9
- background-color: transparent;
10
- flex: 0 0 auto;
11
- min-width: var(--cnvs-sys-space-zero);
12
- align-items: center;
13
- padding: var(--cnvs-sys-space-x3) var(--cnvs-sys-space-x4);
14
- height: 3.25rem;
15
- cursor: pointer;
16
- color: var(--cnvs-sys-color-fg-muted-default);
17
- position: relative;
18
- border-radius: var(--cnvs-sys-space-x1) var(--cnvs-sys-space-x1) var(--cnvs-sys-space-zero) var(--cnvs-sys-space-zero);
19
- transition: background 150ms ease,color 150ms ease;
20
- white-space: nowrap;
21
- text-overflow: ellipsis;
22
- overflow: hidden;
23
- --cnvs-system-icon-color: var(--cnvs-sys-color-fg-muted-soft);
24
- }
25
-
26
- .cnvs-tab-item:has(span) {
27
- display: flex;
28
- gap: var(--cnvs-sys-space-x2);
29
- }
30
-
31
- .cnvs-tab-item:hover, .cnvs-tab-item.hover, .cnvs-tab-item:focus-visible, .cnvs-tab-item.focus {
32
- background-color: var(--cnvs-base-palette-soap-200);
33
- color: var(--cnvs-base-palette-black-pepper-400);
34
- --cnvs-system-icon-color: var(--cnvs-sys-color-icon-strong);
35
- }
36
-
37
- .cnvs-tab-item:focus-visible, .cnvs-tab-item.focus {
38
- outline: none;
39
- box-shadow: inset 0 0 0 2px var(--cnvs-brand-common-focus-outline, rgba(8,117,225,1)),inset 0 0 0 2px var(--cnvs-base-palette-french-vanilla-100, rgba(255,255,255,1));
40
- --cnvs-button-box-shadow-inner: var(--cnvs-sys-color-border-inverse);
41
- --cnvs-button-box-shadow-outer: var(--cnvs-brand-common-focus-outline);
42
- --cnvs-system-icon-color: var(--cnvs-sys-color-icon-strong);
43
- }
44
-
45
- .cnvs-tab-item:disabled, .cnvs-tab-item.disabled, .cnvs-tab-item[aria-disabled] {
46
- color: var(--cnvs-sys-color-text-disabled);
47
- --cnvs-system-icon-color: var(--cnvs-sys-color-fg-disabled);
48
- }
49
-
50
- .cnvs-tab-item:disabled:hover, .cnvs-tab-item.disabled:hover, .cnvs-tab-item[aria-disabled]:hover {
51
- cursor: auto;
52
- background-color: var(--cnvs-sys-color-bg-transparent);
53
- --cnvs-system-icon-color: var(--cnvs-sys-color-fg-disabled);
54
- }
55
-
56
- .cnvs-tab-item[aria-selected=true] {
57
- color: var(--cnvs-brand-primary-base);
58
- cursor: default;
59
- --cnvs-system-icon-color: var(--cnvs-brand-primary-base);
60
- }
61
-
62
- .cnvs-tab-item[aria-selected=true]:after {
63
- position: absolute;
64
- height: var(--cnvs-sys-space-x1);
65
- border-radius: var(--cnvs-sys-shape-x1) var(--cnvs-sys-shape-x1) var(--cnvs-sys-shape-zero) var(--cnvs-sys-shape-zero);
66
- background-color: var(--cnvs-brand-primary-base);
67
- bottom: var(--cnvs-sys-space-zero);
68
- content: '';
69
- left: var(--cnvs-sys-space-zero);
70
- margin-block-start: calc(calc(var(--cnvs-sys-space-x2) / var(--cnvs-sys-space-x1)) * -1);
71
- width: 100%;
72
- }
73
-
74
- .cnvs-tab-item[aria-selected=true]:hover, .cnvs-tab-item[aria-selected=true].hover, .cnvs-tab-item[aria-selected=true]:focus-visible, .cnvs-tab-item[aria-selected=true].focus {
75
- background-color: var(--cnvs-sys-color-bg-transparent);
76
- color: var(--cnvs-brand-primary-base);
77
- }
78
-
79
-
80
- .cnvs-tabs-list {
81
- box-sizing: border-box;
82
- display: flex;
83
- position: relative;
84
- border-bottom: 0.0625rem solid var(--cnvs-sys-color-border-divider);
85
- gap: var(--cnvs-sys-space-x3);
86
- padding-inline: var(--cnvs-sys-space-x6);
87
- }
88
-
89
-
90
- .cnvs-tabs-list.modality-touch {
91
- overflow-x: auto;
92
- padding-inline: var(--cnvs-sys-space-zero);
93
- }
94
-
95
- .cnvs-tabs-list.modality-touch[data-scroll-position="start"] {
96
- mask-image: linear-gradient(to right, white 80%, transparent);
97
- }
98
-
99
- .cnvs-tabs-list.modality-touch[data-scroll-position="middle"] {
100
- mask-image: linear-gradient(to left, white 80%, transparent),linear-gradient(to right, white 80%, transparent);
101
- mask-composite: intersect;
102
- }
103
-
104
- .cnvs-tabs-list.modality-touch[data-scroll-position="end"] {
105
- mask-image: linear-gradient(to left, white 80%, transparent);
106
- }
107
-
108
-
109
-
110
-
111
-
112
-
113
-
114
-
115
- .cnvs-tabs-overflow-button {
116
- box-sizing: border-box;
117
- }
118
-
119
- .cnvs-tabs-overflow-button:has([data-part="tabs-overflow-button-icon"]) {
120
- display: flex;
121
- gap: var(--cnvs-sys-space-zero);
122
- }
123
-
package/text-area.css DELETED
@@ -1,30 +0,0 @@
1
- .cnvs-text-area {
2
- box-sizing: border-box;
3
- min-height: var(--cnvs-sys-space-x16);
4
- min-width: calc(calc(var(--cnvs-sys-space-x20) * 3) + var(--cnvs-sys-space-x10));
5
- }
6
-
7
- .cnvs-text-area::webkit-resizer {
8
- display: none;
9
- }
10
-
11
-
12
- .cnvs-text-area.resize-both {
13
- resize: both;
14
- }
15
-
16
-
17
- .cnvs-text-area.resize-horizontal {
18
- resize: horizontal;
19
- }
20
-
21
-
22
- .cnvs-text-area.resize-vertical {
23
- resize: vertical;
24
- }
25
-
26
-
27
- .cnvs-text-area.resize-none {
28
- resize: none;
29
- }
30
-
package/text-input.css DELETED
@@ -1,146 +0,0 @@
1
- .cnvs-text-input {
2
- box-sizing: border-box;
3
- font-family: var(--cnvs-sys-font-family-default);
4
- font-weight: var(--cnvs-sys-font-weight-normal);
5
- line-height: var(--cnvs-sys-line-height-subtext-large);
6
- font-size: var(--cnvs-sys-font-size-subtext-large);
7
- letter-spacing: var(--cnvs-base-letter-spacing-150);
8
- display: block;
9
- border: 0.0625rem solid var(--cnvs-sys-color-border-input-default);
10
- background-color: var(--cnvs-sys-color-bg-default);
11
- border-radius: var(--cnvs-sys-shape-x1);
12
- height: var(--cnvs-sys-space-x10);
13
- transition: 0.2s box-shadow,0.2s border-color;
14
- padding: var(--cnvs-sys-space-x2);
15
- margin: 0rem;
16
- width: var(--cnvs-text-input-width);
17
- min-width: var(--cnvs-text-input-width, calc(calc(var(--cnvs-sys-space-x20) * 3) + var(--cnvs-sys-space-x10)));
18
- color: var(--cnvs-sys-color-text-default);
19
- text-overflow: ellipsis;
20
- }
21
-
22
- .cnvs-text-input ::-ms-clear {
23
- display: none;
24
- }
25
-
26
- .cnvs-text-input::placeholder {
27
- color: var(--cnvs-sys-color-text-hint);
28
- }
29
-
30
- .cnvs-text-input:is(:hover, .hover) {
31
- border-color: var(--cnvs-sys-color-border-input-strong);
32
- }
33
-
34
- .cnvs-text-input:is(:focus-visible, .focus):where(:not([disabled])) {
35
- border-color: var(--cnvs-brand-common-focus-outline);
36
- box-shadow: inset 0 0 0 1px var(--cnvs-brand-common-focus-outline);
37
- outline: 0.125rem solid transparent;
38
- }
39
-
40
- .cnvs-text-input:is(:disabled, .disabled) {
41
- background-color: var(--cnvs-sys-color-bg-alt-softer);
42
- border-color: var(--cnvs-sys-color-border-input-disabled);
43
- color: var(--cnvs-sys-color-text-disabled);
44
- }
45
-
46
- .cnvs-text-input:is(:disabled, .disabled)::placeholder {
47
- color: var(--cnvs-sys-color-text-disabled);
48
- }
49
-
50
-
51
- .cnvs-text-input.grow {
52
- width: 100%;
53
- resize: vertical;
54
- }
55
-
56
-
57
- .cnvs-text-input.grow-false {
58
- width: initial;
59
- }
60
-
61
-
62
- .cnvs-text-input.error-error {
63
- border-color: var(--cnvs-brand-error-base);
64
- box-shadow: inset 0 0 0 0.0625rem var(--cnvs-brand-error-base);
65
- }
66
-
67
- .cnvs-text-input.error-error:is(:hover, .hover, :disabled, .disabled, :focus-visible:not([disabled]), .focus:not([disabled])) {
68
- border-color: var(--cnvs-brand-error-base);
69
- }
70
-
71
- .cnvs-text-input.error-error:is(:focus-visible, .focus):not([disabled]) {
72
- box-shadow: inset 0 0 0 0.0625rem var(--cnvs-brand-error-base),0 0 0 2px var(--cnvs-sys-color-border-inverse),0 0 0 4px var(--cnvs-brand-common-focus-outline);
73
- outline-offset: 0.125rem;
74
- }
75
-
76
-
77
- .cnvs-text-input.error-alert {
78
- border-color: var(--cnvs-brand-alert-darkest);
79
- box-shadow: inset 0 0 0 0.125rem var(--cnvs-brand-alert-base);
80
- outline-offset: 0.125rem;
81
- }
82
-
83
- .cnvs-text-input.error-alert:is(:hover, .hover, :disabled, .disabled, :focus-visible:not([disabled]), .focus:not([disabled])) {
84
- border-color: var(--cnvs-brand-alert-darkest);
85
- }
86
-
87
- .cnvs-text-input.error-alert:is(:focus-visible, .focus):not([disabled]) {
88
- box-shadow: inset 0 0 0 0.125rem var(--cnvs-brand-alert-base),0 0 0 2px var(--cnvs-sys-color-border-inverse),0 0 0 4px var(--cnvs-brand-common-focus-outline);
89
- }
90
-
91
-
92
- .cnvs-input-group-inner {
93
- --cnvs-input-group-inner-inset-inline-start: initial;
94
- --cnvs-input-group-inner-inset-inline-end: initial;
95
- --cnvs-input-group-inner-width: var(--cnvs-sys-space-x10);
96
- --cnvs-input-group-inner-height: var(--cnvs-sys-space-x10);
97
- box-sizing: border-box;
98
- display: flex;
99
- position: absolute;
100
- align-items: center;
101
- justify-content: center;
102
- width: var(--cnvs-input-group-inner-width);
103
- height: var(--cnvs-input-group-inner-height);
104
- inset-inline-start: var(--cnvs-input-group-inner-inset-inline-start);
105
- inset-inline-end: var(--cnvs-input-group-inner-inset-inline-end);
106
- }
107
-
108
-
109
- .cnvs-input-group-inner.pointer-events {
110
- pointer-events: var(--cnvs-input-group-inner-pointer-events);
111
- }
112
-
113
-
114
- .cnvs-input-group-input {
115
- box-sizing: border-box;
116
- display: flex;
117
- width: 100%;
118
- }
119
-
120
-
121
- .cnvs-input-group-input.padding-inline-start {
122
- padding-inline-start: var(--cnvs-input-group-input-padding-inline-start);
123
- }
124
-
125
-
126
- .cnvs-input-group-input.padding-inline-end {
127
- padding-inline-end: var(--cnvs-input-group-input-padding-inline-end);
128
- }
129
-
130
-
131
- .cnvs-input-group {
132
- box-sizing: border-box;
133
- display: flex;
134
- position: relative;
135
- align-items: center;
136
- }
137
-
138
- .cnvs-input-group :has([data-part="input-group-clear-button"]) {
139
- transition: opacity 300ms ease;
140
- }
141
-
142
- .cnvs-input-group:where(:has(input:placeholder-shown)) :has([data-part="input-group-clear-button"]) {
143
- opacity: 0;
144
- pointer-events: none;
145
- }
146
-
package/text.css DELETED
@@ -1,189 +0,0 @@
1
- .cnvs-text {
2
- box-sizing: border-box;
3
- }
4
-
5
-
6
- .cnvs-text.type-level-title-large {
7
- font-family: var(--cnvs-sys-font-family-default);
8
- font-weight: var(--cnvs-sys-font-weight-bold);
9
- line-height: var(--cnvs-sys-line-height-title-large);
10
- font-size: var(--cnvs-sys-font-size-title-large);
11
- color: var(--cnvs-sys-color-text-strong);
12
- }
13
-
14
-
15
- .cnvs-text.type-level-title-medium {
16
- font-family: var(--cnvs-sys-font-family-default);
17
- font-weight: var(--cnvs-sys-font-weight-bold);
18
- line-height: var(--cnvs-sys-line-height-title-medium);
19
- font-size: var(--cnvs-sys-font-size-title-medium);
20
- color: var(--cnvs-sys-color-text-strong);
21
- }
22
-
23
-
24
- .cnvs-text.type-level-title-small {
25
- font-family: var(--cnvs-sys-font-family-default);
26
- font-weight: var(--cnvs-sys-font-weight-bold);
27
- line-height: var(--cnvs-sys-line-height-title-small);
28
- font-size: var(--cnvs-sys-font-size-title-small);
29
- color: var(--cnvs-sys-color-text-strong);
30
- }
31
-
32
-
33
- .cnvs-text.type-level-heading-large {
34
- font-family: var(--cnvs-sys-font-family-default);
35
- font-weight: var(--cnvs-sys-font-weight-bold);
36
- line-height: var(--cnvs-sys-line-height-heading-large);
37
- font-size: var(--cnvs-sys-font-size-heading-large);
38
- color: var(--cnvs-sys-color-text-strong);
39
- }
40
-
41
-
42
- .cnvs-text.type-level-heading-medium {
43
- font-family: var(--cnvs-sys-font-family-default);
44
- font-weight: var(--cnvs-sys-font-weight-bold);
45
- line-height: var(--cnvs-sys-line-height-heading-medium);
46
- font-size: var(--cnvs-sys-font-size-heading-medium);
47
- color: var(--cnvs-sys-color-text-strong);
48
- }
49
-
50
-
51
- .cnvs-text.type-level-heading-small {
52
- font-family: var(--cnvs-sys-font-family-default);
53
- font-weight: var(--cnvs-sys-font-weight-bold);
54
- line-height: var(--cnvs-sys-line-height-heading-small);
55
- font-size: var(--cnvs-sys-font-size-heading-small);
56
- color: var(--cnvs-sys-color-text-strong);
57
- }
58
-
59
-
60
- .cnvs-text.type-level-body-large {
61
- font-family: var(--cnvs-sys-font-family-default);
62
- font-weight: var(--cnvs-sys-font-weight-normal);
63
- line-height: var(--cnvs-sys-line-height-body-large);
64
- font-size: var(--cnvs-sys-font-size-body-large);
65
- color: var(--cnvs-sys-color-text-default);
66
- }
67
-
68
-
69
- .cnvs-text.type-level-body-medium {
70
- font-family: var(--cnvs-sys-font-family-default);
71
- font-weight: var(--cnvs-sys-font-weight-normal);
72
- line-height: var(--cnvs-sys-line-height-body-medium);
73
- font-size: var(--cnvs-sys-font-size-body-medium);
74
- color: var(--cnvs-sys-color-text-default);
75
- }
76
-
77
-
78
- .cnvs-text.type-level-body-small {
79
- font-family: var(--cnvs-sys-font-family-default);
80
- font-weight: var(--cnvs-sys-font-weight-normal);
81
- line-height: var(--cnvs-sys-line-height-body-small);
82
- font-size: var(--cnvs-sys-font-size-body-small);
83
- letter-spacing: var(--cnvs-base-letter-spacing-200);
84
- color: var(--cnvs-sys-color-text-default);
85
- }
86
-
87
-
88
- .cnvs-text.type-level-subtext-large {
89
- font-family: var(--cnvs-sys-font-family-default);
90
- font-weight: var(--cnvs-sys-font-weight-normal);
91
- line-height: var(--cnvs-sys-line-height-subtext-large);
92
- font-size: var(--cnvs-sys-font-size-subtext-large);
93
- letter-spacing: var(--cnvs-base-letter-spacing-150);
94
- color: var(--cnvs-sys-color-text-default);
95
- }
96
-
97
-
98
- .cnvs-text.type-level-subtext-medium {
99
- font-family: var(--cnvs-sys-font-family-default);
100
- font-weight: var(--cnvs-sys-font-weight-normal);
101
- line-height: var(--cnvs-sys-line-height-subtext-medium);
102
- font-size: var(--cnvs-sys-font-size-subtext-medium);
103
- letter-spacing: var(--cnvs-base-letter-spacing-100);
104
- color: var(--cnvs-sys-color-text-default);
105
- }
106
-
107
-
108
- .cnvs-text.type-level-subtext-small {
109
- font-family: var(--cnvs-sys-font-family-default);
110
- font-weight: var(--cnvs-sys-font-weight-normal);
111
- line-height: var(--cnvs-sys-line-height-subtext-small);
112
- font-size: var(--cnvs-sys-font-size-subtext-small);
113
- letter-spacing: var(--cnvs-base-letter-spacing-50);
114
- color: var(--cnvs-sys-color-text-default);
115
- }
116
-
117
-
118
- .cnvs-text.variant-error {
119
- color: var(--cnvs-sys-color-text-critical-default);
120
- }
121
-
122
-
123
- .cnvs-text.variant-hint {
124
- color: var(--cnvs-sys-color-text-hint);
125
- }
126
-
127
-
128
- .cnvs-text.variant-inverse {
129
- color: var(--cnvs-sys-color-text-inverse);
130
- }
131
-
132
-
133
- .cnvs-subtext {
134
- box-sizing: border-box;
135
- }
136
-
137
-
138
- .cnvs-body-text {
139
- box-sizing: border-box;
140
- }
141
-
142
-
143
- .cnvs-heading {
144
- box-sizing: border-box;
145
- }
146
-
147
-
148
- .cnvs-title {
149
- box-sizing: border-box;
150
- }
151
-
152
-
153
- .cnvs-label-text {
154
- box-sizing: border-box;
155
- font-family: var(--cnvs-sys-font-family-default);
156
- font-weight: var(--cnvs-sys-font-weight-normal);
157
- line-height: var(--cnvs-sys-line-height-subtext-large);
158
- font-size: var(--cnvs-sys-font-size-subtext-large);
159
- letter-spacing: var(--cnvs-base-letter-spacing-150);
160
- color: var(--cnvs-sys-color-text-default);
161
- }
162
-
163
-
164
- .cnvs-label-text.disabled {
165
- cursor: default;
166
- color: var(--cnvs-sys-color-text-disabled);
167
- }
168
-
169
-
170
- .cnvs-label-text.variant-inverse {
171
- color: var(--cnvs-sys-color-text-inverse);
172
- }
173
-
174
-
175
- .cnvs-label-text.variant-error {
176
- color: var(--cnvs-sys-color-text-critical-default);
177
- }
178
-
179
-
180
- .cnvs-label-text.variant-hint {
181
- color: var(--cnvs-sys-color-text-hint);
182
- }
183
-
184
-
185
- .cnvs-label-text.variant-inverse.disabled {
186
- opacity: var(--cnvs-sys-opacity-disabled);
187
- color: var(--cnvs-sys-color-text-inverse);
188
- }
189
-