├── README.md ├── alacritty ├── README.md └── alacritty.yml ├── awesome ├── README.md └── oldbook.lua ├── background ├── README.md ├── oldbook-arch.png ├── oldbook-artix.png ├── oldbook-debian.png ├── oldbook-endeavour.png ├── oldbook-fedora.png ├── oldbook-freebsd.png ├── oldbook-garuda.png ├── oldbook-gentoo.png ├── oldbook-gnu.png ├── oldbook-haskell.png ├── oldbook-ink.png ├── oldbook-manjaro.png ├── oldbook-mint.png ├── oldbook-nix.png ├── oldbook-opensuse.png ├── oldbook-oroboros.png ├── oldbook-pop.png ├── oldbook-stripe.png ├── oldbook-tumbleweed.png ├── oldbook-ubuntu.png └── oldbook-void.png ├── bpytop.png ├── bpytop ├── README.md └── oldbook.theme ├── cava ├── README.md └── config ├── cover.png ├── desktop.png ├── hex-list.txt ├── kitty ├── README.md └── kitty.conf ├── oldbook.png ├── palette.png ├── ranger.png ├── ranger ├── README.md └── oldbook.py ├── rofi.png ├── rofi ├── README.md └── oldbook.rasi ├── supplementary-palette.png └── text.png /README.md: -------------------------------------------------------------------------------- 1 | ![](./cover.png) 2 | 3 | _______ 4 | 5 |

A light colorscheme for dark theme users!

6 | 7 | OldBook is a color theme inspired by the beautiful aesthetic of ancient caligraphy against aged tan paper. It's goal is to provide a cozy light colorscheme option, even to a dark theme user. 8 | 9 | Looking for a "paper-like" desktop experience? OldBook is the way! 10 | 11 | _______ 12 | 13 |

🎨 PALETTE 🎨

14 | 15 | ![](./palette.png) 16 | ![](./supplementary-palette.png) 17 | 18 | _______ 19 | 20 |

You can find the complete Hex list HERE

21 |

If you decide to apply this color scheme anywhere please consider sending us a screenshot to be featured here!

22 | 23 | 24 | _______ 25 | 26 |

📷 GALERY 📷

27 | 28 |
29 | 30 | Click here 31 | 32 | 33 | 34 |

Desktop

35 | 36 | 37 | 38 | 39 |

Ranger

40 | 41 | 42 | 43 | 44 |

BpyTOP

45 | 46 | 47 | 48 | 49 |

Rofi

50 | 51 | 52 | 53 | 54 |

Text

55 | 56 | 57 | 58 | 59 | 60 |
61 | 62 | _______ 63 | 64 |

🖼 SCREENSHOTS 🖼

65 | 66 |
67 | 68 | Click here 69 | 70 | 71 | 72 |

almeidaromim (as seen on Redit)

73 | 74 | 75 | 76 | 77 | 78 |
79 | 80 | _______ 81 | 82 |

🌄 BACKGROUNDS 🌄

83 | 84 |
85 | 86 | Click here 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 |
111 | 112 | 113 | _______ 114 | 115 | 116 |

This repository contains a noob's side-side-project, don't expect much!

117 |

Have a good one!

