aboutsummaryrefslogtreecommitdiff
path: root/lua/themes/base-16.lua
AgeCommit message (Collapse)AuthorFilesLines
2024-07-04Add additional html style tags to base-16.luajvvv1-0/+2
This closes https://github.com/martanne/vis/issues/1196.
2024-05-03lua: themes: add `STYLE_CODE`Thim Cederlund1-1/+2
used by the following lexers: gemini, markdown and txt2tags to highlight sections of code.
2024-04-30lua: uncomment list of lexer specific styles in default themeRandy Palamar1-2/+0
2024-03-27lua: update default themesRandy Palamar1-0/+121
This also involves modifying the style definitions so that they include sub tags as well. For example command.section in latex should be mapped to COMMAND_SECTION.
2024-03-25ui: refactor style handlingRandy Palamar1-0/+36
The old style handling had a lot edge cases where one of the colours or the attribute wouldn't get applied correctly. This commit adds a new style_set() method to the Ui which should be called instead of manually touching a cell's style. This also means that the Cell struct can be made opaque since all the handling is now done inside the ui-terminal files. With this it is now viable to combine the light and dark 16 colour themes into a single base-16 theme. This theme works very well with the Linux virtual console and will now be the default theme regardless of if the terminal supports 256 colours or not. This should address the common complaints about vis not respecting the users default terminal colours. fixes #1151: Theming is sometimes partially applied or ignored see #1103: terminal no longer has transparency/opacity see #1040: Transparent background and setting options by default