sponsor Vim development Vim logo Vim Book Ad

ColorScheme2CSS : Converter Vim colorschemes in CSS files

 script karma  Rating 0/0, Downloaded by 263  Comments, bugs, improvements  Vim wiki

created by
 
script type
utility
 
description
Оговорка по тексту:
This is a machine translation of the Яandex service. I apologize for possible mistakes.
Для тех, кто думает по‐русски (говорит и пишет) ниже по тексту есть описание.

This plugin is designed to convert the current color scheme of the program Vim editor into a ready-made Cascading Style Sheets (CSS) file. The CSS files prepared by this plugin meet the requirements CSS Validation Service (https://jigsaw.w3.org/css-validator/) and can be used to connect to an HTML or XHTML document (web page).

The plugin can be used both for converting only the current color scheme, and for batch processing of several files of color schemes of the Vim editor.

When converting a color scheme, you can set the desired background — dark or light. It is also possible to specify the directory where the finished CSS files will be written.

This plugin requires a program Vim version 8.2 or newer to work. To convert color schemes, a variant of the program with support for a graphical user interface (GUI) is used.

Disclaimer on the text:
The English text is located above the text

Данный подключаемый модуль предназначен для преобразования текущей цветовой схемы программы «Редактор Vim» в готовый файл «каскадной таблицы стилей» (Cascading Style Sheets, CSS). Файлы CSS, подготовленные этим подключаемым модулем, соответствуют требованиям CSS Validation Service (https://jigsaw.w3.org/css-validator/) и могут быть использованы для подключения к документу (веб‐странице) HTML или XHTML.

Подключаемый модуль может быть использован как для преобразования только текущей цветовой схемы, так и для пакетной обработки нескольких файлов цветовых схем редактора Vim.

При конвертации цветовой схемы можно задать требуемый фон — тёмный или светлый (dark or light). Также возможно указать каталог, куда будут записаны готовые файлы CSS.

Для работы этого подключаемого модуля требуется программа Vim версии 8.2 или старше. Для преобразования цветовых схем используется вариант программы с поддержкой графического интерфейса пользователя (ГИП, graphical user interface, GUI).
 
install details
https://github.com/RestorerZ/Colo2CSS
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
colo2css_v193.vmb.zip 1.9.3 2022-01-29 8.2 In X11, when batch processing color schemes, gvim works collapsed into an icon.
Fixed bugs.
A little code optimization.
colo2css_v1829.vmb.zip 1.8.29 2022-01-15 8.2 Bug fixed, minor optimization
colo2css_v1815.vmb.zip 1.8.15 2022-01-09 8.2 small code optimization (refactoring)
colo2css_v1812.vmb.zip 1.8.12 2022-01-08 8.2 Initial upload
ip used for rating: 44.200.169.91

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github