├── README.md ├── updateStyles.pl ├── styles ├── mustang-dark.xml ├── denim-dark.xml ├── camo-dark.xml ├── dawn-light.xml ├── kellys-dark.xml ├── anokha-dark.xml ├── fruit-light.xml ├── bclear-light.xml ├── mickeysoft-light.xml ├── dejavu-light.xml ├── autumn2-light.xml ├── eclipse-light.xml ├── intellij-light.xml ├── xoria256-dark.xml ├── autumn-light.xml ├── tango-dark.xml ├── calmbreeze-light.xml ├── candycode-dark.xml ├── moss-dark.xml ├── badwolf-dark.xml ├── newspaper-light.xml ├── sorcerer-dark.xml ├── buttercream-light.xml ├── delek-light.xml ├── desert-dark.xml ├── desert256-dark.xml ├── slate-dark.xml ├── wombat-dark.xml ├── wombat256-dark.xml ├── molokai-dark.xml ├── biogoo-light.xml ├── soso-light.xml ├── solarized-dark.xml ├── solarized-light.xml ├── robinhood-dark.xml ├── summerfruit256-light.xml ├── tango2-dark.xml ├── zenburn-dark.xml ├── morning-light.xml ├── autumnleaf-light.xml ├── ekvoli-dark.xml ├── fruity-dark.xml └── github-light.xml ├── vimColorsToQtC.pl └── LICENSE /README.md: -------------------------------------------------------------------------------- 1 | vimColorsToQtCreator 2 | =================== 3 | 4 | Convert vim color schemes so they can be used in Qt Creator. 5 | 6 | Usage 7 | ----- 8 | 9 | ./vimColorsToQtC.pl {colorscheme} [light|dark] 10 | 11 | Examples: 12 | 13 | ./vimColorsToQtC.pl molokai 14 | ./vimColorsToQtC.pl soso 15 | ./vimColorsToQtC.pl solarized dark 16 | 17 | Copy output files into Qt Creator's styles directory located in: 18 | - Linux directory `$HOME/.config/QtProject/qtcreator/styles`, 19 | - Windows folder `%APPDATA%\QtProject\qtcreator\styles`. 20 | 21 | Pay respect to the authors of the Vim color schemes. 22 | -------------------------------------------------------------------------------- /updateStyles.pl: -------------------------------------------------------------------------------- 1 | #!/usr/bin/perl 2 | =license 3 | Copyright (C) 2012 Lukas Holecek 4 | 5 | This program is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | This program is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with this program. If not, see . 17 | =cut 18 | 19 | #! Update all styles in "styles/" directory using vimColorsToQtC.pl. 20 | 21 | use strict; 22 | use warnings; 23 | 24 | chdir('styles') or die "$!"; 25 | 26 | foreach (glob('*')) { 27 | if (/(.*)-(light|dark)\.xml/) { 28 | system('../vimColorsToQtC.pl', $1, $2); 29 | } 30 | } 31 | 32 | -------------------------------------------------------------------------------- /styles/mustang-dark.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |