├── templates ├── config.yaml └── default.mustache ├── README.md └── LICENSE /templates/config.yaml: -------------------------------------------------------------------------------- 1 | default: 2 | extension: -theme.h 3 | output: build 4 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | base16 theme for st 2 | =================== 3 | 4 | Base16 colors for the wonderful [st terminal][1] by suckless. 5 | 6 | [Base16][2] provides carefully chosen syntax highlighting and a default set of 7 | sixteen colors suitable for a wide range of applications. Base16 is not a 8 | single theme but a set of guidelines with numerous implementations. 9 | 10 | Installation 11 | ------------ 12 | 13 | Pick your favorite theme from the `build/` directory, and place its contents 14 | into you `config.h` file. 15 | 16 | License 17 | ------- 18 | 19 | MIT 20 | 21 | [1]: http://st.suckless.org/ 22 | [2]: https://github.com/chriskempson/base16 23 | -------------------------------------------------------------------------------- /templates/default.mustache: -------------------------------------------------------------------------------- 1 | /* 2 | * base16-{{scheme-slug}}-theme.h 3 | * 4 | * Base16: (https://github.com/chriskempson/base16) 5 | * 6 | * Authors: 7 | * 8 | * Scheme: {{scheme-author}} 9 | * Template: Honza Pokorny 10 | * 11 | */ 12 | 13 | 14 | static const char *colorname[] = { 15 | "#{{base00-hex}}", /* base00 */ 16 | "#{{base08-hex}}", /* base08 */ 17 | "#{{base0B-hex}}", /* base0B */ 18 | "#{{base0A-hex}}", /* base0A */ 19 | "#{{base0D-hex}}", /* base0D */ 20 | "#{{base0E-hex}}", /* base0E */ 21 | "#{{base0C-hex}}", /* base0C */ 22 | "#{{base05-hex}}", /* base05 */ 23 | "#{{base03-hex}}", /* base03 */ 24 | "#{{base09-hex}}", /* base09 */ 25 | "#{{base01-hex}}", /* base01 */ 26 | "#{{base02-hex}}", /* base02 */ 27 | "#{{base04-hex}}", /* base04 */ 28 | "#{{base06-hex}}", /* base06 */ 29 | "#{{base0F-hex}}", /* base0F */ 30 | "#{{base07-hex}}", /* base07 */ 31 | }; 32 | 33 | unsigned int defaultfg = 7; 34 | unsigned int defaultbg = 0; 35 | static unsigned int defaultcs = 13; 36 | static unsigned int defaultrcs = 0; 37 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2017 Honza Pokorny 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of 4 | this software and associated documentation files (the "Software"), to deal in 5 | the Software without restriction, including without limitation the rights to 6 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies 7 | of the Software, and to permit persons to whom the Software is furnished to do 8 | so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 19 | SOFTWARE. 20 | --------------------------------------------------------------------------------