Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 125d1c7

Browse files
committed
fix(colors): Reduce number of colors
1 parent adeef94 commit 125d1c7

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

src/styles/main.scss

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,21 @@
11
@import "variables";
22
$color-border: #3A33D1;
3-
$color-border-light: #9D99E8;
3+
$color-border-light: lighten($color-border, 15%);
44
$color-category-header: #4B54DE;
55
$color-highlight-header: #4D47D5;
6-
$color-highlight: #3A33D1;
7-
$color-selected-text: #272296;
6+
$color-highlight: $color-border;
87
$color-selected-background: #EBEBFB;
98
$color-left-column-bg: #F2F2FF;
109
$color-left-column: #4E4726;
10+
1111
$breakpoint-medium: 568px;
1212
$breakpoint-large: 768px;;
1313

1414

15-
// Need to add to the readme something along the lines of:
16-
//
17-
// The dropdown adapts to screen size. It more or less follows the breakpoints
18-
// of Bootstrap (need to list them). The code is written mobile-first. The
19-
// larger the screen size, the more rules we add to overwrite the previous one,
20-
// moving from one to two column.
21-
//
22-
// It is expected that the page layout also follow those breakpoints. The
23-
// breakpoints are defined as variables in the SCSS, so one can update them.
15+
// The dropdown adapts to screen size, to provide three different displays.
16+
// - A simple list of matching results
17+
// - Same list, but with text snippetting added if size is large enough
18+
// - Adding a second colum to let the content breath if enough room available
2419

2520
// Main autocomplete wrapper
2621
.aa-dropdown-menu {

0 commit comments

Comments
 (0)