All Projects → tborychowski → elastic-dark

tborychowski / elastic-dark

Licence: GPL-3.0 license
Roundcube Skin

Programming Languages

CSS
56736 projects
HTML
75241 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to elastic-dark

sublime
🧛🏻‍♂️ Dark theme for Sublime Text
Stars: ✭ 87 (+234.62%)
Mutual labels:  dark-theme
DSC-official-website
Official website for DSC-VIT.
Stars: ✭ 32 (+23.08%)
Mutual labels:  dark-theme
wingpanel-indicator-daynight
A Wingpanel indicator to toggle 'prefer dark variant' option in elementary OS
Stars: ✭ 36 (+38.46%)
Mutual labels:  dark-theme
vuepress-theme-ououe
A blog theme for VuePress
Stars: ✭ 77 (+196.15%)
Mutual labels:  dark-theme
paddy-color-theme
A very detailed VS Code color theme with earthy tones and many background options for all ye badass hackers. 🍁
Stars: ✭ 29 (+11.54%)
Mutual labels:  dark-theme
libreoffice
🧛🏻‍♂️ Dark theme for LibreOffice
Stars: ✭ 17 (-34.62%)
Mutual labels:  dark-theme
npp-darcula
Dark theme for Notepad++ based on Darcula theme from JetBrains products
Stars: ✭ 114 (+338.46%)
Mutual labels:  dark-theme
hackmd-dark-theme
Dark theme for HackMD
Stars: ✭ 74 (+184.62%)
Mutual labels:  dark-theme
GogsThemes
An attempt to give some colors to amazing Gogs platform ..
Stars: ✭ 53 (+103.85%)
Mutual labels:  dark-theme
qtcreator
🧛🏻‍♂️ Dark theme for Qt Creator
Stars: ✭ 39 (+50%)
Mutual labels:  dark-theme
Turn-Off-the-Lights-Firefox-extension-WebExtensions
Firefox extension (WebExtensions)
Stars: ✭ 19 (-26.92%)
Mutual labels:  dark-theme
DiscordNight
An actual Dark/Nightmode Theme for Discord/BetterDiscord
Stars: ✭ 86 (+230.77%)
Mutual labels:  dark-theme
ayu-rs
CSS for Rustlang websites based on the ST3 theme Ayu
Stars: ✭ 74 (+184.62%)
Mutual labels:  dark-theme
mpeiapp
MpeiX - Расписание пар, карта корпусов и личный кабинет БАРС для студентов и преподавателей НИУ МЭИ
Stars: ✭ 19 (-26.92%)
Mutual labels:  dark-theme
dark-mode-example
Simple and fun dark-mode detection. JavaScript with a user mode toggle.
Stars: ✭ 27 (+3.85%)
Mutual labels:  dark-theme
google-calendar-userstyles
🗓 One Dark theme for Google Calendar
Stars: ✭ 19 (-26.92%)
Mutual labels:  dark-theme
fsc
A set of themeable WPF File System Controls similar to some parts of Windows (7-10) Explorer
Stars: ✭ 66 (+153.85%)
Mutual labels:  dark-theme
ImagePicker
Android image picker
Stars: ✭ 17 (-34.62%)
Mutual labels:  dark-theme
FastDarkTheme
Experiment with dark themes based on popular apps.
Stars: ✭ 47 (+80.77%)
Mutual labels:  dark-theme
i3
🧛🏻‍♂️ Dark theme for i3
Stars: ✭ 94 (+261.54%)
Mutual labels:  dark-theme

elastic-dark

This just extends Roundcube's Elastic skin with some dark theme colours.

Installation

0. Make sure you have Elastic skin installed

It's part of the Roundcube now, so it should be there, but just in case. This only extends the Elastic skin, by adding some additional css, but requires the base to be installed.

1. Download the skin:

In your roundcube/skins folder run this:

git clone https://github.com/tborychowski/elastic-dark.git

alternatively, if you don't have git installed, you can just get the zip instead:

wget wget -O elastic-dark.zip https://github.com/tborychowski/elastic-dark/archive/master.zip
unzip elastic-dark.zip
mv elastic-dark-master elastic-dark

Please note: you may need to use sudo for some commands, depending on your setup.

RoundCube v1.5-beta introduced some small template changes, so to get the compatible skin version, please check-out the v1.5-beta branch of this repo (run this after git clone...):

git checkout v1.5-beta

2. Update your Settings

Change the skin in Roundcube's Settings/User Interface to Elastic Dark.

3. Login screen

For login screen to work, you also need to update the roundcube/config/config.inc.php with:

$config['skin'] = 'elastic-dark';

4. Emails with !important inline styles

Unfortunately that seems to require a manual edit to one of the RC core php files (or a js plugin that would fix that). For the former solution open roundcube/program/steps/mail/func.inc and in rcmail_html4inline function add an entry to the $replace array: '/!important/' => '', (around line 1113), so that it looks like this:

    $replace = array(
        // add comments around html and other tags
        '/(<!DOCTYPE[^>]*>)/i'          => '<!--\\1-->',
        '/(<\?xml[^>]*>)/i'             => '<!--\\1-->',
        '/(<\/?html[^>]*>)/i'           => '<!--\\1-->',
        '/(<\/?head[^>]*>)/i'           => '<!--\\1-->',
        '/(<title[^>]*>.*<\/title>)/Ui' => '<!--\\1-->',
        '/(<\/?meta[^>]*>)/i'           => '<!--\\1-->',
        // quote <? of php and xml files that are specified as text/html
        '/<\?/' => '&lt;?',
        '/\?>/' => '?&gt;',
        '/!important/' => '',
    );

Unfortunately, this needs to be re-applied after every update of the Roundcube.

Credits

The whole css has been "borrowed" from Skorpion/roundcube-elastic-dark (with some small tweaks).

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].