Commit Graph

67 Commits

Author SHA1 Message Date
basbebe
692f03edd3
rename gruvbox theme to gruvbox-dark 2021-07-19 13:37:49 +02:00
basbebe
d701e9d0b2
add gruvbox-light theme 2021-07-19 13:32:17 +02:00
Skyler Hawthorne
488798d977 improve colors for rust/solarized
* bring colors more aligned with upstream solarized implementations
  (e.g. vim, emacs)
* tweak rust syntax
    * add more details, like operators, highlighting certain traits and
      types from std, etc
    * remove certain highlighters, like user types. This has the effect
      of just highlighting almost the whole code base one color, and
      wasn't really correct either. CamelCase for types is only convention
2021-04-28 21:27:43 -04:00
Johannes Altmanninger
3ab2b98ec3 rc: remove spurious tabs
This makes it easier to be consistent.

Also replace "<<-EOF" by "<<EOF", since the former only does trims
tabs, not spaces.
2021-04-17 20:56:23 +02:00
Maxime Coste
6c85c0cb29 Use alpha blending for gruvbox selections 2020-08-30 12:14:57 +10:00
Cem Aksoylar
34ef500930 Fix-up github 2020-06-05 18:39:21 -07:00
Cem Aksoylar
cca886af4d Fix-up tomorrow-night 2020-06-05 17:50:44 -07:00
Frank LENORMAND
37706d7a95 colors: Retire the bold and italic faces
This commit removes declarations and mentions to the built-in `bold`
and `italic` faces.

While they could be a user-friendly way of customising how tokens
are emphasised in Markdown documents (similarly to the
`$LESS_TERMCAP_*` environment variables for `man` pagers), most other
markup languages do not have the concept of "strong" and "emphasis"
but refer directly to the font style/weight.

The faces were also not even set by default to highlight as their
names implied, so having markup language support scripts directly
use the +b and +i face attributes is more consistent.
2020-05-15 11:56:38 +03:00
Frank LENORMAND
0c4c744362 rc: Highlight embedded documentation
This commit adds a `documentation` face to the builtin themes, used
to highlight common documentation syntaxes:

	/**
	 * JavaDoc
	 */

	/*!
	 * QtDoc
	 */

	/// Inline documentation

	## Inline documentation

The face is only an alias to the `comment` one for now.

Closes #1944
2020-01-29 20:03:21 +01:00
Maxime Coste
d9af1e8f34 Tweak palenight colorcheme MenuInfo face 2019-11-26 21:33:27 +11:00
Frank LENORMAND
69dc2f63b4 colors: Implement a greyscale colorscheme 2019-11-15 09:05:32 +01:00
Maxime Coste
8bbec3f170 Merge remote-tracking branch 'nfultz/nfultz/simple_color' 2019-11-10 12:39:59 +11:00
Maxime Coste
9d700344f7 Merge remote-tracking branch 'lenormf/colorscheme-kaleidoscope-light' 2019-11-07 20:17:56 +11:00
Frank LENORMAND
0c965c0bbd colors: Implement a colorblind-friendly dark colorscheme 2019-11-05 22:44:45 +01:00
Frank LENORMAND
83ee415e12 colors kaleidoscope-light: Set the wrap marker face 2019-11-05 09:01:24 +01:00
Neal Fultz
2e0410b27e adding plain color scheme 2019-10-24 22:32:06 +00:00
Frank LENORMAND
d1627827ee colors: Implement a colorblind-friendly light colorscheme 2019-10-19 16:03:49 +02:00
Jason Felice
3e91e9a0b3 Add palenight theme 2019-03-05 09:54:48 -05:00
Maxim Baz
fbe6f65aae
gruvbox: show comments in italic 2018-10-21 11:34:04 +02:00
Maxime Coste
4f2d969912 Merge remote-tracking branch 'laelath/colorscheme-whitespace' 2018-10-06 10:25:31 +10:00
Justin Frank
91cbe88536 Made all builtin colorschemes set Whitespace highlighter 2018-10-04 13:45:16 -07:00
Justin Frank
d84f94550c Reverted gruvbox StatusLine color back to default background color 2018-10-04 12:32:41 -07:00
Justin Frank
2de4388ffb Tweaked the gruvbox colorscheme
* changed the matching character highlighter to matcht vim colors
* set the StatusLine face

Use more defined colors over terminal colors

Added italics

Replaced defaults with defined colors

Tweaked cursor colors
2018-10-02 23:45:42 -07:00
Olivier Perret
fb1688bebb Make all cursor-related faces final 2018-09-23 16:17:23 +02:00
Maxime Coste
1631a7d8d9 Replace the Exclusive face attribute with Final
Final is more granular, it consists of FinalFg (f), FinalBg (g)
and FinalAttr (a) which control if a face's fg, bg, or attributes
fully overwrite the previous face (instead of merging) and if
following faces apply on top of this face or not.

