@navikt/ds-css 7.2.0 → 7.3.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 CHANGED
@@ -1,5 +1,21 @@
1
1
  # @navikt/ds-css
2
2
 
3
+ ## 7.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - ActionMenu: :tada: New component! Replaces DropdownMenu as the go-to solution for floating menus. Includes support for grouping, sub-menus, checkboxes, radios and dividers. Read more in the [documentation](https://aksel.nav.no/komponenter/core/actionmenu). ([#3081](https://github.com/navikt/aksel/pull/3081))
8
+
9
+ ### Patch Changes
10
+
11
+ - List.Item: Center icon horizontally inside it's container ([#3253](https://github.com/navikt/aksel/pull/3253))
12
+
13
+ ## 7.2.1
14
+
15
+ ### Patch Changes
16
+
17
+ - Combobox: Support PageUp/PageDown in dropdown list. ([#3158](https://github.com/navikt/aksel/pull/3158))
18
+
3
19
  ## 7.2.0
4
20
 
5
21
  ## 7.1.2
@@ -0,0 +1,227 @@
1
+ .navds-action-menu__content {
2
+ overflow: hidden;
3
+ box-shadow: var(--a-shadow-medium);
4
+ border-radius: var(--a-border-radius-large);
5
+ }
6
+
7
+ /* stylelint-disable csstools/value-no-unknown-custom-properties */
8
+ .navds-action-menu__content > .navds-action-menu__content-inner {
9
+ --__ac-action-menu-content-p: var(--a-spacing-2);
10
+ --__ac-action-menu-item-pr: var(--a-spacing-3);
11
+ --__ac-action-menu-item-pl: var(--a-spacing-2);
12
+ --__ac-action-menu-item-height: 2rem;
13
+
14
+ border-radius: var(--a-border-radius-large);
15
+ background-color: var(--a-surface-default);
16
+ min-width: 128px;
17
+ max-width: min(95vw, 640px);
18
+ transform-origin: var(--__ac-action-menu-content-transform-origin);
19
+ animation-duration: 160ms;
20
+ animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
21
+ padding: var(--__ac-action-menu-content-p);
22
+ overflow: auto;
23
+ max-height: var(--__ac-action-menu-content-available-height);
24
+ }
25
+
26
+ .navds-action-menu__content:where([data-state="open"]):where([data-side="bottom"]) {
27
+ animation-name: aksel-action-from-bottom, aksel-action-fade-in;
28
+ }
29
+
30
+ .navds-action-menu__content:where([data-state="open"]):where([data-side="top"]) {
31
+ animation-name: aksel-action-from-top, aksel-action-fade-in;
32
+ }
33
+
34
+ .navds-action-menu__content:where([data-state="open"]):where([data-side="left"]) {
35
+ animation-name: aksel-action-from-left, aksel-action-fade-in;
36
+ }
37
+
38
+ .navds-action-menu__content:where([data-state="open"]):where([data-side="right"]) {
39
+ animation-name: aksel-action-from-right, aksel-action-fade-in;
40
+ }
41
+
42
+ @keyframes aksel-action-from-bottom {
43
+ from {
44
+ transform: translateY(-4px);
45
+ }
46
+
47
+ to {
48
+ transform: translateY(0);
49
+ }
50
+ }
51
+
52
+ @keyframes aksel-action-from-top {
53
+ from {
54
+ transform: translateY(4px);
55
+ }
56
+
57
+ to {
58
+ transform: translateY(0);
59
+ }
60
+ }
61
+
62
+ @keyframes aksel-action-from-left {
63
+ from {
64
+ transform: translateX(4px);
65
+ }
66
+
67
+ to {
68
+ transform: translateY(0);
69
+ }
70
+ }
71
+
72
+ @keyframes aksel-action-from-right {
73
+ from {
74
+ transform: translateX(-4px);
75
+ }
76
+
77
+ to {
78
+ transform: translateY(0);
79
+ }
80
+ }
81
+
82
+ @keyframes aksel-action-fade-in {
83
+ from {
84
+ opacity: 0.01;
85
+ }
86
+
87
+ to {
88
+ opacity: 1;
89
+ }
90
+ }
91
+
92
+ .navds-action-menu__item {
93
+ display: flex;
94
+ align-items: center;
95
+ gap: var(--a-spacing-2);
96
+ min-height: var(--__ac-action-menu-item-height);
97
+ cursor: default;
98
+ border-radius: var(--a-border-radius-medium);
99
+ position: relative;
100
+ padding-left: var(--__ac-action-menu-item-pl);
101
+ padding-right: var(--__ac-action-menu-item-pr);
102
+ font-size: var(--a-font-size-medium);
103
+ scroll-margin-block: var(--__ac-action-menu-content-p);
104
+ line-height: 1.5;
105
+ color: var(--a-text-default);
106
+ text-decoration: none;
107
+ }
108
+
109
+ .navds-action-menu__item svg {
110
+ flex-shrink: 0;
111
+ }
112
+
113
+ .navds-action-menu__item--has-icon {
114
+ --__ac-action-menu-item-pl: var(--a-spacing-6);
115
+ }
116
+
117
+ .navds-action-menu__sub-trigger {
118
+ --__ac-action-menu-item-pr: var(--a-spacing-05);
119
+ }
120
+
121
+ .navds-action-menu__item:focus {
122
+ outline: none;
123
+ background-color: var(--a-surface-action-subtle-hover);
124
+ color: var(--a-text-default);
125
+ }
126
+
127
+ .navds-action-menu__item--danger {
128
+ color: var(--a-text-danger);
129
+ }
130
+
131
+ .navds-action-menu__item--danger:focus {
132
+ background-color: var(--a-surface-danger-subtle);
133
+ }
134
+
135
+ .navds-action-menu__marker {
136
+ display: flex;
137
+ align-items: center;
138
+ gap: var(--a-spacing-1);
139
+ }
140
+
141
+ .navds-action-menu__marker--right {
142
+ margin-left: auto;
143
+ padding-left: var(--a-spacing-4);
144
+ }
145
+
146
+ .navds-action-menu__marker--left {
147
+ position: absolute;
148
+ left: 0;
149
+ width: var(--__ac-action-menu-item-pl);
150
+ display: inline-flex;
151
+ justify-content: center;
152
+ }
153
+
154
+ .navds-action-menu__marker-icon svg {
155
+ font-size: 18px;
156
+ flex-shrink: 0;
157
+ }
158
+
159
+ .navds-action-menu__shortcut {
160
+ background-color: var(--a-surface-neutral-subtle);
161
+ color: var(--a-text-default);
162
+ border-radius: var(--a-border-radius-small);
163
+ padding: 0 var(--a-spacing-1);
164
+ min-width: 1.125rem;
165
+ height: 1.125rem;
166
+ line-height: 1;
167
+ display: inline-flex;
168
+ align-items: center;
169
+ justify-content: center;
170
+ font-size: var(--a-font-size-small);
171
+ }
172
+
173
+ .navds-action-menu__label {
174
+ display: flex;
175
+ align-items: center;
176
+ min-height: calc(var(--__ac-action-menu-item-height) - 6px);
177
+ padding-right: var(--__ac-action-menu-item-pr);
178
+ padding-left: var(--__ac-action-menu-item-pl);
179
+ color: var(--a-text-subtle);
180
+ border-radius: var(--a-border-radius-medium);
181
+ user-select: none;
182
+ cursor: default;
183
+ font-size: var(--a-font-size-small);
184
+ }
185
+
186
+ .navds-action-menu__divider {
187
+ height: 1px;
188
+ margin-block: var(--a-spacing-2);
189
+ background-color: var(--a-border-divider);
190
+ }
191
+
192
+ .navds-action-menu__indicator {
193
+ display: grid;
194
+ place-content: center;
195
+ }
196
+
197
+ .navds-action-menu__indicator-icon {
198
+ font-size: 14px;
199
+ }
200
+
201
+ .navds-action-menu__indicator-icon--unchecked,
202
+ .navds-action-menu__indicator-icon--checked,
203
+ .navds-action-menu__indicator-icon--indeterminate {
204
+ display: none;
205
+ }
206
+
207
+ .navds-action-menu__indicator[data-state="unchecked"] .navds-action-menu__indicator-icon--unchecked {
208
+ display: block;
209
+ }
210
+
211
+ .navds-action-menu__indicator:where([data-state="checked"]) .navds-action-menu__indicator-icon--checked {
212
+ display: block;
213
+ }
214
+
215
+ .navds-action-menu__indicator:where([data-state="indeterminate"]) .navds-action-menu__indicator-icon--indeterminate {
216
+ display: block;
217
+ }
218
+
219
+ .navds-action-menu__item:where([aria-disabled="true"]) {
220
+ color: var(--a-text-subtle);
221
+ opacity: 0.5;
222
+ pointer-events: none;
223
+ }
224
+
225
+ .navds-action-menu__sub-trigger:where([data-state="open"]) {
226
+ background-color: var(--a-surface-neutral-subtle);
227
+ }
@@ -47,6 +47,8 @@ legend {
47
47
  white-space: normal;
48
48
  }
49
49
 
50
+ /* Make elements with the HTML hidden attribute stay hidden by default. */
51
+
50
52
  [hidden] {
51
- display: none;
53
+ display: none !important;
52
54
  }
@@ -69,6 +69,11 @@ const StyleMappings = {
69
69
  dependencies: [typoCss],
70
70
  },
71
71
  { component: "Alert", main: "alert.css", dependencies: [typoCss] },
72
+ {
73
+ component: "ActionMenu",
74
+ main: "action-menu.css",
75
+ dependencies: [typoCss],
76
+ },
72
77
  {
73
78
  component: "BodyLong",
74
79
  main: typoCss,
@@ -0,0 +1,25 @@
1
+ # Template for writing new CSS
2
+
3
+ ## File setup
4
+
5
+ 1. Create new CSS-file for component: "alert.darkside.css", "button.darkside.css" etc. Remember to add `.darkside.` for easier lookup.
6
+ 2. Import file in "darkside/index.css": `@import "./alert.darkside.css`
7
+
8
+ Files will not be included in `/dist` for now to avoid it potentially polluting production-code. This will need to be revisited when we want to expose the new systems outside the team.
9
+
10
+ ## Development
11
+
12
+ 1. Write new CSS for component. Use same prefix `.navds` as before.
13
+ 2. Run storybook and change from "Default (old)" to "Darkside (new)" in toolbar. You are now developing new CSS 🎉
14
+
15
+ ## Syntax
16
+
17
+ - Test using outline + outline-offset for focus-markings.
18
+
19
+ ## Checklist
20
+
21
+ - Add new CSS-files under `core/css/darkside`.
22
+ - New files should include `.darkside.` for easier lookup.
23
+ - Import new CSS-files in `core/css/darkside/index.css`
24
+ - New CSS-selectors should have `.navds` as prefix, same as original code.
25
+ - Test changes in Storybook by changing mode in toolbar from "default (old)" -> "darkside (new)"
@@ -0,0 +1,129 @@
1
+ /* cyrillic-ext */
2
+ @font-face {
3
+ font-family: "Source Sans 3";
4
+ font-style: italic;
5
+ font-weight: 400 600;
6
+ font-display: swap;
7
+ src: url(https://cdn.nav.no/aksel/fonts/SourceSans3-italic-cyrillic_ext.woff2) format("woff2");
8
+ unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
9
+ }
10
+
11
+ /* cyrillic */
12
+ @font-face {
13
+ font-family: "Source Sans 3";
14
+ font-style: italic;
15
+ font-weight: 400 600;
16
+ font-display: swap;
17
+ src: url(https://cdn.nav.no/aksel/fonts/SourceSans3-italic-cyrillic.woff2) format("woff2");
18
+ unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
19
+ }
20
+
21
+ /* latin-ext */
22
+ @font-face {
23
+ font-family: "Source Sans 3";
24
+ font-style: italic;
25
+ font-weight: 400 600;
26
+ font-display: swap;
27
+ src: url(https://cdn.nav.no/aksel/fonts/SourceSans3-italic-latin_ext.woff2) format("woff2");
28
+ unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
29
+ U+2C60-2C7F, U+A720-A7FF;
30
+ }
31
+
32
+ /* latin */
33
+ @font-face {
34
+ font-family: "Source Sans 3";
35
+ font-style: italic;
36
+ font-weight: 400 600;
37
+ font-display: swap;
38
+ src: url(https://cdn.nav.no/aksel/fonts/SourceSans3-italic.woff2) format("woff2");
39
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
40
+ U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
41
+ }
42
+
43
+ /* cyrillic-ext */
44
+ @font-face {
45
+ font-family: "Source Sans 3";
46
+ font-style: normal;
47
+ font-weight: 400 600;
48
+ font-display: swap;
49
+ src: url(https://cdn.nav.no/aksel/fonts/SourceSans3-normal-cyrillic_ext.woff2) format("woff2");
50
+ unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
51
+ }
52
+
53
+ /* cyrillic */
54
+ @font-face {
55
+ font-family: "Source Sans 3";
56
+ font-style: normal;
57
+ font-weight: 400 600;
58
+ font-display: swap;
59
+ src: url(https://cdn.nav.no/aksel/fonts/SourceSans3-normal-cyrillic.woff2) format("woff2");
60
+ unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
61
+ }
62
+
63
+ /* latin-ext */
64
+ @font-face {
65
+ font-family: "Source Sans 3";
66
+ font-style: normal;
67
+ font-weight: 400 600;
68
+ font-display: swap;
69
+ src: url(https://cdn.nav.no/aksel/fonts/SourceSans3-normal-latin_ext.woff2) format("woff2");
70
+ unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
71
+ U+2C60-2C7F, U+A720-A7FF;
72
+ }
73
+
74
+ /* latin */
75
+ @font-face {
76
+ font-family: "Source Sans 3";
77
+ font-style: normal;
78
+ font-weight: 400 600;
79
+ font-display: swap;
80
+ src: url(https://cdn.nav.no/aksel/fonts/SourceSans3-normal.woff2) format("woff2");
81
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
82
+ U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
83
+ }
84
+
85
+ /* Legacy support */
86
+
87
+ /* latin-ext */
88
+ @font-face {
89
+ font-family: "Source Sans Pro";
90
+ font-style: italic;
91
+ font-weight: 400 600;
92
+ font-display: swap;
93
+ src: url(https://cdn.nav.no/aksel/fonts/SourceSans3-italic-latin_ext.woff2) format("woff2");
94
+ unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
95
+ U+2C60-2C7F, U+A720-A7FF;
96
+ }
97
+
98
+ /* latin */
99
+ @font-face {
100
+ font-family: "Source Sans Pro";
101
+ font-style: italic;
102
+ font-weight: 400 600;
103
+ font-display: swap;
104
+ src: url(https://cdn.nav.no/aksel/fonts/SourceSans3-italic.woff2) format("woff2");
105
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
106
+ U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
107
+ }
108
+
109
+ /* latin-ext */
110
+ @font-face {
111
+ font-family: "Source Sans Pro";
112
+ font-style: normal;
113
+ font-weight: 400 600;
114
+ font-display: swap;
115
+ src: url(https://cdn.nav.no/aksel/fonts/SourceSans3-normal-latin_ext.woff2) format("woff2");
116
+ unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
117
+ U+2C60-2C7F, U+A720-A7FF;
118
+ }
119
+
120
+ /* latin */
121
+ @font-face {
122
+ font-family: "Source Sans Pro";
123
+ font-style: normal;
124
+ font-weight: 400 600;
125
+ font-display: swap;
126
+ src: url(https://cdn.nav.no/aksel/fonts/SourceSans3-normal.woff2) format("woff2");
127
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
128
+ U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
129
+ }
@@ -0,0 +1,75 @@
1
+ /* ==========================================================================
2
+ Print styles copied from https://github.com/h5bp/html5-boilerplate/blob/master/dist/css/style.css
3
+ Inlined to avoid the additional HTTP request:
4
+ https://www.phpied.com/delay-loading-your-print-css/
5
+ ========================================================================== */
6
+
7
+ @media print {
8
+ *,
9
+ *::before,
10
+ *::after {
11
+ background: #fff !important;
12
+ color: #000 !important;
13
+
14
+ /* Black prints faster */
15
+ box-shadow: none !important;
16
+ text-shadow: none !important;
17
+ }
18
+
19
+ a,
20
+ a:visited {
21
+ text-decoration: underline;
22
+ }
23
+
24
+ a[href]::after {
25
+ content: " (" attr(href) ")";
26
+ }
27
+
28
+ abbr[title]::after {
29
+ content: " (" attr(title) ")";
30
+ }
31
+
32
+ /*
33
+ * Don't show links that are fragment identifiers,
34
+ * or use the `javascript:` pseudo protocol
35
+ */
36
+ a[href^="#"]::after,
37
+ a[href^="javascript:"]::after {
38
+ content: "";
39
+ }
40
+
41
+ pre {
42
+ white-space: pre-wrap !important;
43
+ }
44
+
45
+ pre,
46
+ blockquote {
47
+ border: 1px solid #999;
48
+ page-break-inside: avoid;
49
+ }
50
+
51
+ /*
52
+ * Printing Tables:
53
+ * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
54
+ */
55
+ thead {
56
+ display: table-header-group;
57
+ }
58
+
59
+ tr,
60
+ img {
61
+ page-break-inside: avoid;
62
+ }
63
+
64
+ p,
65
+ h2,
66
+ h3 {
67
+ orphans: 3;
68
+ widows: 3;
69
+ }
70
+
71
+ h2,
72
+ h3 {
73
+ page-break-after: avoid;
74
+ }
75
+ }
@@ -0,0 +1,148 @@
1
+ /* Modern-normalize: https://github.com/sindresorhus/modern-normalize/blob/main/modern-normalize.css */
2
+
3
+ /* Better box-model */
4
+ *,
5
+ ::before,
6
+ ::after {
7
+ box-sizing: border-box;
8
+ }
9
+
10
+ html {
11
+ font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
12
+ line-height: 1.15; /* Correct the line height in all browsers. */
13
+ -webkit-text-size-adjust: 100%; /* Prevent adjustments of font size after orientation changes in iOS. */
14
+ tab-size: 4; /* Use a more readable tab size (opinionated). */
15
+ }
16
+
17
+ body {
18
+ margin: 0; /* Remove the margin in all browsers. */
19
+ }
20
+
21
+ b,
22
+ strong {
23
+ font-weight: bolder;
24
+ }
25
+
26
+ /**
27
+ 1. Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)
28
+ 2. Correct the odd 'em' font sizing in all browsers.
29
+ */
30
+ code,
31
+ kbd,
32
+ samp,
33
+ pre {
34
+ font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; /* 1 */
35
+ font-size: 1em; /* 2 */
36
+ }
37
+
38
+ /**
39
+ Add the correct font size in all browsers.
40
+ */
41
+ small {
42
+ font-size: 80%;
43
+ }
44
+
45
+ /**
46
+ Prevent 'sub' and 'sup' elements from affecting the line height in all browsers.
47
+ */
48
+ sub,
49
+ sup {
50
+ font-size: 75%;
51
+ line-height: 0;
52
+ position: relative;
53
+ vertical-align: baseline;
54
+ }
55
+
56
+ sub {
57
+ bottom: -0.25em;
58
+ }
59
+
60
+ sup {
61
+ top: -0.5em;
62
+ }
63
+
64
+ /**
65
+ Correct table border color inheritance in Chrome and Safari. (https://issues.chromium.org/issues/40615503, https://bugs.webkit.org/show_bug.cgi?id=195016)
66
+ */
67
+ table {
68
+ border-color: currentColor;
69
+ }
70
+
71
+ /**
72
+ 1. Change the font styles in all browsers.
73
+ 2. Remove the margin in Firefox and Safari.
74
+ */
75
+ button,
76
+ input,
77
+ optgroup,
78
+ select,
79
+ textarea {
80
+ font-family: inherit; /* 1 */
81
+ font-size: 100%; /* 1 */
82
+ line-height: 1.15; /* 1 */
83
+ margin: 0; /* 2 */
84
+ }
85
+
86
+ /**
87
+ Correct the inability to style clickable types in iOS and Safari.
88
+ */
89
+ button,
90
+ [type="button"],
91
+ [type="reset"],
92
+ [type="submit"] {
93
+ -webkit-appearance: button;
94
+ }
95
+
96
+ /**
97
+ Remove the padding so developers are not caught out when they zero out 'fieldset' elements in all browsers.
98
+ */
99
+ legend {
100
+ padding: 0;
101
+ }
102
+
103
+ /**
104
+ Add the correct vertical alignment in Chrome and Firefox.
105
+ */
106
+ progress {
107
+ vertical-align: baseline;
108
+ }
109
+
110
+ /**
111
+ Correct the cursor style of increment and decrement buttons in Safari.
112
+ */
113
+ ::-webkit-inner-spin-button,
114
+ ::-webkit-outer-spin-button {
115
+ height: auto;
116
+ }
117
+
118
+ /**
119
+ 1. Correct the odd appearance in Chrome and Safari.
120
+ 2. Correct the outline style in Safari.
121
+ */
122
+ [type="search"] {
123
+ -webkit-appearance: textfield; /* 1 */
124
+ outline-offset: -2px; /* 2 */
125
+ }
126
+
127
+ /**
128
+ Remove the inner padding in Chrome and Safari on macOS.
129
+ */
130
+ ::-webkit-search-decoration {
131
+ -webkit-appearance: none;
132
+ }
133
+
134
+ /**
135
+ 1. Correct the inability to style clickable types in iOS and Safari.
136
+ 2. Change font properties to 'inherit' in Safari.
137
+ */
138
+ ::-webkit-file-upload-button {
139
+ -webkit-appearance: button; /* 1 */
140
+ font: inherit; /* 2 */
141
+ }
142
+
143
+ /*
144
+ Add the correct display in Chrome and Safari.
145
+ */
146
+ summary {
147
+ display: list-item;
148
+ }
@@ -0,0 +1,10 @@
1
+ /* To support nested theming, we want to declare color on each scoped elements */
2
+ :root,
3
+ :host,
4
+ .light {
5
+ color: var(--a-text-default);
6
+ }
7
+
8
+ .dark {
9
+ color: var(--a-text-default);
10
+ }