-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
change the mask of nickname color for better look, and add parser for message color #15
Conversation
Wow. Nice hack! Sent from my iPhone
|
❤️ |
👍 👍 有興趣試試調明度嗎 XD |
@caasi: 調明度不須自行轉換,CSS 可以直接指定 HSL 數值如 Sent from my iPhone
|
@dannvix |
�$B86PTG!:!!$<U<U!#IT=,479MN8�(B IE8�$B!D�(B XD Sent from my iPhone
|
@dannvix |
這樣的話呢? |
@audreyt MLP是怎樣啦XDDDD |
效果圖
live demo
http://log.ysitd.ba4b.net/
nickname color mask的更改
更改mask成指定每一色第2跟第3 bit為10,也即是數值 0b0100 0000 到 0b1101 1111 間
這樣的話,每一色顏色強度會被限制在 64~223 間
明亮很多,而且也比較容易辨識
color parser則是使log支援irc的標準色碼
詳細格式見
https://github.com/myano/jenni/wiki/IRC-String-Formatting
有實作的部分是 前後景色、粗體、底線、斜體、重設
反白的部分則沒真的實作,因為目前大部分client似乎都不支援
實作的意義也不大