Fixes #2388 if the Whitespace face has the FinalFg flag.
2018-09-23 23:27:14 +10:00
Maxime Coste
3617509b4a Merge remote-tracking branch 'maximbaz/gruvbox-linenumbers' 2018-07-08 18:57:15 +10:00
Maxime Coste
4175cb17f0 Merge remote-tracking branch 'boj/colorscheme-red-phoenix' 2018-07-05 22:11:57 +10:00
Brian Jones
caa5487cc2
Add Red Phoenix colorscheme
Dark terminal colorscheme based on dkeg's work located on https://terminal.sexy
2018-07-05 11:10:51 +09:00
Maxime Coste
ec16969609 Do not reparse %sh{...} strings
Automatic reparsing of %sh{...}, while convenient in many cases,
can be surprising as well, and can lead to security problems:

'echo %sh{ printf "foo\necho bar" }' runs 'echo foo', then 'echo bar'.
we make this danger explicit, and we fix the 'nop %sh{...}' pattern.

To reparse %sh{...} strings, they can be passed to evaluate-commands,
which has been fixed to work in every cases where %sh{...} reparsing
was used..
2018-07-05 07:54:28 +10:00
Maxim Baz
b511663404
Use bg1 2018-07-03 22:55:47 +02:00
Maxim Baz
51d3c285ef
Improve coloring of error messages in gruvbox 2018-06-23 23:03:51 +02:00
Maxim Baz
773855c16d
Improve coloring wrapped line numbers in gruvbox 2018-06-23 21:14:35 +02:00
Matthew Vilim
b63d410219 improve solarized theme and Scala syntax highlighting 2018-06-22 13:42:06 -07:00
Ben Oztalay
8d436a084d Add termcolor-based Solarized colorschemes 2018-05-15 10:58:09 -07:00
Maxime Coste
57baad4afd Make FaceRegistry scoped
set-face now takes a scope argument, and faces can be overridden on
a buffer or window basis.

colorscheme apply on global scope, which should be good enough for
now.

Fixes #1411
2018-04-07 16:27:50 +10:00
Maxime Coste
df5ae5fa79 colorschemes: Add PrimaryCursorEol and SecondaryCursorEol
Tried to respect the colorscheme themes, adjustements welcome.
2018-02-24 23:16:39 +11:00
Maxime Coste
6a6e71dc0f Highlight cursors differently when they lie on an end of line
When on an end of line, certain behaviours can be surprising, for
example delete will join the following line (which makes sense, and
is consistent, but hard to predict if we do not know the cursor is
on and end of line).

As Kakoune is moving more and more towards treating end of lines
as any other character, making it clear when the cursor lies on
them seems like a good way to reduce surprise.
2018-02-24 21:32:01 +11:00
Bhajneet S.K
f3a5249541 Removed terminal colors from Solarized and added a light variant. 2017-10-11 10:15:39 -04:00
laelath
828e76fbea Added gruvbox colorscheme
Based on the vim gruvbox colorscheme. I made it as close as possible to the
original vim colors, but had to make some changes due to kakoune's highlighting
scheme being different than vim's.
2017-03-24 14:11:05 -07:00
Maxime Coste
b6b8f0dbc5 Merge remote-tracking branch 'kurkale6ka/colo_desertex' 2017-03-10 12:23:52 +00:00
Nick Mosher
e1927fa9c4 Adds faces module and function. Renames identifier face to variable. 2017-02-09 21:43:29 -05:00
Nick Mosher
4ccecb2442 Adds tomorrow-night theme. 2017-02-02 16:06:21 -05:00
Maxime Coste
017fedc40f Tweak base16 colorscheme so that operators can be displayed in menus
MenuBackground bg and operators fg where the same, leading to operators
being invisible in menu text.
2017-01-05 09:50:04 +00:00
Dimitar Dimitrov
d725f3c302 New colorscheme: desertex 2016-12-01 15:45:57 +00:00
Frank LENORMAND
94971e0e8a Introduce the builtin face, modify scripts accordingly 2016-11-24 17:06:45 +03:00
Frank LENORMAND
85ce5db08a Merge the "error" duplicate face into "Error" 2016-11-09 17:51:42 +03:00
Maxime Coste
8627c93e11 Tweak zenburn theme, rely less on terminal builtin colors 2016-09-18 14:30:16 +01:00
Maxime Coste
c82b5bd016 Tweak zenburn BufferPadding color 2016-04-20 13:26:12 +01:00
Maxime Coste
f6d363c607 Fix zenburn BufferPadding face definition 2016-04-11 13:53:54 +01:00
Frank LENORMAND
e74878c299 Cleanup/fix some code 2016-02-17 16:09:34 +02:00