mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-11 08:55:23 +03:00
chat: remove "#" from fallback sigil color
In the chat input we fall back to #000000 and blend it; but we also prefix any color we send to the sigil component with a # for uxToHex values, so we end up passing ##000000. This results in simplified sigils -- when in doubt, ensure the hex formatting is correct...
This commit is contained in:
parent
74fec3a76e
commit
eff3c85973
@ -200,7 +200,7 @@ export class ChatInput extends Component {
|
||||
readOnlyRender() {
|
||||
const { props } = this;
|
||||
let color = !!props.ownerContact
|
||||
? uxToHex(props.ownerContact.color) : '#000000';
|
||||
? uxToHex(props.ownerContact.color) : '000000';
|
||||
|
||||
let sigilClass = !!props.ownerContact
|
||||
? "" : "mix-blend-diff";
|
||||
@ -230,7 +230,7 @@ export class ChatInput extends Component {
|
||||
const { props, state } = this;
|
||||
|
||||
let color = !!props.ownerContact
|
||||
? uxToHex(props.ownerContact.color) : '#000000';
|
||||
? uxToHex(props.ownerContact.color) : '000000';
|
||||
|
||||
let sigilClass = !!props.ownerContact
|
||||
? "" : "mix-blend-diff";
|
||||
|
Loading…
Reference in New Issue
Block a user