Skip to content

Commit

Permalink
Update new color keys in metadata.xml (nudus skins) (#850)
Browse files Browse the repository at this point in the history
* Update colors in metadata.xml (nudus skins).

* Update nudus dark SCSS file. Coding style/readability.

Co-authored-by: akinokonomi <akinokonomi@example.com>
  • Loading branch information
akinokonomi and akinokonomi authored Dec 2, 2022
1 parent a42d395 commit fae00f2
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 51 deletions.
8 changes: 4 additions & 4 deletions resources/skins/nudus-dark/html_style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

62 changes: 29 additions & 33 deletions resources/skins/nudus-dark/html_style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,17 @@ $qtbg-base: #373A3D !default; // clr_basbg
$qtbg-button: #323437 !default; // clr_altbg // button bg (scrollbar, alt bg)
$qcselbg: #8291AD !default; // clr_selbg

//
// Emulate fusion colour processing (dark only)
//
// {{{ Emulate Fusion colour processing (dark only)

//
// Scrollbar colours
//

//$qcbgbg: lighten($qtbg-button, 6%); // See toolbar bg
$bgscroll: lighten($qtbg-button, 2%) !default; // track and corner bg
$tr-border: darken($qtbg-button, 4%) !default; // track brdr

//
// Scrollbar thumb
//
// {{{ Scrollbar thumb

// bg gradient
// Thumb bg gradient

// Normal
$thscrlin: lighten($qtbg-button, 6%) !default;
Expand All @@ -33,17 +27,19 @@ $thscrlhvout: $thscrlout;
// Light outline
$th-border: lighten($qtbg-button, 15%) !default;

//
// HTML palette (Colours)
//
// }}}

// }}}

// {{{ HTML palette (Colours)

$cbg00: $qtbg-base;

// Irrelevant, because fg is overridden by the switcher ~~~
// {{{ Irrelevant, because colour switcher (see below) overrides all fg colours (either with JS on or off)
$cfg00: #f5f5f5 !default;
$cfg10: #D8D8D8 !default;
$cfg10: #E2E2E2 !default;
$cfg11: $cfg10;
// ~~~
// }}}

$cbor2: #545556 !default;

Expand All @@ -54,9 +50,9 @@ $cmark: #f8d08c66 !default; // 40% transparency

$clink: $qcselbg;

//
// }}}

// Other
//

$radius-unit: .3em !default;

Expand All @@ -65,14 +61,12 @@ $radius-unit: .3em !default;
;

//
// Dark HTML-style has following additions:
// Dark CSS style has following additions:
//

//
// Border around viewport
// {{{ Border around viewport

// https://csswizardry.com/2010/12/simplified-page-borders-in-pure-css/
//
// https://csswizardry.com/2010/12/simplified-page-borders-in-pure-css/

html::before,
html::after,
Expand Down Expand Up @@ -113,9 +107,9 @@ body::after {
left: 0;
}

//
// Enhanced scrollbar
//
// }}}

// {{{ Dark-coloured scrollbar

::-webkit-scrollbar {
height: 13px;
Expand Down Expand Up @@ -212,7 +206,7 @@ $th-outline:
}
}

// More complete borders for `body` scrollbar
// Complete the borders for body scrollbar
body::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-track {

Expand Down Expand Up @@ -259,14 +253,14 @@ body::-webkit-scrollbar-corner {
}
}

//
// Font colour switcher
// }}}

// Thank you so much!!
// https://css-tricks.com/switch-font-color-for-different-backgrounds-with-css/
//
// {{{ Fg colour switcher

// Thank you so much!!
// https://css-tricks.com/switch-font-color-for-different-backgrounds-with-css/

/* Please enable JS for additional font-colouring features */
/* Please enable JS for additional colouring features */
:root {
// Default RGB values for background colour
--rssguard-red: 0;
Expand Down Expand Up @@ -296,7 +290,7 @@ body::-webkit-scrollbar-corner {
body,
::selection,
mark, code, pre, pre > code,
blockquote {
blockquote, blockquote p { // TODO: why did not I add 'blockquote p' here before?
color:
hsla(
0,
Expand All @@ -311,3 +305,5 @@ blockquote {
.9
);
}
// }}}
// vim:foldmethod=marker
19 changes: 11 additions & 8 deletions resources/skins/nudus-dark/metadata.xml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<skin version="0.1.4" base="nudus-base">
<skin version="0.1.5" base="nudus-base">
<author>
<name>akinokonomi, martinrotter</name>
</author>
<description>Dark variant of 'nudus-light' skin.</description>
<description>Dark variation of a simple, unclothed theme.</description>
<palette>
<color key="FgInteresting">#85ACF6</color>
<color key="FgSelectedInteresting">#D9E3F7</color>
<color key="FgNewMessages">#c684f4</color>
<color key="FgSelectedNewMessages">#d3a3f4</color>
<color key="FgInteresting">#F2F2F2</color>
<color key="FgSelectedInteresting">#FFFFFF</color>
<color key="FgNewMessages">#85ACF6</color>
<color key="FgSelectedNewMessages">#D9E3F7</color>
<color key="FgError">#DF5656</color>
<color key="FgSelectedError">#910303</color>
<color key="Allright">#44AA44</color>
Expand All @@ -30,7 +30,7 @@
<color role="Window">#2D2F32</color>
<color role="Button">#323437</color>

<color role="Text">#D8D8D8</color>
<color role="Text">#E2E2E2</color>
<color role="BrightText">#373A3D</color>
<color role="HighlightedText">#FFFFFF</color>
<color role="PlaceholderText">#A7A7A7</color>
Expand All @@ -49,4 +49,7 @@
<color role="WindowText">#999999</color>
</group>
</style-palette>
</skin>
</skin>
<!--
vim:ts=2:sw=2:et:
-->
16 changes: 10 additions & 6 deletions resources/skins/nudus-light/metadata.xml
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<skin version="0.1.4" base="nudus-base">
<skin version="0.1.5" base="nudus-base">
<author>
<name>akinokonomi, martinrotter</name>
</author>
<description>Simple, unclothed theme.&#xA;In loving memory of the vergilius (not a person).</description>
<palette>
<color key="FgInteresting">#3A6FE4</color>
<color key="FgSelectedInteresting">#F0F2FC</color>
<color key="FgNewMessages">#cc39e2</color>
<color key="FgSelectedNewMessages">#d57fe2</color>
<color key="FgInteresting">#11204F</color>
<color key="FgSelectedInteresting">#FFFFFF</color>
<color key="FgNewMessages">#3A6FE4</color>
<color key="FgSelectedNewMessages">#F0F2FC</color>
<color key="FgError">#E74343</color>
<color key="FgSelectedError">#FFD7D7</color>
<color key="Allright">#77dd77</color>
</palette>
<forced-styles></forced-styles>
<forced-skin-colors>false</forced-skin-colors>
</skin>
</skin>
<!--
vim:ts=2:sw=2:et:
-->

0 comments on commit fae00f2

Please sign in to comment.