Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
coopwire-hypothesis
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
孙灵跃 Leon Sun
coopwire-hypothesis
Commits
c0c9d191
Commit
c0c9d191
authored
Feb 20, 2020
by
Lyza Danger Gardner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Increase contrast to meet WCAG AA requirements
parent
c79c14fd
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
5 deletions
+8
-5
annotation-body.scss
src/styles/sidebar/components/annotation-body.scss
+1
-1
annotation-header.scss
src/styles/sidebar/components/annotation-header.scss
+3
-3
annotation-quote.scss
src/styles/sidebar/components/annotation-quote.scss
+1
-1
variables.scss
src/styles/variables.scss
+3
-0
No files found.
src/styles/sidebar/components/annotation-body.scss
View file @
c0c9d191
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
.annotation-body
{
.annotation-body
{
@include
var
.
font-normal
;
@include
var
.
font-normal
;
color
:
var
.
$grey-
6
;
color
:
var
.
$grey-
7
;
// Margin between top of ascent of annotation body and
// Margin between top of ascent of annotation body and
// bottom of ascent of annotation-quote should be ~15px.
// bottom of ascent of annotation-quote should be ~15px.
margin-top
:
var
.
$layout-h-margin
-
5px
;
margin-top
:
var
.
$layout-h-margin
-
5px
;
...
...
src/styles/sidebar/components/annotation-header.scss
View file @
c0c9d191
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
// Margin between top of x-height of username and
// Margin between top of x-height of username and
// top of the annotation card should be ~15px
// top of the annotation card should be ~15px
margin-top
:
-
(
var
.
$layout-h-margin
)
+
10px
;
margin-top
:
-
(
var
.
$layout-h-margin
)
+
10px
;
color
:
var
.
$grey-
5
;
color
:
var
.
$grey-
6
;
&
__row
{
&
__row
{
display
:
flex
;
display
:
flex
;
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
&
__timestamp-edited
{
&
__timestamp-edited
{
@include
var
.
font-small
;
@include
var
.
font-small
;
font-style
:
italic
;
font-style
:
italic
;
color
:
var
.
$grey-
4
;
color
:
var
.
$grey-
5
;
}
}
&
__timestamp-created-link
{
&
__timestamp-created-link
{
...
@@ -41,7 +41,7 @@
...
@@ -41,7 +41,7 @@
}
}
&
__timestamp-created-link
{
&
__timestamp-created-link
{
color
:
var
.
$grey-
5
;
color
:
var
.
$grey-
6
;
}
}
&
__highlight
{
&
__highlight
{
...
...
src/styles/sidebar/components/annotation-quote.scss
View file @
c0c9d191
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
@include
var
.
font-normal
;
@include
var
.
font-normal
;
border-left
:
3px
solid
var
.
$grey-3
;
border-left
:
3px
solid
var
.
$grey-3
;
color
:
var
.
$grey-
4
;
color
:
var
.
$grey-
5
;
font-family
:
sans-serif
;
font-family
:
sans-serif
;
font-size
:
12px
;
font-size
:
12px
;
font-style
:
italic
;
font-style
:
italic
;
...
...
src/styles/variables.scss
View file @
c0c9d191
...
@@ -20,11 +20,14 @@ $grey-4: #a6a6a6;
...
@@ -20,11 +20,14 @@ $grey-4: #a6a6a6;
// minus blue tint.
// minus blue tint.
$grey-semi
:
#9c9c9c
;
$grey-semi
:
#9c9c9c
;
// This is the lightest grey admissible on a white, $grey-0 or $grey-1
// background to meet WCAG-AA text contrast requirements.
$grey-5
:
#737373
;
$grey-5
:
#737373
;
// Interim color variable for migration purposes, as the step between `$grey-5`
// Interim color variable for migration purposes, as the step between `$grey-5`
// and `$grey-6` is large. Represents `base-mid` in proposed future palette,
// and `$grey-6` is large. Represents `base-mid` in proposed future palette,
// minus blue tint.
// minus blue tint.
// This is the lightest grey admissible on $grey-2, $grey-3
$grey-mid
:
#595959
;
$grey-mid
:
#595959
;
$grey-6
:
#3f3f3f
;
$grey-6
:
#3f3f3f
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment