馃懡 threkk

I have been having this question for a while... how does Lagrange decide the colours/icons for the capsules?

2 years ago 路 馃憤 zero

Actions

馃憢 Join Station

8 Replies

馃懡 skyjake

The only global setting Lagrange has for this are the page color themes, like "Colorful Dark" and "Sepia" (Page Style > Dark theme / Light theme), and Saturation for reducing color intensity. The themes are currently hardcoded because they have procedural elements based on the theme seed value. 路 2 years ago

馃懡 threkk

@js0000 @skyjake is there a way of defining a global color scheme for all the capsules? 路 2 years ago

馃懡 js0000

i think it's part of the protocol design (display controlled locally). instead of forcing your design choices on others (current web); you can take care of the "function" on your end and leave the "form" to readers ...

it's a different paradigm than is common now ... more collaborative than hierarchical

(can humans evolve?) 路 2 years ago

馃懡 skyjake

You can switch the colors locally for yourself. Open Page Information > Settings and there you can set the theme seed manually. 路 2 years ago

馃懡 threkk

@skyjake thanks! It is a pity there is no way of choosing the colours of your capsule, although at least you know what you can expected. 路 2 years ago

馃懡 skyjake

It's very much deterministic. The hostname is CRC-32-hashed and parts of the hash are then used for choosing color values. 路 2 years ago

馃懡 threkk

@moddedbear do you know if it is a deterministic or random algorithm? 馃 路 2 years ago

馃懡 moddedbear

It uses the capsule's hostname as a seed IIRC. 路 2 years ago