master
vinceliuice 3 years ago
parent 6a47e75370
commit 1e85400c8e

@ -94,7 +94,7 @@ install() {
mkdir -p "$THEME_DIR/gtk-2.0"
cp -r "$SRC_DIR/gtk-2.0/common/"{apps.rc,hacks.rc,main.rc} "$THEME_DIR/gtk-2.0"
cp -r "$SRC_DIR/gtk-2.0/assets-folder/assets-common${ELSE_DARK:-}" "$THEME_DIR/gtk-2.0/assets"
cp -r "$SRC_DIR/gtk-2.0/assets-folder/assets-common${ELSE_DARK:-}$ctype" "$THEME_DIR/gtk-2.0/assets"
cp -r "$SRC_DIR/gtk-2.0/assets-folder/assets$theme${ELSE_DARK:-}$ctype/"*"png" "$THEME_DIR/gtk-2.0/assets"
if [[ "$primary" != "true" ]]; then

@ -288,26 +288,26 @@ make_gtkrc() {
esac
fi
cp -r "${GTKRC_DIR}/gtkrc${ELSE_DARK:-}" "${THEME_DIR}/gtk-2.0/gtkrc"
sed -i "/\tooltip_bg_color/s/#616161/${tooltip_bg}/" "${THEME_DIR}/gtk-2.0/gtkrc"
cp -r "${GTKRC_DIR}/gtkrc${ELSE_DARK:-}" "${THEME_DIR}/gtk-2.0/gtkrc"
sed -i "/tooltip_bg_color/s/#616161/${tooltip_bg}/" "${THEME_DIR}/gtk-2.0/gtkrc"
if [[ "${color}" == '-Dark' ]]; then
sed -i "s/#3281EA/${theme_color}/g" "${THEME_DIR}/gtk-2.0/gtkrc"
sed -i "/\bg_color/s/#212121/${background_dark}/" "${THEME_DIR}/gtk-2.0/gtkrc"
sed -i "/\base_color/s/#2C2C2C/${base_dark}/" "${THEME_DIR}/gtk-2.0/gtkrc"
sed -i "/\titlebar_bg_color/s/#2C2C2C/${titlebar_dark}/" "${THEME_DIR}/gtk-2.0/gtkrc"
sed -i "/\menu_color/s/#3C3C3C/${menu_dark}/" "${THEME_DIR}/gtk-2.0/gtkrc"
sed -i "/\text_color/s/#FFFFFF/${text_dark}/" "${THEME_DIR}/gtk-2.0/gtkrc"
sed -i "/\fg_color/s/#FFFFFF/${text_dark}/" "${THEME_DIR}/gtk-2.0/gtkrc"
sed -i "/\titlebar_fg_color/s/#FFFFFF/${text_dark}/" "${THEME_DIR}/gtk-2.0/gtkrc"
sed -i "s/#3281EA/${theme_color}/g" "${THEME_DIR}/gtk-2.0/gtkrc"
sed -i "/bg_color/s/#212121/${background_dark}/" "${THEME_DIR}/gtk-2.0/gtkrc"
sed -i "/base_color/s/#2C2C2C/${base_dark}/" "${THEME_DIR}/gtk-2.0/gtkrc"
sed -i "/titlebar_bg_color/s/#2C2C2C/${titlebar_dark}/" "${THEME_DIR}/gtk-2.0/gtkrc"
sed -i "/menu_color/s/#3C3C3C/${menu_dark}/" "${THEME_DIR}/gtk-2.0/gtkrc"
sed -i "/text_color/s/#FFFFFF/${text_dark}/" "${THEME_DIR}/gtk-2.0/gtkrc"
sed -i "/fg_color/s/#FFFFFF/${text_dark}/" "${THEME_DIR}/gtk-2.0/gtkrc"
sed -i "/titlebar_fg_color/s/#FFFFFF/${text_dark}/" "${THEME_DIR}/gtk-2.0/gtkrc"
else
sed -i "s/#1A73E8/${theme_color}/g" "${THEME_DIR}/gtk-2.0/gtkrc"
sed -i "/\bg_color/s/#F2F2F2/${background_light}/" "${THEME_DIR}/gtk-2.0/gtkrc"
sed -i "/\base_color/s/#FFFFFF/${base_light}/" "${THEME_DIR}/gtk-2.0/gtkrc"
sed -i "/\titlebar_bg_color/s/#FFFFFF/${titlebar_light}/" "${THEME_DIR}/gtk-2.0/gtkrc"
sed -i "/\menu_color/s/#FFFFFF/${menu_light}/" "${THEME_DIR}/gtk-2.0/gtkrc"
sed -i "/\text_color/s/#212121/${text_light}/" "${THEME_DIR}/gtk-2.0/gtkrc"
sed -i "/\fg_color/s/#212121/${text_light}/" "${THEME_DIR}/gtk-2.0/gtkrc"
sed -i "/\titlebar_fg_color/s/#212121/${text_light}/" "${THEME_DIR}/gtk-2.0/gtkrc"
sed -i "s/#1A73E8/${theme_color}/g" "${THEME_DIR}/gtk-2.0/gtkrc"
sed -i "/bg_color/s/#F2F2F2/${background_light}/" "${THEME_DIR}/gtk-2.0/gtkrc"
sed -i "/base_color/s/#FFFFFF/${base_light}/" "${THEME_DIR}/gtk-2.0/gtkrc"
sed -i "/titlebar_bg_color/s/#FFFFFF/${titlebar_light}/" "${THEME_DIR}/gtk-2.0/gtkrc"
sed -i "/menu_color/s/#FFFFFF/${menu_light}/" "${THEME_DIR}/gtk-2.0/gtkrc"
sed -i "/text_color/s/#212121/${text_light}/" "${THEME_DIR}/gtk-2.0/gtkrc"
sed -i "/fg_color/s/#212121/${text_light}/" "${THEME_DIR}/gtk-2.0/gtkrc"
sed -i "/titlebar_fg_color/s/#212121/${text_light}/" "${THEME_DIR}/gtk-2.0/gtkrc"
fi
}

@ -2476,6 +2476,16 @@ radiobutton.text-button {
padding: 2px;
label:not(:only-child) { margin: 0 4px; }
popover & > check {
&:dir(ltr) {
margin-left: -($space-size * 2 + 4px);
}
&:dir(rtl) {
margin-right: -($space-size * 2 + 4px);
}
}
}
$check_radio_size: 40px;

Binary file not shown.

After

Width:  |  Height:  |  Size: 126 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 267 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 229 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 252 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 239 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 565 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 404 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 542 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 500 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 209 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 282 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 216 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 208 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 297 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 217 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 229 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 347 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 239 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 267 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 195 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 252 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 195 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 221 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 182 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 183 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 180 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 172 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 177 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 178 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 340 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 392 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 340 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 392 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 188 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 194 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 188 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 193 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 194 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 194 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 194 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 205 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 193 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 195 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 196 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 195 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 211 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 196 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 187 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 187 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 187 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 186 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 565 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 404 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 542 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 500 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 165 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 165 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 272 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 163 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 163 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 258 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 224 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 255 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 232 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 131 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 262 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 259 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 236 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 130 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 261 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 258 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 235 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 130 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 176 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 222 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 182 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 186 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 237 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 193 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 179 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 232 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 187 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 190 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 234 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 192 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 135 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 B

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save