File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -4,9 +4,10 @@ import { div } from '../../scripts/dom-helpers.js';
4
4
function decorateBlockSectionMode ( block ) {
5
5
block . classList . forEach ( ( className ) => {
6
6
if ( className . startsWith ( 'calcite-mode-' ) ) {
7
+ const mode = className . split ( '-' ) [ 2 ] ;
7
8
block . closest ( '.section' )
8
9
. classList
9
- . add ( className ) ;
10
+ . add ( className , mode ) ;
10
11
}
11
12
} ) ;
12
13
}
Original file line number Diff line number Diff line change 32
32
--esri-ui-opacity97-inverse : rgb (255 255 255 / 97% );
33
33
34
34
/* icon filters */
35
- --image-icon-filter : brightness (0 ) saturate (100% ) invert (14% ) sepia (10% ) saturate (19% ) hue-rotate (330deg ) brightness (93% ) contrast (91% );
35
+ --image-icon-filter : brightness (0 ) saturate (100% ) invert (14% ) sepia (10% ) saturate (19% ) hue-rotate (330deg ) brightness (93% ) contrast (91% );
36
36
--image-icon-filter-brand : brightness (0 ) saturate (100% ) invert (30% ) sepia (98% ) saturate (1143% ) hue-rotate (177deg ) brightness (95% ) contrast (101% );
37
37
38
38
-webkit-font-smoothing : antialiased;
@@ -334,6 +334,11 @@ main {
334
334
color : var (--calcite-ui-text-1 );
335
335
}
336
336
337
+ .section .dark {
338
+ background-color : var (--calcite-ui-foreground-1 );
339
+ color : var (--calcite-ui-text-1 );
340
+ }
341
+
337
342
.video-iframe-box {
338
343
align-items : center;
339
344
background-color : var (--esri-ui-opacity80 );
@@ -523,4 +528,4 @@ main {
523
528
524
529
.padding-trailer-6 {
525
530
padding-block-end : 9rem ;
526
- }
531
+ }
You can’t perform that action at this time.
0 commit comments