Skip to content

Commit

Permalink
Revert "Fix signup human verification text color"
Browse files Browse the repository at this point in the history
This reverts commit d395942 becase
it breaks rendering of panels, see #13686 and #13525.
  • Loading branch information
nijel committed Jan 29, 2025
1 parent addf799 commit c5e3277
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 17 deletions.
6 changes: 6 additions & 0 deletions weblate/static/style-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
* SPDX-License-Identifier: GPL-3.0-or-later
*/

:root {
color-scheme: only dark;
--border: 1px solid #484d50;
--background-color: #1a1d1e;
}

/* User-Agent Style */
html {
background-color: #1a1d1e !important;
Expand Down
7 changes: 7 additions & 0 deletions weblate/static/styles/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@
* SPDX-License-Identifier: GPL-3.0-or-later
*/

:root {
color-scheme: only light;
--altcha-color-text: #2a3744;
--altcha-border-radius: var(--border-radius);
--altcha-color-border: #cccccc;
}

.avatar {
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
Expand Down
18 changes: 1 addition & 17 deletions weblate/static/styles/variables.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,13 @@
* SPDX-License-Identifier: GPL-3.0-or-later
*/

/* General variables */
/* See style-dark.css for the dark versions */
:root {
--border-radius-sm: 4px;
--border-radius: 10px;
--border-radius-lg: 14px;
--border-radius-xl: 20px;
--altcha-border-radius: var(--border-radius);
}

/* Light mode variables */
:root {
color-scheme: only light;
--border: 1px solid #e9eaec;
--background-color: #ffffff;
--altcha-color-text: #2a3744;
--altcha-color-border: #cccccc;
}

/* Dark mode variables */
:root {
color-scheme: only dark;
--border: 1px solid #484d50;
--background-color: #1a1d1e;
--altcha-color-text: #d9d3cc;
--altcha-color-border: #7f7667;
}

0 comments on commit c5e3277

Please sign in to comment.