Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
6743d5aa
Commit
6743d5aa
authored
Nov 28, 2016
by
Chris Peressini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Create secondary colors with darken function
parent
e6d31ce3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
34 deletions
+38
-34
app/assets/stylesheets/framework/variables.scss
app/assets/stylesheets/framework/variables.scss
+38
-34
No files found.
app/assets/stylesheets/framework/variables.scss
View file @
6743d5aa
...
@@ -12,67 +12,71 @@ $sidebar-breakpoint: 1024px;
...
@@ -12,67 +12,71 @@ $sidebar-breakpoint: 1024px;
/*
/*
* Color schema
* Color schema
*/
*/
$darken-normal-factor
:
7%
;
$darken-dark-factor
:
10%
;
$darken-border-factor
:
5%
;
$white-light
:
#fff
;
$white-light
:
#fff
;
$white-normal
:
#ededed
;
$white-normal
:
darken
(
$white-light
,
$darken-normal-factor
)
;
$white-dark
:
#ececec
;
$white-dark
:
darken
(
$white-light
,
$darken-dark-factor
)
;
$gray-lightest
:
#fdfdfd
;
$gray-lightest
:
#fdfdfd
;
$gray-light
:
#fafafa
;
$gray-light
:
#fafafa
;
$gray-lighter
:
#f9f9f9
;
$gray-lighter
:
#f9f9f9
;
$gray-normal
:
#f5f5f5
;
$gray-normal
:
darken
(
$gray-light
,
$darken-normal-factor
)
;
$gray-dark
:
#ededed
;
$gray-dark
:
darken
(
$gray-light
,
$darken-dark-factor
)
;
$gray-darker
:
#eee
;
$gray-darker
:
#eee
;
$gray-darkest
:
#c9c9c9
;
$gray-darkest
:
#c9c9c9
;
$green-light
:
#3
8ae67
;
$green-light
:
#3
cbd70
;
$green-normal
:
#2faa60
;
$green-normal
:
darken
(
$green-light
,
$darken-normal-factor
)
;
$green-dark
:
#2ca05b
;
$green-dark
:
darken
(
$green-light
,
$darken-dark-factor
)
;
$blue-light
:
#2ea8e5
;
$blue-light
:
#2ea8e5
;
$blue-normal
:
#2d9fd8
;
$blue-normal
:
darken
(
$blue-light
,
$darken-normal-factor
)
;
$blue-dark
:
#2897ce
;
$blue-dark
:
darken
(
$blue-light
,
$darken-dark-factor
)
;
$blue-medium-light
:
#3498cb
;
$blue-medium-light
:
#3498cb
;
$blue-medium
:
#2f8ebf
;
$blue-medium
:
darken
(
$blue-medium-light
,
$darken-normal-factor
)
;
$blue-medium-dark
:
#2d86b4
;
$blue-medium-dark
:
darken
(
$blue-medium-light
,
$darken-dark-factor
)
;
$blue-light-transparent
:
rgba
(
44
,
159
,
216
,
0
.05
);
$blue-light-transparent
:
rgba
(
44
,
159
,
216
,
0
.05
);
$orange-light
:
#fc8a51
;
$orange-light
:
#fc8a51
;
$orange-normal
:
#e75e40
;
$orange-normal
:
darken
(
$orange-light
,
$darken-normal-factor
)
;
$orange-dark
:
#ce5237
;
$orange-dark
:
darken
(
$orange-light
,
$darken-dark-factor
)
;
$red-light
:
#e52c5a
;
$red-light
:
#e52c5a
;
$red-normal
:
#d22852
;
$red-normal
:
darken
(
$red-light
,
$darken-normal-factor
)
;
$red-dark
:
darken
(
$red-
normal
,
5%
);
$red-dark
:
darken
(
$red-
light
,
$darken-dark-factor
);
$black
:
#000
;
$black
:
#000
;
$black-transparent
:
rgba
(
0
,
0
,
0
,
0
.3
);
$black-transparent
:
rgba
(
0
,
0
,
0
,
0
.3
);
$border-white-light
:
#f1f2f4
;
$border-white-light
:
darken
(
$white-light
,
$darken-border-factor
)
;
$border-white-normal
:
#d6dae2
;
$border-white-normal
:
darken
(
$white-normal
,
$darken-border-factor
)
;
$border-white-dark
:
#c6cacf
;
$border-white-dark
:
darken
(
$white-dark
,
$darken-border-factor
)
;
$border-gray-light
:
#dcdcdc
;
$border-gray-light
:
darken
(
$gray-light
,
$darken-border-factor
)
;
$border-gray-normal
:
#d7d7d7
;
$border-gray-normal
:
darken
(
$gray-normal
,
$darken-border-factor
)
;
$border-gray-dark
:
#c6cacf
;
$border-gray-dark
:
darken
(
$gray-dark
,
$darken-border-factor
)
;
$border-green-extra-light
:
#9adb84
;
$border-green-extra-light
:
#9adb84
;
$border-green-light
:
#2faa60
;
$border-green-light
:
darken
(
$green-light
,
$darken-border-factor
)
;
$border-green-normal
:
#2ca05b
;
$border-green-normal
:
darken
(
$green-normal
,
$darken-border-factor
)
;
$border-green-dark
:
#279654
;
$border-green-dark
:
darken
(
$green-dark
,
$darken-border-factor
)
;
$border-blue-light
:
#2d9fd8
;
$border-blue-light
:
darken
(
$blue-light
,
$darken-border-factor
)
;
$border-blue-normal
:
#2897ce
;
$border-blue-normal
:
darken
(
$blue-normal
,
$darken-border-factor
)
;
$border-blue-dark
:
#258dc1
;
$border-blue-dark
:
darken
(
$blue-dark
,
$darken-border-factor
)
;
$border-orange-light
:
#fc6d26
;
$border-orange-light
:
darken
(
$orange-light
,
$darken-border-factor
)
;
$border-orange-normal
:
#ce5237
;
$border-orange-normal
:
darken
(
$orange-normal
,
$darken-border-factor
)
;
$border-orange-dark
:
#c14e35
;
$border-orange-dark
:
darken
(
$orange-dark
,
$darken-border-factor
)
;
$border-red-light
:
#d22852
;
$border-red-light
:
darken
(
$red-light
,
$darken-border-factor
)
;
$border-red-normal
:
#ca264f
;
$border-red-normal
:
darken
(
$red-normal
,
$darken-border-factor
)
;
$border-red-dark
:
darken
(
$
border-red-normal
,
5%
);
$border-red-dark
:
darken
(
$
red-dark
,
$darken-border-factor
);
$help-well-bg
:
$gray-light
;
$help-well-bg
:
$gray-light
;
$help-well-border
:
#e5e5e5
;
$help-well-border
:
#e5e5e5
;
...
@@ -255,7 +259,7 @@ $search-input-border-color: rgba(#4688f1, .8);
...
@@ -255,7 +259,7 @@ $search-input-border-color: rgba(#4688f1, .8);
$search-input-focus-shadow-color
:
$dropdown-input-focus-shadow
;
$search-input-focus-shadow-color
:
$dropdown-input-focus-shadow
;
$search-input-width
:
220px
;
$search-input-width
:
220px
;
$location-badge-color
:
#aaa
;
$location-badge-color
:
#aaa
;
$location-badge-bg
:
$
gray-normal
;
$location-badge-bg
:
$
dark-background-color
;
$location-badge-active-bg
:
#4f91f8
;
$location-badge-active-bg
:
#4f91f8
;
$location-icon-color
:
#e7e9ed
;
$location-icon-color
:
#e7e9ed
;
$location-icon-active-color
:
#807e7e
;
$location-icon-active-color
:
#807e7e
;
...
...
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