Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tor Browser
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
Applications
Tor Browser
Commits
8639aaa5
Commit
8639aaa5
authored
May 16, 2024
by
henry
Committed by
morgan
Aug 21, 2024
Browse files
Options
Downloads
Patches
Plain Diff
fixup! Bug 7494: Create local home page for TBB.
Bug 41817: Use semantic tor color names in about:tor.
parent
a0742a1b
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!1109
Bug 41817: tor-browser semantic colors.
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
browser/components/abouttor/content/aboutTor.css
+13
-16
13 additions, 16 deletions
browser/components/abouttor/content/aboutTor.css
with
13 additions
and
16 deletions
browser/components/abouttor/content/aboutTor.css
+
13
−
16
View file @
8639aaa5
@import
url
(
"chrome://global/skin/
browse
r-colors.css"
);
@import
url
(
"chrome://global/skin/
to
r-colors.css"
);
body
{
margin
:
0
;
...
...
@@ -179,7 +179,7 @@ body:not(.show-tor-check) #tor-check {
/* On dark background */
:root
{
background-color
:
#2C0449
;
--focus-outline-color
:
var
(
--
purple-30
);
--focus-outline-color
:
var
(
--
tor-focus-outline-color-dark
);
--focus-outline
:
var
(
--focus-outline-width
)
solid
var
(
--focus-outline-color
);
--in-content-focus-outline-color
:
var
(
--focus-outline-color
);
--in-content-focus-outline
:
var
(
--focus-outline
);
...
...
@@ -194,14 +194,9 @@ body:not(.show-tor-check) #tor-check {
--in-content-page-color
:
#fbfbfe
;
--in-content-text-color
:
#fbfbfe
;
color
:
var
(
--in-content-text-color
);
--link-color
:
var
(
--purple-30
);
/* FIXME: Since we have a dark background, the color should get lighter on
* hover, but --purple-40 and --pruple-50 are darker than --purple-30.
* However, we do not have a standard lighter purple in our current set of
* Photon colors.
* See tor-browser#42025 */
--link-color-hover
:
var
(
--purple-40
);
--link-color-active
:
var
(
--purple-50
);
--link-color
:
var
(
--tor-link-color-dark
);
--link-color-hover
:
var
(
--tor-link-color-hover-dark
);
--link-color-active
:
var
(
--tor-link-color-active-dark
);
}
#search-form
{
...
...
@@ -209,7 +204,9 @@ body:not(.show-tor-check) #tor-check {
}
#search-form
.search-input-focus-visible
{
border-color
:
var
(
--purple-60
);
/* Use a light-themed inner-border to contrast with the dark-themed
* focus outline. */
border-color
:
var
(
--tor-focus-outline-color-light
);
}
#search-form
.onionized-search
:not
(
.search-input-focus-visible
)
{
...
...
@@ -218,17 +215,17 @@ body:not(.show-tor-check) #tor-check {
/* Light background. */
#search-form
>
*
{
--focus-outline-color
:
var
(
--
purple-60
);
--focus-outline-color
:
var
(
--
tor-focus-outline-color-light
);
--focus-outline
:
var
(
--focus-outline-width
)
solid
var
(
--focus-outline-color
);
--in-content-focus-outline-color
:
var
(
--focus-outline-color
);
--in-content-focus-outline
:
var
(
--focus-outline
);
/* Variables used for --toggle- variables. */
--color-accent-primary
:
var
(
--
purple-60
);
--color-accent-primary-hover
:
var
(
--
purple-70
);
--color-accent-primary-active
:
var
(
--
purple-80
);
--color-accent-primary
:
var
(
--
tor-button-background-color-light
);
--color-accent-primary-hover
:
var
(
--
tor-button-background-color-hover-light
);
--color-accent-primary-active
:
var
(
--
tor-button-background-color-active-light
);
}
#search-form
.onionized-search
#onionize-toggle
{
color
:
var
(
--
purple-60
);
color
:
var
(
--
tor-link-color-light
);
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment