Git Product home page Git Product logo

Comments (6)

rougier avatar rougier commented on June 15, 2024

This would require to split the current theme into layout part and color part. If you're only interested in the header-line, you can probably extract it from the source and put the code in your .emacs file.

from elegant-emacs.

brihadeesh avatar brihadeesh commented on June 15, 2024

Well, I'm kinda hooked to pretty much all of the layout features! Would this be a feature you'd like to have as part of this project?

from elegant-emacs.

rougier avatar rougier commented on June 15, 2024

I'm not sure how to do that. I suspect modus-operand set the modeline to fit his theme and there's not much we can do. Do you know if there's an option to leave the modeline untouched in modus?

from elegant-emacs.

brihadeesh avatar brihadeesh commented on June 15, 2024

I'll have to take a look at their code. I have a feeling though that this might require commenting out entire regions of the themes' code and run elegant-emacs after loading the theme. Will check and get back shortly.

from elegant-emacs.

terlar avatar terlar commented on June 15, 2024

I think you are on to the right path, splitting the theme into several parts should work, then you can apply in a certain order.

  • ui (mode line/fringe/etc)
  • typography
  • content (I guess this is where the color config could happen)

Then you would apply all these themes and the desired color-scheme. I think you would have to experiment a bit though to find out what should live where.

Personally I have a theme that splits typography and color-scheme which works well.

If this is the case you would load in order of priority typography, ui, "external color-scheme", content

from elegant-emacs.

brihadeesh avatar brihadeesh commented on June 15, 2024

@terlar thanks, this makes sense. I'm just a little daunted about implementing these changes considering my near zero experience with elisp. I think Nicolas has already split some of the theming elements into separate files. Now I guess the UI chunk (i.e. elegant.el) needs to be split into the typography and UI parts and made compatible with other themes as well? I've been working with a macro that @ltmhs made for "colourless" themes and I believe I could borrow bits of that. Will fool around a bit before getting back here.

from elegant-emacs.

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.