Skip to content

Commit 5ed95ec

Browse files
committed
Increased the variety of accent color variants with gradients, reduced font size, dimmed border
1 parent 705bb8f commit 5ed95ec

File tree

2 files changed

+25
-5
lines changed

2 files changed

+25
-5
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1414
- Default `.css` style is now automatically compiled from `.scss` to reduce the amount of syntax errors and ease the maintenance.
1515
- (CSS) Deprecated`@define-colors` and SCSS color definitions in favor of the CSS variables.
1616
- (CSS) New boolean flags for `.scss` to toggle visibility of some elements.
17+
- (CSS) Dimmed border accent color, reduced font size and changed volume bar color into a gradient, this should provide a slightly more interesting result with different accents.
1718

1819
### Fixed
1920
- Layershell initialization before window is realized, which could prevent a successful launch under certain conditions.

style/default.scss

+24-5
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
}
1212

1313
window {
14-
border: 1px var(--accent) solid;
14+
border: 1px #{'alpha(var(--accent), 0.4)'} solid;
1515
border-radius: 10px;
1616

1717
background-color: var(--bg);
@@ -75,7 +75,7 @@ window {
7575

7676
color: var(--fg);
7777
font-family: 'Noto Sans';
78-
font-size: 1.1em;
78+
font-size: 1.0em;
7979

8080
.icon {
8181
color: var(--fg);
@@ -124,14 +124,12 @@ window {
124124

125125
highlight {
126126
/* Slider Bar Filled */
127-
background-color: var(--accent);
128-
129127
border: none;
130128
border-radius: 10px;
131129

132130
margin: 1px;
133131

134-
transition: background-color 300ms;
132+
transition: background-image 300ms;
135133
}
136134

137135
fill {
@@ -210,6 +208,11 @@ window {
210208
margin-bottom: -7px;
211209
}
212210

211+
highlight {
212+
/* Slider Bar Filled */
213+
background-image: linear-gradient(to left, shade(var(--accent), 0.6), var(--accent));
214+
}
215+
213216
fill {
214217
/* Slider Peak */
215218
border-top: 1px solid #{'alpha(var(--accent), 0.8)'};
@@ -221,6 +224,11 @@ window {
221224
&.muted {
222225
scale {
223226
trough {
227+
highlight {
228+
/* Slider Bar Filled */
229+
background-image: linear-gradient(to left, shade(var(--accent), 0.3), shade(var(--accent), 0.7));
230+
}
231+
224232
fill {
225233
/* Slider Peak */
226234
border-top: 1px solid #{'alpha(var(--accent), 0.5)'};
@@ -229,6 +237,7 @@ window {
229237
}
230238
}
231239
}
240+
232241
}
233242

234243
@keyframes client-add-horizontal {
@@ -287,6 +296,11 @@ window {
287296
min-width: 14px;
288297
}
289298

299+
highlight {
300+
/* Slider Bar Filled */
301+
background-image: linear-gradient(to bottom, shade(var(--accent), 0.6), var(--accent));
302+
}
303+
290304
fill {
291305
/* Slider Peak */
292306
border-left: 1px solid #{'alpha(var(--accent), 0.8)'};
@@ -298,6 +312,11 @@ window {
298312
&.muted {
299313
scale {
300314
trough {
315+
highlight {
316+
/* Slider Bar Filled */
317+
background-image: linear-gradient(to bottom, shade(var(--accent), 0.3), shade(var(--accent), 0.7));
318+
}
319+
301320
fill {
302321
/* Slider Peak */
303322
border-left: 1px solid shade(var(--accent), 0.5);

0 commit comments

Comments
 (0)