After Width: | Height: | Size: 138 B |
After Width: | Height: | Size: 455 B |
After Width: | Height: | Size: 356 B |
@ -0,0 +1 @@
|
||||
../button-assets/button.png
|
After Width: | Height: | Size: 24 KiB |
@ -0,0 +1 @@
|
||||
../button-assets/button.png
|
@ -0,0 +1 @@
|
||||
../button-assets/button.png
|
@ -0,0 +1 @@
|
||||
../button-assets/button.png
|
After Width: | Height: | Size: 205 B |
@ -0,0 +1 @@
|
||||
button.png
|
@ -0,0 +1 @@
|
||||
button.png
|
@ -0,0 +1 @@
|
||||
button.png
|
After Width: | Height: | Size: 219 B |
After Width: | Height: | Size: 231 B |
After Width: | Height: | Size: 536 B |
After Width: | Height: | Size: 156 B |
After Width: | Height: | Size: 536 B |
After Width: | Height: | Size: 536 B |
After Width: | Height: | Size: 205 B |
After Width: | Height: | Size: 177 B |
After Width: | Height: | Size: 232 B |
After Width: | Height: | Size: 231 B |
After Width: | Height: | Size: 210 B |
After Width: | Height: | Size: 202 B |
@ -0,0 +1 @@
|
||||
checkbox-unchecked.png
|
@ -0,0 +1 @@
|
||||
checkbox-checked.png
|
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 185 B |
After Width: | Height: | Size: 246 B |
After Width: | Height: | Size: 253 B |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 191 B |
@ -0,0 +1 @@
|
||||
hover.png
|
After Width: | Height: | Size: 356 B |
After Width: | Height: | Size: 225 B |
After Width: | Height: | Size: 195 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 239 B |
After Width: | Height: | Size: 246 B |
@ -0,0 +1 @@
|
||||
pressed.png
|
@ -0,0 +1 @@
|
||||
button.png
|
After Width: | Height: | Size: 232 B |
After Width: | Height: | Size: 160 B |
After Width: | Height: | Size: 157 B |
After Width: | Height: | Size: 202 B |
After Width: | Height: | Size: 200 B |
After Width: | Height: | Size: 197 B |
After Width: | Height: | Size: 207 B |
After Width: | Height: | Size: 145 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 215 B |
After Width: | Height: | Size: 262 B |
After Width: | Height: | Size: 231 B |
After Width: | Height: | Size: 215 B |
After Width: | Height: | Size: 253 B |
After Width: | Height: | Size: 232 B |
After Width: | Height: | Size: 214 B |
After Width: | Height: | Size: 257 B |
After Width: | Height: | Size: 229 B |
After Width: | Height: | Size: 205 B |
After Width: | Height: | Size: 251 B |
After Width: | Height: | Size: 228 B |
@ -0,0 +1,10 @@
|
||||
{
|
||||
"cinnamon-theme": {
|
||||
"name": "Chicago95",
|
||||
"author": "EMH-Mark-I",
|
||||
"version": "1.0",
|
||||
"type": "custom",
|
||||
"thumbnail": "thumbnail.png",
|
||||
"url": ""
|
||||
}
|
||||
}
|
After Width: | Height: | Size: 26 KiB |
@ -0,0 +1,53 @@
|
||||
// Vars missing from original but present upstream
|
||||
$font-size : 16;
|
||||
|
||||
// When color definition differs for dark and light variant,
|
||||
// it gets @if ed depending on $variant
|
||||
|
||||
$base_color: #ffffff;
|
||||
$bg_color: #c0c0c0;
|
||||
$fg_color: #000000;
|
||||
|
||||
$tooltip_bg_color: #ffffe1;
|
||||
|
||||
$dark_fg_color: #ffffff;
|
||||
|
||||
$selected_fg_color: #ffffff;
|
||||
$selected_bg_color: #000080;
|
||||
$selected_borders_color: darken($selected_bg_color, 20%);
|
||||
$borders_color: #000000;
|
||||
$borders_edge: #808080;
|
||||
$link_color: #000080;
|
||||
$link_visited_color: darken($link_color,10%);
|
||||
$top_hilight: $borders_edge;
|
||||
|
||||
$panel_bg_color : #c0c0c0;
|
||||
$panel_solid_bg_color : #c0c0c0;
|
||||
$panel_fg_color : #000000;
|
||||
$dash_bg_color : #c0c0c0;
|
||||
$dash_fg_color : #000000;
|
||||
|
||||
$warning_color: #FF8300;
|
||||
$error_color: #FF0000;
|
||||
$success_color: darken(#39e4a3,10%);
|
||||
$destructive_color: darken(#CC0000,10%);
|
||||
|
||||
$osd_fg_color: #000000;
|
||||
$osd_bg_color: #c0c0c0;
|
||||
$osd_borders_color: #000000;
|
||||
$osd_outer_borders_color: #808080;
|
||||
|
||||
$tooltip_borders_color: $osd_outer_borders_color;
|
||||
|
||||
//insensitive state derived colors
|
||||
$insensitive_fg_color: mix($fg_color, $bg_color, 50%);
|
||||
$insensitive_bg_color: mix($bg_color, $base_color, 60%);
|
||||
$insensitive_borders_color: $borders_color;
|
||||
|
||||
//colors for the backdrop state, derived from the main colors.
|
||||
$backdrop_base_color: lighten($base_color,1%);
|
||||
$backdrop_bg_color: $bg_color;
|
||||
$backdrop_fg_color: mix($fg_color, $backdrop_bg_color, 80%);
|
||||
$backdrop_insensitive_color: lighten($backdrop_bg_color,15%);
|
||||
$backdrop_borders_color: mix($borders_color, $bg_color, 90%);
|
||||
$backdrop_dark_fill: mix($backdrop_borders_color,$backdrop_bg_color, 35%);
|
@ -0,0 +1,190 @@
|
||||
// Drawing mixins
|
||||
|
||||
// generic drawing of more complex things
|
||||
|
||||
@function _widget_edge($c:$borders_edge) {
|
||||
// outer highlight "used" on most widgets
|
||||
@return 0 1px $c;
|
||||
}
|
||||
|
||||
// provide font size in rem, with px fallback
|
||||
@mixin fontsize($size: 24, $base: 16) {
|
||||
font-size: round($size) + pt;
|
||||
//font-size: ($size / $base) * 1rem;
|
||||
}
|
||||
|
||||
@mixin _shadows($shadow1, $shadow2:none, $shadow3:none, $shadow4:none) {
|
||||
//
|
||||
// Helper function to stack up to 4 box-shadows;
|
||||
//
|
||||
@if $shadow4!=none { box-shadow: $shadow1, $shadow2, $shadow3, $shadow4; }
|
||||
@else if $shadow3!=none { box-shadow: $shadow1, $shadow2, $shadow3; }
|
||||
@else if $shadow2!=none { box-shadow: $shadow1, $shadow2; }
|
||||
@else { box-shadow: $shadow1; }
|
||||
}
|
||||
|
||||
// entries
|
||||
|
||||
@mixin entry($t, $fc:$selected_bg_color, $edge: $borders_edge) {
|
||||
//
|
||||
// Entries drawing function
|
||||
//
|
||||
// $t: entry type
|
||||
// $fc: focus color
|
||||
// $edge: set to none to not draw the bottom edge or specify a color to not
|
||||
// use the default one
|
||||
//
|
||||
// possible $t values:
|
||||
// normal, focus, insensitive
|
||||
//
|
||||
|
||||
@if $t==normal {
|
||||
background-color: $base_color;
|
||||
box-shadow: none;
|
||||
border-image: url('assets/box-inset.png') 3 3 3 3;
|
||||
|
||||
}
|
||||
@if $t==focus {
|
||||
box-shadow: none;
|
||||
border-color: if($fc==$selected_bg_color,
|
||||
$selected_borders_color,
|
||||
darken($fc,35%));
|
||||
}
|
||||
@if $t==hover { }
|
||||
@if $t==insensitive {
|
||||
color: $insensitive_fg_color;
|
||||
border-color: $insensitive_bg_color;
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
|
||||
// buttons
|
||||
|
||||
@function _border_color ($c) { @return darken($c,25%); } // colored buttons want
|
||||
// the border form the
|
||||
// base color
|
||||
|
||||
@function _text_shadow_color ($tc:$fg_color, $bg:$bg_color) {
|
||||
//
|
||||
// calculate the color of text shadows
|
||||
//
|
||||
// $tc is the text color
|
||||
// $bg is the background color
|
||||
//
|
||||
$_lbg: lightness($bg)/100%;
|
||||
@if lightness($tc)<50% { @return transparentize(white,1-$_lbg/($_lbg*1.3)); }
|
||||
@else { @return transparentize(black,$_lbg*0.8); }
|
||||
}
|
||||
|
||||
@function _button_hilight_color($c) {
|
||||
//
|
||||
// calculate the right top hilight color for buttons
|
||||
//
|
||||
// $c: base color;
|
||||
//
|
||||
@if lightness($c)>90% { @return white; }
|
||||
@else if lightness($c)>80% { @return transparentize(white, 0.3); }
|
||||
@else if lightness($c)>50% { @return transparentize(white, 0.5); }
|
||||
@else if lightness($c)>40% { @return transparentize(white, 0.7); }
|
||||
@else { @return transparentize(white, 0.9); }
|
||||
}
|
||||
|
||||
@mixin _button_text_shadow ($tc:$fg_color, $bg:$bg_color) {
|
||||
//
|
||||
// helper function for the text emboss effect
|
||||
//
|
||||
// $tc is the optional text color, not the shadow color
|
||||
//
|
||||
// TODO: this functions needs a way to deal with special cases
|
||||
//
|
||||
|
||||
$_shadow: _text_shadow_color($tc, $bg);
|
||||
|
||||
text-shadow: none;
|
||||
icon-shadow: none;
|
||||
}
|
||||
|
||||
@mixin button($t, $c:$osd_bg_color, $tc:$fg_color, $edge: $borders_edge) {
|
||||
//
|
||||
// Button drawing function
|
||||
//
|
||||
// $t: button type,
|
||||
// $c: base button color for colored* types
|
||||
// $tc: optional text color for colored* types
|
||||
// $edge: set to none to not draw the bottom edge or specify a color to not
|
||||
// use the default one
|
||||
//
|
||||
// possible $t values:
|
||||
// normal, hover, active, insensitive, insensitive-active,
|
||||
// backdrop, backdrop-active, backdrop-insensitive, backdrop-insensitive-active,
|
||||
// osd, osd-hover, osd-active, osd-insensitive, osd-backdrop, undecorated
|
||||
//
|
||||
$_hilight_color: _button_hilight_color($c);
|
||||
$_button_edge: if($edge == none, none, _widget_edge($edge));
|
||||
$_blank_edge: if($edge == none, none, _widget_edge(transparentize($edge,1)));
|
||||
|
||||
@if $t==normal {
|
||||
$_bg: if($c!=$osd_bg_color, transparentize($c, 0.5),
|
||||
$osd_bg_color);
|
||||
|
||||
border-radius: 0;
|
||||
border: none;
|
||||
color: $osd_fg_color;
|
||||
background-color: transparent;
|
||||
border-image: url('assets/box.png') 3 3 3 3;
|
||||
text-shadow: none;
|
||||
icon-shadow: none;
|
||||
}
|
||||
@if $t==focus {
|
||||
$_bg: if($c!=$osd_bg_color, transparentize($c, 0.3),
|
||||
lighten($osd_bg_color,3%));
|
||||
|
||||
color: $fg_color;
|
||||
text-shadow: none;
|
||||
icon-shadow: none;
|
||||
border: none;
|
||||
border-image: url('assets/box.png') 3 3 3 3;
|
||||
box-shadow: 0 0 0 1px black;
|
||||
}
|
||||
@else if $t==hover {
|
||||
$_bg: if($c!=$osd_bg_color, transparentize($c, 0.3),
|
||||
lighten($osd_bg_color,3%));
|
||||
|
||||
border: none;
|
||||
background-color: transparent;
|
||||
text-shadow: none;
|
||||
icon-shadow: none;
|
||||
border-image: url('assets/box.png') 3 3 3 3;
|
||||
}
|
||||
@else if $t==active {
|
||||
$_bg: if($c!=$bg_color, $c, $osd_borders_color);
|
||||
|
||||
border-color: $osd_borders_color;
|
||||
border: none;
|
||||
background-color: transparent;
|
||||
text-shadow: none;
|
||||
icon-shadow: none;
|
||||
border-image: url('assets/box-active.png') 3 3 3 3;
|
||||
}
|
||||
@else if $t==insensitive {
|
||||
$_bg: transparentize(mix($insensitive_fg_color,$osd_bg_color,20%),0.3);
|
||||
|
||||
color: $insensitive_fg_color;
|
||||
border: none;
|
||||
border-color: $osd_borders_color;
|
||||
background-color: transparent;
|
||||
box-shadow: none;
|
||||
text-shadow: none;
|
||||
icon-shadow: none;
|
||||
border-image: url('assets/box.png') 3 3 3 3;
|
||||
}
|
||||
@else if $t==undecorated {
|
||||
border-color: transparent;
|
||||
background-color: transparent;
|
||||
background-image: none;
|
||||
text-shadow: none;
|
||||
icon-shadow: none;
|
||||
border-image: none;
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 449 B |
After Width: | Height: | Size: 627 B |
After Width: | Height: | Size: 273 B |
After Width: | Height: | Size: 315 B |
After Width: | Height: | Size: 736 B |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 650 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 3.3 KiB |
After Width: | Height: | Size: 3.1 KiB |
After Width: | Height: | Size: 3.9 KiB |
After Width: | Height: | Size: 3.6 KiB |
@ -0,0 +1,32 @@
|
||||
#! /bin/bash
|
||||
|
||||
INKSCAPE="/usr/bin/inkscape"
|
||||
OPTIPNG="/usr/bin/optipng"
|
||||
ASSETS_DIR="assets"
|
||||
|
||||
for i in *.svg
|
||||
do
|
||||
extension="${i##*.}"
|
||||
name=${i%".$extension"}
|
||||
|
||||
if [ -f $ASSETS_DIR/$name.png ]; then
|
||||
echo $ASSETS_DIR/$name.png exists.
|
||||
else
|
||||
echo
|
||||
echo Rendering $ASSETS_DIR/$name.png
|
||||
|
||||
$INKSCAPE --export-png=$ASSETS_DIR/$name.png $i >/dev/null \
|
||||
&& $OPTIPNG -o7 --quiet $ASSETS_DIR/$name.png
|
||||
fi
|
||||
|
||||
if [ -f $ASSETS_DIR/$name@2.png ]; then
|
||||
echo $ASSETS_DIR/$name@2.png exists.
|
||||
else
|
||||
echo
|
||||
echo Rendering $ASSETS_DIR/$name.png
|
||||
|
||||
$INKSCAPE --export-dpi=180 \
|
||||
--export-png=$ASSETS_DIR/$name@2.png $i >/dev/null \
|
||||
&& $OPTIPNG -o7 --quiet $ASSETS_DIR/$name@2.png
|
||||
fi
|
||||
done
|
After Width: | Height: | Size: 156 B |
After Width: | Height: | Size: 150 B |
After Width: | Height: | Size: 189 B |
After Width: | Height: | Size: 192 B |
After Width: | Height: | Size: 231 B |
After Width: | Height: | Size: 190 B |
After Width: | Height: | Size: 449 B |
After Width: | Height: | Size: 273 B |
After Width: | Height: | Size: 231 B |
After Width: | Height: | Size: 232 B |
After Width: | Height: | Size: 228 B |
After Width: | Height: | Size: 736 B |
After Width: | Height: | Size: 650 B |
After Width: | Height: | Size: 3.9 KiB |
After Width: | Height: | Size: 315 B |
After Width: | Height: | Size: 627 B |