Refactored overlay component tokens

pull/5701/head
Cagatay Civici 2024-05-04 16:08:23 +03:00
parent 16332c13c1
commit 4e16e5098e
4 changed files with 16 additions and 60 deletions

View File

@ -1,18 +1,7 @@
export default {
colorScheme: {
light: {
root: {
background: '{surface.0}',
borderColor: '{surface.200}',
color: '{surface.700}'
}
},
dark: {
root: {
background: '{surface.900}',
borderColor: '{surface.700}',
color: '{surface.0}'
}
}
root: {
background: '{content.background}',
borderColor: '{content.border.color}',
color: '{content.color}'
}
};

View File

@ -1,18 +1,7 @@
export default {
colorScheme: {
light: {
root: {
background: '{surface.0}',
borderColor: '{surface.200}',
color: '{surface.700}'
}
},
dark: {
root: {
background: '{surface.900}',
borderColor: '{surface.700}',
color: '{surface.0}'
}
}
root: {
background: '{content.background}',
borderColor: '{content.border.color}',
color: '{content.color}'
}
};

View File

@ -1,18 +1,7 @@
export default {
colorScheme: {
light: {
root: {
background: '{surface.0}',
borderColor: '{surface.200}',
color: '{surface.700}'
}
},
dark: {
root: {
background: '{surface.900}',
borderColor: '{surface.700}',
color: '{surface.0}'
}
}
root: {
background: '{content.background}',
borderColor: '{content.border.color}',
color: '{content.color}'
}
};

View File

@ -1,18 +1,7 @@
export default {
colorScheme: {
light: {
root: {
background: '{surface.0}',
borderColor: '{surface.200}',
color: '{surface.700}'
}
},
dark: {
root: {
background: '{surface.900}',
borderColor: '{surface.700}',
color: '{surface.0}'
}
}
root: {
background: '{content.background}',
borderColor: '{content.border.color}',
color: '{content.color}'
}
};