n3mo / cyberpunk-theme.el Goto Github PK
View Code? Open in Web Editor NEWCyberpunk theme for emacs built-in color theme support
License: GNU General Public License v3.0
Cyberpunk theme for emacs built-in color theme support
License: GNU General Public License v3.0
Hi. I'm not sure if it's the right place to submit such issue.
I have some distracting problems with this theme because it has different heights for different faces.
It breaks so many things for me, because face are no more of the same size.
I see some strange ordering issues everywhere in emacs and it's expected.
Is there any way to preserve the same font height every where and use theme only for coloring?
In latest emacs (since 24.3 I think), there is a new method for setting terminal colours. As a result, The old method of setting the variable ansi-term-color-vector now produces an error.
The new method is to set various faces. Here's how I've updated my version of cyberpunk (the code format is mostly copied from the zenburn theme).
These colours look ok to me but could probably be improved!
`(term-color-black ((t (:foreground ,cyberpunk-bg
:background ,cyberpunk-bg-1))))
`(term-color-red ((t (:foreground ,cyberpunk-red-2
:background ,cyberpunk-red-4))))
`(term-color-green ((t (:foreground ,cyberpunk-green
:background ,cyberpunk-green+2))))
`(term-color-yellow ((t (:foreground ,cyberpunk-orange
:background ,cyberpunk-yellow))))
`(term-color-blue ((t (:foreground ,cyberpunk-blue-1
:background ,cyberpunk-blue-4))))
`(term-color-magenta ((t (:foreground ,cyberpunk-magenta
:background ,cyberpunk-red))))
`(term-color-cyan ((t (:foreground ,cyberpunk-cyan
:background ,cyberpunk-blue))))
`(term-color-white ((t (:foreground ,cyberpunk-fg
:background ,cyberpunk-bg-1))))
'(term-default-fg-color ((t (:inherit term-color-white))))
'(term-default-bg-color ((t (:inherit term-color-black))))
Best wishes,
Geoff Ferrari
I really like the old colour scheme with the yellow and orange. Can you add and option or maybe a variant of the current theme to use the old colour scheme
Currently, ediff does not follow the cyberpunk theme, it just shows the yellow and green bars. It seems many themes leave out ediff, so maybe this is just hard to do
Org Clock tables with headings that have progress indicators have the yellow box highlight on the progress indicator. This pushes the pipes (|) around and out of sync as you can see on the right of the screenshot.
Ideally, I'd like to keep the highlighting, it's very nice, but my obsessive nature can't not see the out of line pipes.
Like the theme. I would like to add this package to MELPA but it is not currently compatible with package.el
. Could you change the top line to:
;;; cyberpunk-theme.el --- Cyberpunk Colour Theme
and add a line under the Keywords
that is a version,
;; Version: 1.0
For MELPA purposes the version is irrelevant but it's nice if you keep the package compatible with package.el in general.
You can test if your fixes work by doing (package-buffer-info)
and seeing if it returns an error.
I really like this theme but when I use it I lose transparency.
I am using emacs from a terminal that is set to transparent. If I load emacs without this theme, the background is transparent.
However, when I load this theme, the background is solid black with no transparency. Is there a way to change this?
There hasn't been any release in a while an master contains some important fixes.
What about a 1.22?
Currently search highlighting displays yellows blocks which are rather displeasing to the eye in my opinion.
The following turns it to yellow underlining:
(set-face-attribute 'lazy-highlight nil
:underline '(:color "yellow")
:foreground 'unspecified
:background 'unspecified)
Thanks for making this beautiful theme!
When highlighting parenthesis matches, is it possible to keep foreground text highlighting, now when it's highlighted foreground text is single color?
(setq show-paren-style 'mixed)
;; I am trying to tweak using this line
;; (set-face-attribute 'show-paren-match-expression nil :background "#4f4f4f" :foreground 'unspecified)
This is with the cyberpunk theme loaded
This is without it
I was going crazy thinking this was an issue with my bitmap haxor fonts but it turns out that the issue seems to be coming from this theme. I don't know if you consider this a bug not, but either way I was hoping you could at least point me in the right direction to find a quick fix for it.
opening something like clojureverse.org
and it's just a sea of yellow
Emacs version on Mac OS Sierra 10.12.3
~$ emacs --version
GNU Emacs 25.1.1
Copyright (C) 2016 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GNU Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
~$
I point to melpa-stable using -
(add-to-list 'package-archives
'("melpa-stable" . "https://stable.melpa.org/packages/") t)
It finds the package alright, but then
https://stable.melpa.org/packages/cyberpunk-theme-1.17.el: Not found
Got around it by loading the .el
locally, but would love to let emacs manage it.
Thanks for the theme btw !
I've recently tried to move away from melpa to something more stable and found melpa-stable to be useful in this regard. The only sticking point is that the best color theme (cyberpunk) is not available in melpa-stable :) Unfortunately, once you need something that is not in melpa-stable, it is a lot of work to limit what comes in from there (I've not actually tried to do the limiting, so maybe it's not terrible, but it sounds terrible).
Might you consider releasing to melpa-stable (possibly in addition to melpa)? I don't think it is much extra work (and I don't think you even need tags unless you want to have them).
https://github.com/milkypostman/melpa#stable-packages
If not, I'll try to figure out how to limit packages coming from melpa so I can get my favorite theme without the instability of all of melpa.
Thanks!
FYI: There is a new version of magit coming and it would be really nice to have cyberpunk theme support!å Please see magit/magit#1922 (comment).
In Magit Status, when the point is on a commit (e.g. in the "Recent commits" section) the commit number becomes unreadable.
Same with Magit Log.
Any fix?
Magit diffs are hard to read for 2 reasons:
(set-face-background 'magit-section-highlight cyberpunk-bg-1)
(set-face-background 'magit-diff-hunk-heading cyberpunk-bg+1)
(set-face-background 'magit-diff-hunk-heading-highlight cyberpunk-bg+2)
(set-face-background 'magit-diff-hunk-heading-selection cyberpunk-bg+2)
(set-face-background 'diff-refine-added cyberpunk-green-2)
When I use cyberpunk theme fringe color is always white. If I switch to a dark theme such as tango-dark
and switch back to cyberpunk theme it stays dark. So it seem cyberpunk doesn't set the fringe color.
Emacs 25.3.2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.