Git Product home page Git Product logo

Comments (5)

vivien avatar vivien commented on July 28, 2024

Hi @eepp,

Thanks for this suggestion 💩!
First of all, you cannot argue for theme support and use gnome-terminal as an example

I might like this idea, but what I disagree with, is overriding colors sent by WeeChat. If WeeChat sends [blue]foo[/blue], it's fair to keep foo in blue (as we said, WeeChat has internal algorithms to choose colors, e.g. for nicks). That being said, it can be cool to change some default values (default text, box sizes, etc.) as you mentioned. Then we could live together in total peace my friend!

But you know what? A feature I would really want before any customization of this kind is the support for responsive design, once the nick and buffer lists are properly implemented (I feel like it should be done before allowing any CSS customization). [edit: created issue #35]

My terminal is great, btw. :trollface:

from glowing-bear.

eepp avatar eepp commented on July 28, 2024

http://foaas.com/king/Vivien/Phil

I mentioned 4 terminal emulators, but yes I only presented a GNOME terminal screenshot. So here's the equivalent in urxvt, if you prefer:

urxvt*foreground: white
urxvt*background: black

*color0:  #2E3436
*color1:  #a40000
*color2:  #4E9A06
*color3:  #C4A000
*color4:  #3465A4
*color5:  #75507B
*color6:  #ce5c00
*color7:  #babdb9
*color8:  #555753
*color9:  #EF2929
*color10: #8AE234
*color11: #FCE94F
*color12: #729FCF
*color13: #AD7FA8
*color14: #fcaf3e
*color15: #EEEEEC

Yes, if WeeChat sends "blue", it should be blue. But what if I want a different blue? And if you may modify this color in your terminal emulator using the curses version of WeeChat, why couldn't you in its web interface?

What about the color blinds, for crying out loud? Are you really that much insensitive?

If we cannot override those colors in themes, I'll be the first to fork my own glowing-care-bears version.

(Responsive design will be done in CSS themes.)

from glowing-bear.

vivien avatar vivien commented on July 28, 2024

Well Phiphi, you know what? Go fork yourself.

That being said, your bears are so cute, I cannot ignore your request 🐻

Seeing WeeChat color codes, it makes sense to have core CSS classes .color00, .color01, etc., matching the default IRC colors, and allowing a custom stylesheet to override them.

I'm OK with this feature, but we should still consider #35 in the first place.

from glowing-bear.

eepp avatar eepp commented on July 28, 2024

Thanks Fifien.

Just to be clear: WeeChat sends "standard" colors (terminal colors) and "extended" colors. We wouldn't add classes for the latter because they are set by the user in WeeChat, whereas standard colors would be changed by the user in its own terminal emulator.

I told you: responsive design can all be done in CSS, allowing themes to provide different layouts based on the windows' width/orientation if they want using media queries. It's not a different issue, it's the same. As soon as HTML elements get concise, semantically correct classes, theming and responsive design should be easy.

Perhaps issue #35 should be called "Implement a default theme supporting responsive design".

from glowing-bear.

omeid avatar omeid commented on July 28, 2024

@eepp Well, if Weechat sends blue, you can change the blue upstream, in weechat, just like you would do with curses. too easy.

from glowing-bear.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.