Skip to content

Latest commit

 

History

History
148 lines (114 loc) · 4.54 KB

README.md

File metadata and controls

148 lines (114 loc) · 4.54 KB

Modern The Lounge themes for Modern IRC

Used by the popular Finnish channel #pulina @ QuakeNet

GitHub release The Lounge

Aiming to be the perfect The Lounge theme out there.

Please note: This repository does NOT include the main midnight theme. It should be used from its own repository: thelounge-theme-midnight or via npm. Other themes here are mainly for experimental reasons.

Requirements

Features

  • Minimal UI
  • Easy on the eyes
  • Conversation layout, see #2591
  • Automatic theme that has both day/light and night/dark versions based on your operating system setting
  • Fixed preview images with correct dimensions
  • Fixed most of The Lounge style bugs
  • The most readable modern fonts on Retina and 60hz mobile screens
Desktop view Mobile conversation layout

Installation

  1. Download
  2. Move files under dist/ folder to your thelounge/public/themes/ directory

Development

I want to change something!

Please fork this repository and make your changes.
If the changes are good we might even accept pull requests.

Editing only for yourself is easy, since my themes use CSS variables. For example with darker colors and AMOLED in mobile/desktop you could use in your Settings > Appearance > Custom Stylesheet:

/* Variables */
:root {
  --body-bg-color: #1c1e26;
  --window-bg-color: #191b20;
  --border-color: #2e2e2e;
  --time-color: #444;
  --time-color-hover: #444;
  --body-color-muted: #666;
  --font-size: 16px;
  --font-size-msg: 16px;
  --font-size-nick: 16px;
  --font-size-chat-timestamp: 16px;
  --font-size-channel-list: 16px;
  --font-size-embed-text: 16px;
}

/* Amoled on mobile */
@media (max-width: 680px) {
  :root {
    --font-size-chat-timestamp: 12px;
    --body-bg-color: #000;
    --window-bg-color: #000;
    --background-color-msg-self-conversation-layout: #121212;
    --highlight-bg-color-mobile-conversation-layout: #2c2c20;
    --chat-bubble-background: #000;
    --color-timestamp-self-mobile-conversation-layout: #666;
    --color-timestamp-highlight-mobile-conversation-layout: #666;
    --time-color: #666;
    --time-color-hover: #666;
    --body-color-muted: #888;
    --border-color: #222;
  }

  .msg:not(.self) {
    max-width: calc(100% - 10px) !important;
    width: 100% !important;
  }
}

/* Amoled on desktop */
:root {
  --font-size-chat-timestamp: 12px;
  --body-bg-color: #000;
  --window-bg-color: #000;
  --background-color-msg-self-conversation-layout: #121212;
  --highlight-bg-color-mobile-conversation-layout: #2c2c20;
  --chat-bubble-background: #000;
  --color-timestamp-self-mobile-conversation-layout: #666;
  --color-timestamp-highlight-mobile-conversation-layout: #666;
  --time-color: #666;
  --time-color-hover: #666;
  --body-color-muted: #888;
  --border-color: #222;
}

button::before,
button {
  color: var(--body-color-muted) !important;
}

.settings-menu li {
  font-size: 16px;
}

form.message-search input {
  color: #0d162d !important;
}

I want a bigger font to mobile

Change your theme to "Midnight-accessible" from Settings.

Development

  1. Clone this repo and thelounge-theme-midnight
  2. cd /path/to/thelounge-themes
  3. npm install
  4. Start coding by running in separate Terminal: code . or just use any editor you wish
  5. Run watchers:

For day:

scss --watch src/day.scss:dist/day.css --style compressed

For auto-day-midnight:

scss --watch src/auto-day-midnight.scss:dist/auto-day-midnight.css --style compressed

For midnight-classic-mobile:

scss --watch src/midnight-classic-mobile.scss:dist/midnight-classic-mobile.css --style compressed

For midnight-accessible:

scss --watch src/midnight-accessible.scss:dist/midnight-accessible.css --style compressed