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
bb021709
Commit
bb021709
authored
Apr 06, 2022
by
Lyza Danger Gardner
Committed by
Lyza Gardner
Apr 06, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Manage the `focusBlue` color in configuration
parent
ab3da38c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
tailwind.config.mjs
tailwind.config.mjs
+5
-3
No files found.
tailwind.config.mjs
View file @
bb021709
import
tailwindConfig
from
'@hypothesis/frontend-shared/lib/tailwind.preset.js'
;
import
tailwindConfig
from
'@hypothesis/frontend-shared/lib/tailwind.preset.js'
;
import
plugin
from
'tailwindcss/plugin.js'
;
import
plugin
from
'tailwindcss/plugin.js'
;
const
focusBlue
=
'#59a7e8'
;
export
default
{
export
default
{
presets
:
[
tailwindConfig
],
presets
:
[
tailwindConfig
],
content
:
[
content
:
[
...
@@ -29,8 +31,8 @@ export default {
...
@@ -29,8 +31,8 @@ export default {
boxShadow
:
{
boxShadow
:
{
DEFAULT
:
'0 1px 1px rgba(0, 0, 0, 0.1)'
,
DEFAULT
:
'0 1px 1px rgba(0, 0, 0, 0.1)'
,
adderToolbar
:
'0px 2px 10px 0px rgba(0, 0, 0, 0.25)'
,
adderToolbar
:
'0px 2px 10px 0px rgba(0, 0, 0, 0.25)'
,
focus
:
'0 0 0 2px #59a7e8'
,
focus
:
`0 0 0 2px
${
focusBlue
}
`
,
'focus-inner'
:
'inset 0 0 0 2px #59a7e8'
,
'focus-inner'
:
`inset 0 0 0 2px
${
focusBlue
}
`
,
// The shadow shown along the edge of the sidebar in the clean theme
// The shadow shown along the edge of the sidebar in the clean theme
sidebar
:
'0px 1px 4px rgb(0, 0, 0, 0.5)'
,
sidebar
:
'0px 1px 4px rgb(0, 0, 0, 0.5)'
,
},
},
...
@@ -43,7 +45,7 @@ export default {
...
@@ -43,7 +45,7 @@ export default {
inverted
:
'#f2f2f2'
,
inverted
:
'#f2f2f2'
,
},
},
blue
:
{
blue
:
{
focus
:
'#59a7e8'
,
focus
:
focusBlue
,
quote
:
'#58cef4'
,
quote
:
'#58cef4'
,
},
},
},
},
...
...
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