Skip to content

Commit

Permalink
set window control variables in friends themes
Browse files Browse the repository at this point in the history
  • Loading branch information
LaserFlash committed Jun 17, 2023
1 parent f5f1a18 commit c1a3c67
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 41 deletions.
3 changes: 2 additions & 1 deletion src/common/_window-control.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
--window-control-bg-color-hover: #3d4450;
--window-control-exit-bg-color: transparent;
--window-control-exit-bg-color-hover: #e22a27;
--window-control-exit-icon-color-hover: --window-control-icon-color-hover;
}

$window-control-button-size: 22px;
Expand Down Expand Up @@ -47,7 +48,7 @@ $window-control-button-size: 22px;
&.closeButton {
&:hover {
background-color: var(--window-control-exit-bg-color-hover);
color: var(--window-control-icon-color-hover);
color: var(--window-control-exit-icon-color-hover);
}
}
}
Expand Down
15 changes: 7 additions & 8 deletions src/friends-client/customisable/colourSet/blackMode.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@use 'common/functions' as *;
@use 'common/variables-sass' as *;

:root {
.friendsui-container {
/* Body Background Colours */
--header: #{hex-to-rgb($black-primary)};
--friendlist: #{hex-to-rgb($black-secondary)};
Expand All @@ -20,10 +20,6 @@
--icon: #{hex-to-rgb($gray-500)};
--iconhover: #{hex-to-rgb($white)};

/* Title Icon Background */
--titleiconbg: #{hex-to-rgb($gray-800)};
--titleiconhover: var(--iconhover);

/* Status Colours */
--ingame: #{hex-to-rgb($black-ingame)};
--online: #{hex-to-rgb($black-online)};
Expand All @@ -44,7 +40,10 @@
--scrollbar-secondary: var(--scrollbar-primary);
--scrollbar-secondary-hover: var(--scrollbar-primary-hover);

/* Close Button */
--close-button: #{hex-to-rgb($red-close)};
--close-icon-hover: #{hex-to-rgb($white)};
/* Window Controls */
--window-control-icon-color: var(--icon);
--window-control-icon-color-hover: var(--iconhover);
--window-control-bg-color-hover: #{$gray-800};
--window-control-exit-bg-color-hover: #{$red-dark};
--window-control-exit-icon-color-hover: #{$white};
}
15 changes: 7 additions & 8 deletions src/friends-client/customisable/colourSet/darkMode.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@use 'common/functions' as *;
@use 'common/variables-sass' as *;

:root {
.friendsui-container {
/* Body Background Colours */
--header: #{hex-to-rgb($dark-primary)};
--friendlist: #{hex-to-rgb($dark-secondary)};
Expand All @@ -20,10 +20,6 @@
--icon: #{hex-to-rgb($gray-500)};
--iconhover: #{hex-to-rgb($white)};

/* Title Icon Background */
--titleiconbg: #{hex-to-rgb($gray-800)};
--titleiconhover: var(--iconhover);

/* Status Colours */
--ingame: #{hex-to-rgb($dark-ingame)};
--online: #{hex-to-rgb($dark-online)};
Expand All @@ -44,7 +40,10 @@
--scrollbar-secondary: var(--scrollbar-primary);
--scrollbar-secondary-hover: var(--scrollbar-primary-hover);

/* Close Button */
--close-button: #{hex-to-rgb($red-close)};
--close-icon-hover: #{hex-to-rgb($white)};
/* Window Controls */
--window-control-icon-color: var(--icon);
--window-control-icon-color-hover: var(--iconhover);
--window-control-bg-color-hover: #{$gray-800};
--window-control-exit-bg-color-hover: #{$red-close};
--window-control-exit-icon-color-hover: #{$white};
}
15 changes: 7 additions & 8 deletions src/friends-client/customisable/colourSet/discordColours.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@use 'common/functions' as *;
@use 'common/variables-sass' as *;

:root {
.friendsui-container {
/* Body Background Colours */
--header: #{hex-to-rgb($discord-primary)};
--friendlist: #{hex-to-rgb($discord-secondary)};
Expand All @@ -20,10 +20,6 @@
--icon: #{hex-to-rgb($gray-500)};
--iconhover: #{hex-to-rgb($white)};

/* Title Icon Background */
--titleiconbg: #{hex-to-rgb($gray-800)};
--titleiconhover: var(--iconhover);

/* Status Colours */
--ingame: #{hex-to-rgb($discord-ingame)};
--online: #{hex-to-rgb($discord-online)};
Expand All @@ -42,7 +38,10 @@
--scrollbar-secondary: var(--friendlist);
--scrollbar-secondary-hover: var(--friendlist);

/* Close Button */
--close-button: #{hex-to-rgb($red-close)};
--close-icon-hover: #{hex-to-rgb($white)};
/* Window Controls */
--window-control-icon-color: var(--icon);
--window-control-icon-color-hover: var(--iconhover);
--window-control-bg-color-hover: #{$gray-800};
--window-control-exit-bg-color-hover: #{$red-close};
--window-control-exit-icon-color-hover: #{$white};
}
14 changes: 6 additions & 8 deletions src/friends-client/customisable/colourSet/lightMode.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@use 'common/functions' as *;
@use 'common/variables-sass' as *;

:root {
.friendsui-container {
/* Body Background Colours */
--header: #{hex-to-rgb($light-primary)};
--friendlist: #{hex-to-rgb($light-secondary)};
Expand All @@ -20,10 +20,6 @@
--icon: #{hex-to-rgb($gray-700)};
--iconhover: #{hex-to-rgb($black)};

/* Title Icon Background */
--titleiconbg: #{hex-to-rgb($gray-300)};
--titleiconhover: var(--iconhover);

/* Status Colours */
--ingame: #{hex-to-rgb($light-ingame)};
--online: #{hex-to-rgb($light-online)};
Expand All @@ -42,9 +38,11 @@
--scrollbar-secondary: var(--scrollbar-primary);
--scrollbar-secondary-hover: var(--scrollbar-primary-hover);

/* Close Button */
--close-button: #{hex-to-rgb($red-close)};
--close-icon-hover: #{hex-to-rgb($white)};
/* Window Controls */
--window-control-icon-color: var(--icon);
--window-control-icon-color-hover: var(--iconhover);
--window-control-bg-color-hover: #{$gray-100};
--window-control-exit-bg-color-hover: #{$red-close};
}

.client_chat_frame * {
Expand Down
15 changes: 7 additions & 8 deletions src/friends-client/customisable/colourSet/steamColours.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@use 'common/functions' as *;
@use 'common/variables-sass' as *;

:root {
.friendsui-container {
/* Body Background Colours */
--header: #{hex-to-rgb($steam-primary)};
--friendlist: #{hex-to-rgb($steam-secondary)};
Expand All @@ -20,10 +20,6 @@
--icon: #{hex-to-rgb($gray-500)};
--iconhover: #{hex-to-rgb($white)};

/* Title Icon Background */
--titleiconbg: 30, 30, 31;
--titleiconhover: var(--iconhover);

/* Status Colours */
--ingame: #{hex-to-rgb($steam-ingame)};
--online: #{hex-to-rgb($steam-online)};
Expand All @@ -44,7 +40,10 @@
--scrollbar-secondary: var(--scrollbar-primary);
--scrollbar-secondary-hover: var(--scrollbar-primary-hover);

/* Close Button */
--close-button: #{hex-to-rgb($red-dark)};
--close-icon-hover: #{hex-to-rgb($white)};
/* Window Controls */
--window-control-icon-color: var(--icon);
--window-control-icon-color-hover: var(--iconhover);
--window-control-bg-color-hover: rgb(30, 30, 31);
--window-control-exit-bg-color-hover: #{$red-dark};
--window-control-exit-icon-color-hover: #{$white};
}

0 comments on commit c1a3c67

Please sign in to comment.