rgieseke / base16-textadept Goto Github PK
View Code? Open in Web Editor NEWBase16 themes for the Textadept editor
Base16 themes for the Textadept editor
Hi,
Need a help, please. I'm following the instructions adding: view:set_theme(not CURSES and 'base16-solarized-light' or 'term')
to the init file but an error message appear while opening and themes dont load:
/home/my_name/.textadept/init.lua:3:attempt to call a nil value (method 'set_theme')
Textadept version 10.8 on Arch Linux
thks
I'm using
property['style.line_number'] = 'fore:$(color.base04),back:$(color.base01)'
and
buffer:set_fold_margin_hi_color(true, property_int['color.base01'])
to provide a minimal differentiation between the text buffer and the 'surroundings' . My students sometimes seem confused by the fold_margin and take it as an additional space in the code. It's a very small help that makes the difference for me too...
Strange, this works:
view:set_theme(not CURSES and 'base16-solarized-light' or 'term')
But this does NOT work:
view:set_theme(not CURSES and 'base16-solarized-dark' or 'term')
Any ideas why?
The following small changes improves readability of the screen in dark themes a lot IMvHO
buffer:set_fold_margin_colour(true, property_int['color.base01'])
buffer:set_fold_margin_hi_colour(true, property_int['color.base02'])
Checked with:
ui.set_theme(
'base16-twilight-dark',
{
font = OSX and 'Monaco' or 'Ubuntu Mono',
fontsize = OSX and 14 or 13,
['style.linenumber'] = 'fore:%(color.base07),back:%(color.base02)',
})
in my init.lua
I'm so grateful for this "extension" to Textadept. :)
Is it possible to add the "Embers Light" variant to the collection? It looks like it might have been available once, but hard to tell.
Many thanks!
I'm using base16-materia and I had to
s/linenumber/lne_number/g
to make it work with the very latest github TextAdept
Hi,
I have tried to make the diff lexer in TextAdept "color.red and color.green-free". Unfortunately, I didn't succeed. In the process I have discovered that the diff lexer needs color.yellow
too. I'm patching the base16 themes on my own, defining
property['color.yellow'] = property['color.base0A']
for dark themes and
property['color.yellow'] = property['color.base0D']
for light themes. This seems to fix the issue reasonably...
Best, /PA
Reported by @amitbha in orbitalquark/textadept#281
The Markdown lexer is here: https://github.com/orbitalquark/scintillua/blob/default/lexers/markdown.lua
I attempted to create a set of "brushtrees" theme LUA files by doing a "save-as" of the Apathy set already availbe in this repo. I simply copy/pasted in the colour definitions into the existing files (under new names) ... but that was obviously optimistic!
The result in Textadept was surprising (looked like a "mocha" theme!), and so I obviously did something wrong.
If you could give me some tips, I would be happy to try again. Otherwise, would it be possible to get the Brushtrees (default = light) and Brushtrees Dark themes added to the textadept-themes Base 16 set? Thanks!
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.