Skip to content

Commit

Permalink
Revert TGUI AFD theme
Browse files Browse the repository at this point in the history
  • Loading branch information
AyIong committed Apr 1, 2024
1 parent f2266ed commit 62a9a21
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 23 deletions.
1 change: 0 additions & 1 deletion code/modules/tgui/external.dm
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@
// If UI is not interactive or usr calling Topic is not the UI user, bail.
if(!ui || ui.status != UI_INTERACTIVE)
return TRUE
playsound(src, 'sound/items/bikehorn.ogg', 20, vary = TRUE)

/**
* public
Expand Down
4 changes: 2 additions & 2 deletions tgui/packages/tgui/styles/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
@use 'sass:color';

$color-fg: #ffffff !default;
$color-bg: #990099 !default;
$color-bg-section: rgba(200, 255, 0, 0.4) !default;
$color-bg: #252525 !default;
$color-bg-section: rgba(0, 0, 0, 0.33) !default;
$color-bg-grad-spread: 2% !default;
$color-bg-start: color.adjust(
$color-bg,
Expand Down
14 changes: 7 additions & 7 deletions tgui/packages/tgui/styles/colors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
// Base colors
$black: #000000 !default;
$white: #ffffff !default;
$red: #ff0054 !default;
$red: #db2828 !default;
$orange: #f2711c !default;
$yellow: #fbd608 !default;
$olive: #b5cc18 !default;
$green: #ffea00 !default;
$green: #20b142 !default;
$teal: #00b5ad !default;
$blue: #2185d0 !default;
$violet: #6435c9 !default;
Expand All @@ -23,11 +23,11 @@ $pink: #e03997 !default;
$brown: #a5673f !default;
$grey: #767676 !default;

$primary: #ffd500 !default;
$good: #ffea00 !default;
$average: #ff6a00 !default;
$bad: #ff0054 !default;
$label: #bfa730 !default;
$primary: #4972a1 !default;
$good: #5baa27 !default;
$average: #f08f11 !default;
$bad: #db2828 !default;
$label: #7e90a7 !default;

// Background and foreground color lightness ratios
$bg-lightness: -15% !default;
Expand Down
4 changes: 2 additions & 2 deletions tgui/packages/tgui/styles/components/Button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
@use '../functions.scss' as *;

$color-default: colors.bg(colors.$primary) !default;
$color-disabled: #ff0054 !default;
$color-disabled: #999999 !default;
$color-selected: colors.bg(colors.$green) !default;
$color-caution: colors.bg(colors.$yellow) !default;
$color-danger: colors.bg(colors.$red) !default;
$color-transparent-text: rgba(255, 255, 255, 0.75) !default;
$color-transparent-text: rgba(255, 255, 255, 0.5) !default;
$border-radius: base.$border-radius !default;
$bg-map: colors.$bg-map !default;

Expand Down
4 changes: 2 additions & 2 deletions tgui/packages/tgui/styles/components/Input.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
@use '../functions.scss' as *;

$text-color: base.$color-fg !default;
$background-color: #990099 !default;
$border-color: #ffd500 !default;
$background-color: #0a0a0a !default;
$border-color: #88bfff !default;
$border-color-disabled: color.adjust(
$border-color,
$saturation: -100%,
Expand Down
2 changes: 1 addition & 1 deletion tgui/packages/tgui/styles/components/NoticeBox.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
@use '../functions.scss' as *;

// NoticeBox
$background-color: #ffd500 !default;
$background-color: #bb9b68 !default;
$color-stripes: rgba(0, 0, 0, 0.1) !default;
$color-border: #272727 !default;
$bg-map: colors.$bg-map !default;
Expand Down
8 changes: 4 additions & 4 deletions tgui/packages/tgui/styles/layouts/TitleBar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
@use '../base.scss';
@use '../colors.scss';

$text-color: rgba(255, 255, 255, 1) !default;
$background-color: #a60037 !default;
$shadow-color-core: #8c002f !default;
$shadow-color: rgba(140, 0, 50, 0.1) !default;
$text-color: rgba(255, 255, 255, 0.75) !default;
$background-color: #363636 !default;
$shadow-color-core: #161616 !default;
$shadow-color: rgba(0, 0, 0, 0.1) !default;

.TitleBar {
background-color: $background-color;
Expand Down
2 changes: 1 addition & 1 deletion tgui/packages/tgui/styles/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
// NT Theme
.Layout__content {
// From 'packages/tgui/assets/bg-nanotrasen.svg', converted to base64 manually to stop webpack exploding
background-image: url('../assets/clown.svg');
background-image: url('../assets/bg-nanotrasen.svg');
background-size: 70%;
background-position: center;
background-repeat: no-repeat;
Expand Down
2 changes: 1 addition & 1 deletion tgui/public/tgui-panel.bundle.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tgui/public/tgui-say.bundle.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tgui/public/tgui.bundle.css

Large diffs are not rendered by default.

0 comments on commit 62a9a21

Please sign in to comment.