New-UDUpload - styling

The button created with New-UDUpload is misaligned next to other buttons, unless there’s something I need to add to adjust its position.

Imgur

Also, it adheres to different theme colouring as per some tests below trying to work out what affects each component…

$Theme = @{
palette = @{
    primary = @{
		light='#ec2a2a'
		main = '#cbcbcb'
		dark='#FFA500' # upload button bg hover
		contrastText='#FFA500' # hamburger, upload button text, udelement div tag content text color
	}
	secondary= @{
		light='#fff'
		main = '#FFA500' # switch/toggle-on colour
		dark='#FFA500'
		contrastText='#ec2a2a'
	}
	background = @{
		default='#ffffff'
	}

Cheers,
Steve.

1 Like