Skip to content

Commit

Permalink
tweak: remove annoying dark mode notice
Browse files Browse the repository at this point in the history
this is overall annoying and doesn't really help anything (unless the user is an ant, which if you're using a client mod, you're probably not)
  • Loading branch information
LuckFire committed Sep 14, 2023
1 parent d17b1ae commit aec954a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 45 deletions.
22 changes: 0 additions & 22 deletions clients/amoled-cord.theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -213,28 +213,6 @@ html.theme-dark .theme-light .root-1CAIjD,
background-color: var(--background-primary);
}

.theme-light .base-2jDfDU::before {
z-index: 101;
position: relative;
text-align: center;
content: 'AMOLED-Cord is strictly meant to be used in either dark or AMOLED mode; it will not properly work in light mode. Please head over to User Settings, navigate to Appearance and under "Theme" enable "Dark"';
font-size: 14px;
font-weight: 500;
line-height: 36px;
padding-left: 4px;
padding-right: 28px;
border-radius: 8px 0 0;
flex-grow: 0;
flex-shrink: 0;
box-shadow: var(--elevation-low);
color: #fff;
background-color: var(--red-430);
}
.theme-light .base-2jDfDU .notice-2HEN-u,
.theme-light .base-2jDfDU .sidebar-1tnWFu {
border-radius: 0;
}

:is(.scroller-kQBbkU,
.auto-2K3UW5,
.thin-RnSY0a,
Expand Down
22 changes: 0 additions & 22 deletions src/amoled-cord.css
Original file line number Diff line number Diff line change
Expand Up @@ -201,28 +201,6 @@ html.theme-dark .theme-light .root-1CAIjD,
background-color: var(--background-primary);
}

.theme-light .base-2jDfDU::before {
z-index: 101;
position: relative;
text-align: center;
content: 'AMOLED-Cord is strictly meant to be used in either dark or AMOLED mode; it will not properly work in light mode. Please head over to User Settings, navigate to Appearance and under "Theme" enable "Dark"';
font-size: 14px;
font-weight: 500;
line-height: 36px;
padding-left: 4px;
padding-right: 28px;
border-radius: 8px 0 0;
flex-grow: 0;
flex-shrink: 0;
box-shadow: var(--elevation-low);
color: #fff;
background-color: var(--red-430);
}
.theme-light .base-2jDfDU .notice-2HEN-u,
.theme-light .base-2jDfDU .sidebar-1tnWFu {
border-radius: 0;
}

:is(.scroller-kQBbkU,
.auto-2K3UW5,
.thin-RnSY0a,
Expand Down
2 changes: 1 addition & 1 deletion src/theme/app/_index.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@forward 'loading';
@forward 'notice';
// @forward 'notice';
@forward 'scrollerbar';
@forward 'sliders';
@forward 'toolbar';

0 comments on commit aec954a

Please sign in to comment.