|  | 
| 9 | 9 |   --token-typography-font-weight-medium: 500; | 
| 10 | 10 |   --token-typography-font-weight-semibold: 600; | 
| 11 | 11 |   --token-typography-font-weight-bold: 700; | 
|  | 12 | +  /* added these to test theming in the showcase */ | 
|  | 13 | +  --token-color-foreground-strong: #0c0c0e; | 
|  | 14 | +  --token-color-foreground-primary: #3b3d45; | 
|  | 15 | +  --token-color-surface-strong: #f1f2f3; | 
|  | 16 | +  --token-color-surface-primary: #ffffff; | 
|  | 17 | +  --token-color-surface-faint: #ffffff; | 
| 12 | 18 | } | 
| 13 | 19 | 
 | 
| 14 |  | -@media (prefers-color-scheme: light) { | 
| 15 |  | -  :root:not([class*="hds-theme-"]):not([data-hds-theme]) { | 
|  | 20 | +@media (prefers-color-scheme: dark) { | 
|  | 21 | +  :root:not([class*="hds-theme-"], [data-hds-theme]) { | 
| 16 | 22 |     --token-color-palette-neutral-0: #ffffff; | 
| 17 | 23 |     --token-color-foreground-primary: #161616; | 
| 18 | 24 |     --token-typography-font-weight-regular: 400; | 
| 19 | 25 |     --token-typography-font-weight-medium: 400; | 
| 20 | 26 |     --token-typography-font-weight-semibold: 600; | 
| 21 | 27 |     --token-typography-font-weight-bold: 600; | 
|  | 28 | +    /* added these to test theming in the showcase */ | 
|  | 29 | +    --token-color-foreground-strong: #ffffff; | 
|  | 30 | +    --token-color-foreground-primary: #f1f2f3; | 
|  | 31 | +    --token-color-surface-strong: #3b3d45; | 
|  | 32 | +    --token-color-surface-primary: #0c0c0e; | 
|  | 33 | +    --token-color-surface-faint: #0c0c0e; | 
| 22 | 34 |   } | 
| 23 | 35 | } | 
| 24 | 36 | 
 | 
| 25 |  | -@media (prefers-color-scheme: dark) { | 
| 26 |  | -  :root:not([class*="hds-theme-"]):not([data-hds-theme]) { | 
|  | 37 | +@media (prefers-color-scheme: light) { | 
|  | 38 | +  :root:not([class*="hds-theme-"], [data-hds-theme]) { | 
| 27 | 39 |     --token-color-palette-neutral-0: #ffffff; | 
| 28 | 40 |     --token-color-foreground-primary: #f4f4f4; | 
| 29 | 41 |     --token-typography-font-weight-regular: 400; | 
| 30 | 42 |     --token-typography-font-weight-medium: 400; | 
| 31 | 43 |     --token-typography-font-weight-semibold: 600; | 
| 32 | 44 |     --token-typography-font-weight-bold: 600; | 
|  | 45 | +    /* added these to test theming in the showcase */ | 
|  | 46 | +    --token-color-foreground-strong: #0c0c0e; | 
|  | 47 | +    --token-color-foreground-primary: #3b3d45; | 
|  | 48 | +    --token-color-surface-strong: #f1f2f3; | 
|  | 49 | +    --token-color-surface-primary: #ffffff; | 
|  | 50 | +    --token-color-surface-faint: #ffffff; | 
| 33 | 51 |   } | 
| 34 | 52 | } | 
| 35 | 53 | 
 | 
|  | 
| 43 | 61 |   --token-typography-font-weight-medium: 400; | 
| 44 | 62 |   --token-typography-font-weight-semibold: 600; | 
| 45 | 63 |   --token-typography-font-weight-bold: 600; | 
|  | 64 | +  /* added these to test theming in the showcase */ | 
|  | 65 | +  --token-color-foreground-strong: #0c0c0e; | 
|  | 66 | +  --token-color-foreground-primary: #3b3d45; | 
|  | 67 | +  --token-color-surface-strong: #f1f2f3; | 
|  | 68 | +  --token-color-surface-primary: #ffffff; | 
|  | 69 | +  --token-color-surface-faint: #ffffff; | 
| 46 | 70 | } | 
| 47 | 71 | 
 | 
| 48 | 72 | .hds-theme-cds-g10, | 
|  | 
| 53 | 77 |   --token-typography-font-weight-medium: 400; | 
| 54 | 78 |   --token-typography-font-weight-semibold: 600; | 
| 55 | 79 |   --token-typography-font-weight-bold: 600; | 
|  | 80 | +  /* added these to test theming in the showcase */ | 
|  | 81 | +  --token-color-foreground-strong: #1c1c1e; | 
|  | 82 | +  --token-color-foreground-primary: #4b4d45; | 
|  | 83 | +  --token-color-surface-strong: #d1d2d3; | 
|  | 84 | +  --token-color-surface-primary: #dddddd; | 
|  | 85 | +  --token-color-surface-faint: #dddddd; | 
| 56 | 86 | } | 
| 57 | 87 | 
 | 
| 58 | 88 | .hds-theme-cds-g90, | 
|  | 
| 63 | 93 |   --token-typography-font-weight-medium: 400; | 
| 64 | 94 |   --token-typography-font-weight-semibold: 600; | 
| 65 | 95 |   --token-typography-font-weight-bold: 600; | 
|  | 96 | +  /* added these to test theming in the showcase */ | 
|  | 97 | +  --token-color-foreground-strong: #dddddd; | 
|  | 98 | +  --token-color-foreground-primary: #d1d2d3; | 
|  | 99 | +  --token-color-surface-strong: #4b4d45; | 
|  | 100 | +  --token-color-surface-primary: #1c1c1e; | 
|  | 101 | +  --token-color-surface-faint: #1c1c1e; | 
| 66 | 102 | } | 
| 67 | 103 | 
 | 
| 68 |  | -.hds-theme-cds-dark, | 
|  | 104 | +.hds-theme-dark, | 
| 69 | 105 | .hds-theme-cds-g100, | 
| 70 | 106 | [data-hds-theme="dark"], | 
| 71 | 107 | [data-hds-theme="cds-g100"] { | 
|  | 
| 75 | 111 |   --token-typography-font-weight-medium: 400; | 
| 76 | 112 |   --token-typography-font-weight-semibold: 600; | 
| 77 | 113 |   --token-typography-font-weight-bold: 600; | 
|  | 114 | +  /* added these to test theming in the showcase */ | 
|  | 115 | +  --token-color-foreground-strong: #ffffff; | 
|  | 116 | +  --token-color-foreground-primary: #f1f2f3; | 
|  | 117 | +  --token-color-surface-strong: #3b3d45; | 
|  | 118 | +  --token-color-surface-primary: #0c0c0e; | 
|  | 119 | +  --token-color-surface-faint: #0c0c0e; | 
| 78 | 120 | } | 
| 79 | 121 | 
 | 
| 80 | 122 | :root { | 
|  | 
| 135 | 177 |   --token-color-focus-action-external: #5990ff; /** this is a special color used only for the focus style, to pass color contrast for a11y purpose */ | 
| 136 | 178 |   --token-color-focus-critical-internal: #c00005; | 
| 137 | 179 |   --token-color-focus-critical-external: #dd7578; /** this is a special color used only for the focus style, to pass color contrast for a11y purpose */ | 
| 138 |  | -  --token-color-foreground-strong: #0c0c0e; | 
|  | 180 | +  /* --token-color-foreground-strong: #0c0c0e; */ | 
| 139 | 181 |   --token-color-foreground-faint: #656a76; | 
| 140 | 182 |   --token-color-foreground-high-contrast: #ffffff; | 
| 141 | 183 |   --token-color-foreground-disabled: #8c909c; | 
|  | 
| 156 | 198 |   --token-color-foreground-critical-high-contrast: #51130a; | 
| 157 | 199 |   --token-color-page-primary: #ffffff; | 
| 158 | 200 |   --token-color-page-faint: #fafafa; | 
| 159 |  | -  --token-color-surface-primary: #ffffff; | 
| 160 |  | -  --token-color-surface-faint: #fafafa; | 
| 161 |  | -  --token-color-surface-strong: #f1f2f3; | 
|  | 201 | +  /* --token-color-surface-primary: #ffffff; */ | 
|  | 202 | +  /* --token-color-surface-faint: #fafafa; */ | 
|  | 203 | +  /* --token-color-surface-strong: #f1f2f3; */ | 
| 162 | 204 |   --token-color-surface-interactive: #ffffff; | 
| 163 | 205 |   --token-color-surface-interactive-hover: #f1f2f3; | 
| 164 | 206 |   --token-color-surface-interactive-active: #dedfe3; | 
|  | 
0 commit comments