File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
packages/svelte-ux/src/lib/styles Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,8 @@ export function processThemeColors(
70
70
) {
71
71
const colors = { ...themeColors } ;
72
72
73
+ // TODO: make all semanatic colors optional as well
74
+
73
75
// Generate optional semanatic colors
74
76
if ( ! ( 'neutral' in colors ) && ! ( 'neutral-500' in colors ) ) {
75
77
colors [ 'neutral' ] = 'oklch(.355192 .032071 262.988584)' ;
@@ -146,6 +148,8 @@ export function processThemeColors(
146
148
colors [ 'surface-content' ] = foregroundColor ( colors [ 'surface-100' ] ) ;
147
149
}
148
150
151
+ // TODO: add `color-scheme: "dark"` for `dark` theme (if not set)
152
+
149
153
const result = Object . fromEntries (
150
154
Object . entries ( colors ) . map ( ( [ name , value ] ) => {
151
155
if ( colorNames . includes ( name ) ) {
You can’t perform that action at this time.
0 commit comments