This repository has been archived by the owner on Mar 27, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 235
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extra: [Tweetdeck-colordeck] Add cdk files for "Colordeck" extension
Backgrounds: Twitter will stop providing UserStream APIs until 24th Aug, this means all 3rd-party twitter clients will have these issues: * User-stream can't be updated. * Notifications, legacy DM styles will be ended. Changes: So we now do Tweetdeck support in both Chrome(ium) and Firefox. This commit provides light/dark colour schemes for "Colordeck" browser extensions for re-colouring Tweetdeck widgets partially. Still some widgets may be out of control though, but ours will improve Tweetdeck styling nicer than stock light/dark variants.
- Loading branch information
Showing
8 changed files
with
159 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,3 +38,5 @@ Makefile | |
Makefile.in | ||
missing | ||
inkscape.log | ||
ColorDeck-adapta.cdk | ||
ColorDeck-adapta-nokto.cdk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"data":{ | ||
"colors":{ | ||
"c_principal":"#263238", | ||
"c_background":"#263238", | ||
"c_ct_background":"#222D32", | ||
"c_ct_background2":"#66CEFF", | ||
"c_ct_text":"#7F898E", | ||
"c_cw_background":"#009688", | ||
"c_cw_text":"#FFFFFF", | ||
"c_links":"#55BCDA", | ||
"c_ml_background":"#243035", | ||
"c_ml_icons":"#B9C2C6", | ||
"c_ntfBubble_color":"#4DB6AC", | ||
"c_ntf_background":"#009688", | ||
"c_ntf_text":"#FFFFFF", | ||
"c_scrollbar":"#596469", | ||
"c_tw_background":"#263238", | ||
"c_tw_text":"#CFD8DC", | ||
"ct_backgroundType":"solid", | ||
"mode":"advanced" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"data":{ | ||
"colors":{ | ||
"c_principal":"#263238", | ||
"c_background":"#FAFBFC", | ||
"c_ct_background":"#E5E9EC", | ||
"c_ct_background2":"#66CEFF", | ||
"c_ct_text":"#7E868B", | ||
"c_cw_background":"#009688", | ||
"c_cw_text":"#FFFFFF", | ||
"c_links":"#03A9F4", | ||
"c_ml_background":"#F7F9F9", | ||
"c_ml_icons":"#414C51", | ||
"c_ntfBubble_color":"#4DB6AC", | ||
"c_ntf_background":"#009688", | ||
"c_ntf_text":"#FFFFFF", | ||
"c_scrollbar":"#BABFC1", | ||
"c_tw_background":"#FAFBFC", | ||
"c_tw_text":"#263238", | ||
"ct_backgroundType":"solid", | ||
"mode":"advanced" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
#! /bin/bash | ||
# | ||
# This file is part of adapta-gtk-theme | ||
# | ||
# Copyright (C) 2016-2018 Tista <[email protected]> | ||
# | ||
# This program is free software; you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License as published by | ||
# the Free Software Foundation; either version 2 of the License, or | ||
# (at your option) any later version. | ||
# | ||
|
||
SRC_LIGHT_FILE="./light/ColorDeck-adapta.cdk" | ||
SRC_DARK_FILE="./dark/ColorDeck-adapta-nokto.cdk" | ||
COL_FILE="../../gtk/sass/common/_colors.scss" | ||
KEY_FILE="../../gtk/sass/common/_key_colors.scss" | ||
|
||
# Default colours | ||
accent1="`grep 'Teal300' $COL_FILE | \ | ||
cut -d' ' -f3`" | ||
suggested1="`grep 'Teal500' $COL_FILE | \ | ||
cut -d' ' -f3`" | ||
|
||
# Check and re-color color-scheme | ||
if [ -e $KEY_FILE ]; then | ||
accent2="`grep 'key_accent' $KEY_FILE | \ | ||
cut -d' ' -f2 | cut -d';' -f1`" | ||
suggested2="`grep 'key_suggestion' $KEY_FILE | \ | ||
cut -d' ' -f2 | cut -d';' -f1`" | ||
|
||
cp -f $SRC_LIGHT_FILE.in $SRC_LIGHT_FILE && \ | ||
cp -f $SRC_DARK_FILE.in $SRC_DARK_FILE && sleep 1 | ||
|
||
if [ $accent1 != $accent2 ]; then | ||
sed -i "s/$accent1/$accent2/gi" $SRC_LIGHT_FILE | ||
sed -i "s/$accent1/$accent2/gi" $SRC_DARK_FILE | ||
echo $accent1 is re-colored with $accent2. | ||
fi | ||
if [ $suggested1 != $suggested2 ]; then | ||
sed -i "s/$suggested1/$suggested2/gi" $SRC_LIGHT_FILE | ||
sed -i "s/$suggested1/$suggested2/gi" $SRC_DARK_FILE | ||
echo $suggested1 is re-colored with $suggested2. | ||
fi | ||
else | ||
echo ../../gtk/sass/common/_key_colors.scss was not found. Stopped... | ||
exit 1 | ||
fi |