Customizing the Styling

Themes

You can change the theme of Osmos Uploaders. To configure the theme, please add this section into your code snippet embedded in your HTML
<script>
FortyTwoLayers.configure({
theme: {
colors: {
primary: "#1888e2",
secondary: "#ffd626",
success: "#38d800",
warning: "#fba21d",
error: "#ef2929",
rowHighlight: "#ffd626"
}
},
schema: {
// other keys copied from the uploader view
}
})
</script>
Each of the colors is optional so feel free to set whichever ones you'd like. The colors must be a valid CSS color string, so things like red, indigo and rgba(255, 255, 255, 0) are all valid options.
Copy link