Skip to content

Remove obsolete "Appearance" settings page #8697

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions app/components/footer.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@
--footer-link-hover-shadow-color: var(--green900);
}

[data-theme="new-design"] {
--footer-bg-color: var(--grey900);
}

.footer {
display: grid;
justify-items: center;
Expand Down
3 changes: 0 additions & 3 deletions app/components/settings-page.hbs
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
<div local-class="page" ...attributes>
<SideMenu data-test-settings-menu as |menu|>
<menu.Item @link={{link "settings.profile"}}>Profile</menu.Item>
{{#if this.design.showToggleButton}}
<menu.Item @link={{link "settings.appearance"}}>Appearance</menu.Item>
{{/if}}
<menu.Item @link={{link "settings.email-notifications"}}>Email Notifications</menu.Item>
<menu.Item @link={{link "settings.tokens"}} data-test-tokens>API Tokens</menu.Item>
</SideMenu>
Expand Down
6 changes: 0 additions & 6 deletions app/components/settings-page.js

This file was deleted.

1 change: 0 additions & 1 deletion app/controllers/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { inject as service } from '@ember/service';

export default class ApplicationController extends Controller {
@service colorScheme;
@service design;
@service progress;
@service router;

Expand Down
15 changes: 0 additions & 15 deletions app/controllers/settings/appearance.js

This file was deleted.

1 change: 0 additions & 1 deletion app/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ Router.map(function () {
this.route('pending-invites');
});
this.route('settings', function () {
this.route('appearance');
this.route('email-notifications');
this.route('profile');
this.route('tokens', function () {
Expand Down
21 changes: 0 additions & 21 deletions app/services/design.js

This file was deleted.

5 changes: 0 additions & 5 deletions app/styles/application.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,6 @@
color-scheme: dark;
}

[data-theme="new-design"] {
--header-bg-color: var(--violet800);
--main-bg: white;
}

* {
box-sizing: border-box;
}
Expand Down
1 change: 0 additions & 1 deletion app/templates/application.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<HeadLayout />

{{page-title "crates.io: Rust Package Registry" separator=' - ' prepend=true}}
{{set-theme this.design.theme}}
{{set-color-scheme this.colorScheme.scheme}}

<ProgressBar/>
Expand Down
33 changes: 0 additions & 33 deletions app/templates/settings/appearance.hbs

This file was deleted.