118 | -------------------------------------------------------------------------------- /alacritty/README.md: -------------------------------------------------------------------------------- 1 | ## Alacritty 2 | -------------------------------------------------------------------------------- /alacritty/alacritty.yml: -------------------------------------------------------------------------------- 1 | # OldBook colorscheme 2 | 3 | colors: 4 | # Default colors 5 | primary: 6 | background: '#e9e2c9' 7 | foreground: '#585148' 8 | bright_foreground: '#583A24' 9 | cursor: 10 | text: CellBackground 11 | cursor: CellForeground 12 | vi_mode_cursor: 13 | text: CellBackground 14 | cursor: CellForeground 15 | search: 16 | matches: 17 | foreground: '#583A24' 18 | background: '#e9e2c9' 19 | focused_match: 20 | foreground: '#583A24' 21 | background: '#e9e2c9' 22 | footer_bar: 23 | background: '#585148' 24 | foreground: '#e9e2c9' 25 | hints: 26 | start: 27 | foreground: '#585148' 28 | background: '#e9e2c9' 29 | end: 30 | foreground: '#e9e2c9' 31 | background: '#585148' 32 | line_indicator: 33 | foreground: None 34 | background: None 35 | selection: 36 | text: CellForeground 37 | background: '#585148' 38 | normal: 39 | black: '#2e2928' 40 | red: '#5e0f04' 41 | green: '#333f0a' 42 | yellow: '#957c16' 43 | blue: '#2a5173' 44 | magenta: '#513e56' 45 | cyan: '#0e616a' 46 | white: '#66615C' 47 | bright: 48 | black: '#413d37' 49 | red: '#7a1405' 50 | green: '#50620f' 51 | yellow: '#b4961a' 52 | blue: '#366994' 53 | magenta: '#674f6e' 54 | cyan: '#158f9c' 55 | white: '#918A83' 56 | 57 | # Gradient 58 | indexed_colors: 59 | - { index: 21, color: '#7A1405' } 60 | - { index: 22, color: '#731D10' } 61 | - { index: 23, color: '#6C261B' } 62 | - { index: 24, color: '#652E26' } 63 | - { index: 25, color: '#5E3631' } 64 | - { index: 26, color: '#56403D' } 65 | - { index: 27, color: '#504746' } 66 | - { index: 28, color: '#4A4E4F' } 67 | - { index: 29, color: '#435658' } 68 | - { index: 30, color: '#3E5C60' } 69 | - { index: 31, color: '#386369' } 70 | - { index: 32, color: '#316B73' } 71 | - { index: 33, color: '#2A747D' } 72 | - { index: 34, color: '#237D87' } 73 | - { index: 35, color: '#1C8691' } 74 | - { index: 36, color: '#158f9C' } 75 | -------------------------------------------------------------------------------- /awesome/README.md: -------------------------------------------------------------------------------- 1 | ## AwesomeWM 2 | -------------------------------------------------------------------------------- /awesome/oldbook.lua: -------------------------------------------------------------------------------- 1 | -- OldBook colorscheme 2 | 3 | -- A light colorscheme for dark theme users 4 | -- Goes well with Solarized GTK themes and other yellowish/tan themes 5 | 6 | return{ 7 | 8 | -- Base 9 | background = { 10 | nrm = '#E9E2C9', 11 | alt = '#E9E1C3', 12 | fcs = '#DAC9AA' 13 | }, 14 | foreground = { 15 | nrm = '#585148', 16 | alt = '#583A24' 17 | }, 18 | accent = { 19 | nrm = '#585148', 20 | alt = '#583A24', 21 | brt_nrm = '#7A1405', 22 | brt_alt = '#158f9C' 23 | }, 24 | 25 | -- Normal 26 | normal = { 27 | black = '#2E2928', 28 | red = '#5E0f04', 29 | green = '#333f0A', 30 | yellow = '#957C16', 31 | blue = '#2A5173', 32 | magenta = '#513E56', 33 | cyan = '#0E616A', 34 | white = '#66615C', 35 | orange = '#683504', 36 | pink = '#5F2263', 37 | brown = '#523622' 38 | }, 39 | 40 | -- Bright 41 | bright = { 42 | black = '#413D37', 43 | red = '#7A1405', 44 | green = '#50620F', 45 | yellow = '#B4961A', 46 | blue = '#366994', 47 | magenta = '#674f6E', 48 | cyan = '#158f9C', 49 | white = '#918A83', 50 | orange = '#984E06', 51 | pink = '#85308A', 52 | brown = '#784F31' 53 | }, 54 | 55 | -- Content grey 56 | 57 | content = { 58 | c1 = '#262422', 59 | c2 = '#3D3A37', 60 | c3 = '#4F4B47', 61 | c4 = '#66615C', 62 | c5 = '#7D7770', 63 | c6 = '#918A83' 64 | }, 65 | 66 | 67 | -- Gradient 8 68 | grad8 = { 69 | g1 = '#7A1405', 70 | g2 = '#6C261B', 71 | g3 = '#5E3631', 72 | g4 = '#504746', 73 | g5 = '#435658', 74 | g6 = '#386369', 75 | g7 = '#2A747D', 76 | g8 = '#158f9C' 77 | }, 78 | 79 | -- Gradient 16 80 | grad16 = { 81 | g1 = '#7A1405', 82 | g2 = '#731D10', 83 | g3 = '#6C261B', 84 | g4 = '#652E26', 85 | g5 = '#5E3631', 86 | g6 = '#56403D', 87 | g7 = '#504746', 88 | g8 = '#4A4E4F', 89 | g9 = '#435658', 90 | g10 = '#3E5C60', 91 | g11 = '#386369', 92 | g12 = '#316B73', 93 | g13 = '#2A747D', 94 | g14 = '#237D87', 95 | g15 = '#1C8691', 96 | g16 = '#158f9C' 97 | }, 98 | 99 | black = '#000000', 100 | white = '#FFFFFF' 101 | 102 | } 103 | 104 | -------------------------------------------------------------------------------- /background/README.md: -------------------------------------------------------------------------------- 1 | # Backgroud 2 | All wallpapers are handmade, very diy but made with love. 3 | If you have a request for a new distro wallpaper feel free to tell us! 4 | -------------------------------------------------------------------------------- /background/oldbook-arch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoisonIsBestType/OldBook/d2f19568a6bb7a7f3c771c77e32d839c6f350487/background/oldbook-arch.png -------------------------------------------------------------------------------- /background/oldbook-artix.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoisonIsBestType/OldBook/d2f19568a6bb7a7f3c771c77e32d839c6f350487/background/oldbook-artix.png -------------------------------------------------------------------------------- /background/oldbook-debian.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoisonIsBestType/OldBook/d2f19568a6bb7a7f3c771c77e32d839c6f350487/background/oldbook-debian.png -------------------------------------------------------------------------------- /background/oldbook-endeavour.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoisonIsBestType/OldBook/d2f19568a6bb7a7f3c771c77e32d839c6f350487/background/oldbook-endeavour.png -------------------------------------------------------------------------------- /background/oldbook-fedora.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoisonIsBestType/OldBook/d2f19568a6bb7a7f3c771c77e32d839c6f350487/background/oldbook-fedora.png -------------------------------------------------------------------------------- /background/oldbook-freebsd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoisonIsBestType/OldBook/d2f19568a6bb7a7f3c771c77e32d839c6f350487/background/oldbook-freebsd.png -------------------------------------------------------------------------------- /background/oldbook-garuda.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoisonIsBestType/OldBook/d2f19568a6bb7a7f3c771c77e32d839c6f350487/background/oldbook-garuda.png -------------------------------------------------------------------------------- /background/oldbook-gentoo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoisonIsBestType/OldBook/d2f19568a6bb7a7f3c771c77e32d839c6f350487/background/oldbook-gentoo.png -------------------------------------------------------------------------------- /background/oldbook-gnu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoisonIsBestType/OldBook/d2f19568a6bb7a7f3c771c77e32d839c6f350487/background/oldbook-gnu.png -------------------------------------------------------------------------------- /background/oldbook-haskell.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoisonIsBestType/OldBook/d2f19568a6bb7a7f3c771c77e32d839c6f350487/background/oldbook-haskell.png -------------------------------------------------------------------------------- /background/oldbook-ink.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoisonIsBestType/OldBook/d2f19568a6bb7a7f3c771c77e32d839c6f350487/background/oldbook-ink.png -------------------------------------------------------------------------------- /background/oldbook-manjaro.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoisonIsBestType/OldBook/d2f19568a6bb7a7f3c771c77e32d839c6f350487/background/oldbook-manjaro.png -------------------------------------------------------------------------------- /background/oldbook-mint.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoisonIsBestType/OldBook/d2f19568a6bb7a7f3c771c77e32d839c6f350487/background/oldbook-mint.png -------------------------------------------------------------------------------- /background/oldbook-nix.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoisonIsBestType/OldBook/d2f19568a6bb7a7f3c771c77e32d839c6f350487/background/oldbook-nix.png -------------------------------------------------------------------------------- /background/oldbook-opensuse.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoisonIsBestType/OldBook/d2f19568a6bb7a7f3c771c77e32d839c6f350487/background/oldbook-opensuse.png -------------------------------------------------------------------------------- /background/oldbook-oroboros.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoisonIsBestType/OldBook/d2f19568a6bb7a7f3c771c77e32d839c6f350487/background/oldbook-oroboros.png -------------------------------------------------------------------------------- /background/oldbook-pop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoisonIsBestType/OldBook/d2f19568a6bb7a7f3c771c77e32d839c6f350487/background/oldbook-pop.png -------------------------------------------------------------------------------- /background/oldbook-stripe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoisonIsBestType/OldBook/d2f19568a6bb7a7f3c771c77e32d839c6f350487/background/oldbook-stripe.png -------------------------------------------------------------------------------- /background/oldbook-tumbleweed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoisonIsBestType/OldBook/d2f19568a6bb7a7f3c771c77e32d839c6f350487/background/oldbook-tumbleweed.png -------------------------------------------------------------------------------- /background/oldbook-ubuntu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoisonIsBestType/OldBook/d2f19568a6bb7a7f3c771c77e32d839c6f350487/background/oldbook-ubuntu.png -------------------------------------------------------------------------------- /background/oldbook-void.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoisonIsBestType/OldBook/d2f19568a6bb7a7f3c771c77e32d839c6f350487/background/oldbook-void.png -------------------------------------------------------------------------------- /bpytop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoisonIsBestType/OldBook/d2f19568a6bb7a7f3c771c77e32d839c6f350487/bpytop.png -------------------------------------------------------------------------------- /bpytop/README.md: -------------------------------------------------------------------------------- 1 | # BpyTOP 2 | 3 | 4 | -------------------------------------------------------------------------------- /bpytop/oldbook.theme: -------------------------------------------------------------------------------- 1 | #BlackLotus theme 2 | #by poisonisbesttype 3 | 4 | # Colors should be in 6 or 2 character hexadecimal or single spaced rgb decimal: "#RRGGBB", "#BW" or "0-255 0-255 0-255" 5 | # example for white: "#ffffff", "#ff" or "255 255 255". 6 | 7 | # All graphs and meters can be gradients 8 | # For single color graphs leave "mid" and "end" variable empty. 9 | # Use "start" and "end" variables for two color gradient 10 | # Use "start", "mid" and "end" for three color gradient 11 | 12 | # Main background, empty for terminal default, need to be empty if you want transparent background 13 | theme[main_bg]="" 14 | 15 | # Main text color 16 | theme[main_fg]="#585148" 17 | 18 | # Title color for boxes 19 | theme[title]="#211F21" 20 | 21 | # Higlight color for keyboard shortcuts 22 | theme[hi_fg]="#583A24" 23 | 24 | # Background color of selected item in processes box 25 | theme[selected_bg]="#158f9C" 26 | 27 | # Foreground color of selected item in processes box 28 | theme[selected_fg]="#211F21" 29 | 30 | # Color of inactive/disabled text 31 | theme[inactive_fg]="#DAC9AA" 32 | 33 | # Misc colors for processes box including mini cpu graphs, details memory graph and details status text 34 | theme[proc_misc]="#7A1405" 35 | 36 | # Cpu box outline color 37 | theme[cpu_box]="#7A1405" 38 | 39 | # Memory/disks box outline color 40 | theme[mem_box]="#7A1405" 41 | 42 | # Net up/down box outline color 43 | theme[net_box]="#7A1405" 44 | 45 | # Processes box outline color 46 | theme[proc_box]="#7A1405" 47 | 48 | # Box divider line and small boxes line color 49 | theme[div_line]="#585148" 50 | 51 | # Temperature graph colors 52 | theme[temp_start]="#0e616a" 53 | theme[temp_mid]="#583A24" 54 | theme[temp_end]="#7A1405" 55 | 56 | # CPU graph colors 57 | theme[cpu_start]="#0e616a" 58 | theme[cpu_mid]="#583A24" 59 | theme[cpu_end]="#7A1405" 60 | 61 | # Mem/Disk free meter 62 | theme[free_start]="#652E26" 63 | theme[free_mid]="#731D10" 64 | theme[free_end]="#7A1405" 65 | 66 | # Mem/Disk cached meter 67 | theme[cached_start]="#4A4E4F" 68 | theme[cached_mid]="#56403D" 69 | theme[cached_end]="#652E26" 70 | 71 | # Mem/Disk available meter 72 | theme[available_start]="#316B73" 73 | theme[available_mid]="#3E5C60" 74 | theme[available_end]="#4A4E4F" 75 | 76 | # Mem/Disk used meter 77 | theme[used_start]="#158f9C" 78 | theme[used_mid]="#237D87" 79 | theme[used_end]="#316B73" 80 | 81 | # Download graph colors 82 | theme[download_start]="#5E3631" 83 | theme[download_mid]="#6C261B" 84 | theme[download_end]="#7A1405" 85 | 86 | # Upload graph colors 87 | theme[upload_start]="#316B73" 88 | theme[upload_mid]="#237D87" 89 | theme[upload_end]="#158f9C" 90 | -------------------------------------------------------------------------------- /cava/README.md: -------------------------------------------------------------------------------- 1 | ## Cava 2 | Accent colors gradient 3 | -------------------------------------------------------------------------------- /cava/config: -------------------------------------------------------------------------------- 1 | # OldBook gradient 2 | 3 | [color] 4 | 5 | ; background = default 6 | ; foreground = default 7 | 8 | gradient = 1 9 | gradient_count = 8 10 | gradient_color_1 = '#7A1405' 11 | gradient_color_2 = '#6C261B' 12 | gradient_color_3 = '#5E3631' 13 | gradient_color_4 = '#504746' 14 | gradient_color_5 = '#435658' 15 | gradient_color_6 = '#386369' 16 | gradient_color_7 = '#2A747D' 17 | gradient_color_8 = '#158f9C' 18 | -------------------------------------------------------------------------------- /cover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoisonIsBestType/OldBook/d2f19568a6bb7a7f3c771c77e32d839c6f350487/cover.png -------------------------------------------------------------------------------- /desktop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoisonIsBestType/OldBook/d2f19568a6bb7a7f3c771c77e32d839c6f350487/desktop.png -------------------------------------------------------------------------------- /hex-list.txt: -------------------------------------------------------------------------------- 1 | 2 | -- Environment 3 | 4 | background: 5 | normal: #E9E2C9 6 | alt: #E9E1C3 7 | focus: #DAC9AA 8 | foreground: 9 | normal: #585148 10 | alt: #583A24 11 | accent: 12 | ink : #585148 13 | brown : #583A24 14 | scarlet : #7A1405 15 | aquamarine : #158F9C 16 | 17 | -- Text/terminal 18 | 19 | normal: 20 | black: #2E2928 21 | red: #5E0F04 22 | green: #333F0A 23 | yellow: #957C16 24 | blue: #2A5173 25 | magenta: #513E56 26 | cyan: #0E616A 27 | white: #66615C 28 | bright: 29 | black: #413D37 30 | red: #7A1405 31 | green: #50620F 32 | yellow: #B4961A 33 | blue: #366994 34 | magenta: #674F6E 35 | cyan: #158F9C 36 | white: #918A83 37 | 38 | -- Content grey 39 | 40 | content: 41 | c1: #262422 42 | c2: #3D3A37 43 | c3: #4F4B47 44 | c4: #66615C 45 | c5: #7D7770 46 | c6: #918A83 47 | 48 | -- Supplementary 49 | 50 | normal: 51 | orange: #683504 52 | pink: #5F2263 53 | brown: #523622 54 | bright: 55 | orange: #984E06 56 | pink: #85308A 57 | brown: #784F31 58 | 59 | -- Gradient 60 | 61 | 8bit: 62 | 1: #7A1405 63 | 2: #6C261B 64 | 3: #5E3631 65 | 4: #504746 66 | 5: #435658 67 | 6: #386369 68 | 7: #2A747D 69 | 8: #158F9C 70 | 16bit: 71 | 1: #7A1405 72 | 2: #731D10 73 | 3: #6C261B 74 | 4: #652E26 75 | 5: #5E3631 76 | 6: #56403D 77 | 7: #504746 78 | 8: #4A4E4F 79 | 9: #435658 80 | 10: #3E5C60 81 | 11: #386369 82 | 12: #316B73 83 | 13: #2A747D 84 | 14: #237D87 85 | 15: #1C8691 86 | 16: #158F9C 87 | 88 | -------------------------------------------------------------------------------- /kitty/README.md: -------------------------------------------------------------------------------- 1 | ## KITTY 2 | -------------------------------------------------------------------------------- /kitty/kitty.conf: -------------------------------------------------------------------------------- 1 | ##COLOR SCHEME 2 | 3 | # Grounds 4 | background #E9E2C9 5 | foreground #585148 6 | 7 | # Selection colors 8 | selection_background #DAC9AA 9 | selection_foreground #585148 10 | 11 | # Normal colors 12 | color0 #2E2928 13 | color1 #5E0F04 14 | color2 #333F0A 15 | color3 #957C16 16 | color4 #2A5173 17 | color5 #513E56 18 | color6 #0E616A 19 | color7 #66615C 20 | color8 #413D37 21 | color9 #7A1405 22 | color10 #50620F 23 | color11 #B4961A 24 | color12 #366994 25 | color13 #674F6E 26 | color14 #158F9C 27 | color15 #918A83 28 | -------------------------------------------------------------------------------- /oldbook.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoisonIsBestType/OldBook/d2f19568a6bb7a7f3c771c77e32d839c6f350487/oldbook.png -------------------------------------------------------------------------------- /palette.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoisonIsBestType/OldBook/d2f19568a6bb7a7f3c771c77e32d839c6f350487/palette.png -------------------------------------------------------------------------------- /ranger.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoisonIsBestType/OldBook/d2f19568a6bb7a7f3c771c77e32d839c6f350487/ranger.png -------------------------------------------------------------------------------- /ranger/README.md: -------------------------------------------------------------------------------- 1 | ## Ranger 2 | (presumes terminal emulator is already using OldBook colors) 3 | 4 | ```blacklotus.theme``` has to be placed in ```/usr/lib/.../ranger/colorschemes``` if in ```~/.config/ranger``` doesn't work. 5 | -------------------------------------------------------------------------------- /ranger/oldbook.py: -------------------------------------------------------------------------------- 1 | # This file is part of ranger, the console file manager. 2 | # License: GNU GPL version 3, see the file "AUTHORS" for details. 3 | # Author: Joseph Tannhuber , 2013 4 | # Solarized like colorscheme, similar to solarized-dircolors 5 | # from https://github.com/seebi/dircolors-solarized. 6 | # This is a modification of Roman Zimbelmann's default colorscheme. 7 | 8 | from __future__ import (absolute_import, division, print_function) 9 | 10 | from ranger.gui.colorscheme import ColorScheme 11 | from ranger.gui.color import ( 12 | black, blue, cyan, green, magenta, red, white, yellow, default, 13 | normal, bold, reverse, dim, BRIGHT, 14 | default_colors, 15 | ) 16 | 17 | 18 | class Oldbook(ColorScheme): 19 | progress_bar_color = cyan 20 | 21 | def use(self, context): # pylint: disable=too-many-branches,too-many-statements 22 | fg, bg, attr = default_colors 23 | 24 | if context.reset: 25 | return default_colors 26 | 27 | elif context.in_browser: 28 | fg = yellow 29 | if context.selected: 30 | attr = reverse 31 | else: 32 | attr = normal 33 | if context.empty or context.error: 34 | fg = default 35 | bg = red 36 | if context.border: 37 | fg = default 38 | fg += BRIGHT 39 | if context.media: 40 | if context.image: 41 | fg = cyan 42 | fg += BRIGHT 43 | else: 44 | fg = cyan 45 | if context.container: 46 | fg = red 47 | fg += BRIGHT 48 | if context.directory: 49 | fg = default 50 | if context.selected: 51 | fg = red 52 | bg = default 53 | elif context.executable and not \ 54 | any((context.media, context.container, 55 | context.fifo, context.socket)): 56 | fg = green 57 | attr |= bold 58 | if context.socket: 59 | fg = yellow 60 | bg = white 61 | attr |= bold 62 | if context.fifo: 63 | fg = green 64 | bg = white 65 | attr |= bold 66 | if context.device: 67 | fg = black 68 | fg += BRIGHT 69 | bg = white 70 | attr |= bold 71 | if context.link: 72 | fg = cyan if context.good else red 73 | fg += BRIGHT 74 | attr |= bold 75 | if context.bad: 76 | bg = black 77 | if context.tag_marker and not context.selected: 78 | attr |= bold 79 | if fg in (red, magenta): 80 | fg = white 81 | else: 82 | fg = red 83 | if not context.selected and (context.cut or context.copied): 84 | fg = black 85 | attr |= bold 86 | if context.main_column: 87 | if context.selected: 88 | attr |= bold 89 | if context.marked: 90 | attr |= bold 91 | bg = black 92 | bg += BRIGHT 93 | if context.badinfo: 94 | if attr & reverse: 95 | bg = magenta 96 | else: 97 | fg = magenta 98 | 99 | if context.inactive_pane: 100 | fg = black 101 | fg += BRIGHT 102 | 103 | elif context.in_titlebar: 104 | attr |= bold 105 | if context.hostname: 106 | fg = black if context.bad else blue 107 | if context.bad: 108 | bg = red 109 | bg += BRIGHT 110 | elif context.directory: 111 | fg = red 112 | fg += BRIGHT 113 | elif context.tab: 114 | fg = green if context.good else green 115 | fg += BRIGHT 116 | bg = black 117 | bg += BRIGHT 118 | elif context.link: 119 | fg = cyan 120 | 121 | elif context.in_statusbar: 122 | if context.permissions: 123 | if context.good: 124 | fg = magenta 125 | fg += BRIGHT 126 | elif context.bad: 127 | fg = red 128 | fg += BRIGHT 129 | bg = black 130 | if context.marked: 131 | attr |= bold | reverse 132 | fg = black 133 | fg += BRIGHT 134 | bg = green 135 | bg += BRIGHT 136 | if context.message: 137 | if context.bad: 138 | attr |= bold 139 | fg = red 140 | fg += BRIGHT 141 | bg = black 142 | if context.loaded: 143 | bg = self.progress_bar_color 144 | 145 | if context.text: 146 | if context.highlight: 147 | attr |= reverse 148 | 149 | if context.in_taskview: 150 | if context.title: 151 | fg = magenta 152 | fg += BRIGHT 153 | 154 | if context.selected: 155 | attr |= reverse 156 | 157 | if context.loaded: 158 | if context.selected: 159 | bg = self.progress_bar_color 160 | 161 | return fg, bg, attr 162 | -------------------------------------------------------------------------------- /rofi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoisonIsBestType/OldBook/d2f19568a6bb7a7f3c771c77e32d839c6f350487/rofi.png -------------------------------------------------------------------------------- /rofi/README.md: -------------------------------------------------------------------------------- 1 | ## Rofi 2 | -------------------------------------------------------------------------------- /rofi/oldbook.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | bg-normal: #e9e2c9; 3 | bg-alt: #E9E1C3; 4 | bg-fcs: #DAC9AA; 5 | fg-normal: #585148; 6 | fg-alt: #583A24; 7 | accent-normal: #585148; 8 | accent-alt: #583A24; 9 | accent-normal-brt: #7A1405; 10 | accent-alt-brt: #158f9C; 11 | black: #2e2928; 12 | red: #5e0f04; 13 | green: #333f0a; 14 | yellow: #957c16; 15 | blue: #2a5173; 16 | magenta: #513e56; 17 | cyan: #0e616a; 18 | white: #66615C; 19 | orange: #683504; 20 | pink: #5f2263; 21 | brown: #523622; 22 | black-brt: #413d37; 23 | red-brt: #7a1405; 24 | green-brt: #50620f; 25 | yellow-brt: #b4961a; 26 | blue-brt: #366994; 27 | magenta-brt: #674f6e; 28 | cyan-brt: #158f9c; 29 | white-brt: #918A83; 30 | orange-brt: #984e06; 31 | pink-brt: #85308a; 32 | brown-brt: #784f31; 33 | } 34 | -------------------------------------------------------------------------------- /supplementary-palette.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoisonIsBestType/OldBook/d2f19568a6bb7a7f3c771c77e32d839c6f350487/supplementary-palette.png -------------------------------------------------------------------------------- /text.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoisonIsBestType/OldBook/d2f19568a6bb7a7f3c771c77e32d839c6f350487/text.png --------------------------------------------------------------------------------