Skip to content

Commit

Permalink
feat(*): remove black color (#172)
Browse files Browse the repository at this point in the history
* feat(*): change colors for icons, input, link, attach, collapse, select & spinner

* feat(*): add border variables

* feat(*): add gemini test images

* feat(attach): fix input color

* chore(*): udpate gemini screens
  • Loading branch information
simareeno authored and tx44 committed Aug 7, 2017
1 parent 1ad199e commit 4bb2ebc
Show file tree
Hide file tree
Showing 142 changed files with 178 additions and 76 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions src/attach/attach_theme_alfa-on-color.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

@import '../vars.css';

.attach_theme_alfa-on-color {
.attach__file,
.attach__no-file {
color: var(--color-content-alfa-on-color);
}
}
12 changes: 12 additions & 0 deletions src/attach/attach_theme_alfa-on-white.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

@import '../vars.css';

.attach_theme_alfa-on-white {
.attach__file,
.attach__no-file {
color: var(--color-content-alfa-on-white);
}
}
12 changes: 12 additions & 0 deletions src/attach/fantasy/attach_theme_alfa-on-color.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

@import '../../vars-fantasy.css';

.attach_theme_alfa-on-color {
.attach__file,
.attach__no-file {
color: var(--color-content-alfa-on-white);
}
}
12 changes: 12 additions & 0 deletions src/attach/fantasy/attach_theme_alfa-on-white.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

@import '../../vars-fantasy.css';

.attach_theme_alfa-on-white {
.attach__file,
.attach__no-file {
color: var(--color-content-alfa-on-white);
}
}
2 changes: 2 additions & 0 deletions src/attach/fantasy/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,7 @@
import '../../button/fantasy';

import './attach.css';
import './attach_theme_alfa-on-color.css';
import './attach_theme_alfa-on-white.css';

export default from '../attach';
2 changes: 2 additions & 0 deletions src/attach/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,7 @@
import '../button';

import './attach.css';
import './attach_theme_alfa-on-color.css';
import './attach_theme_alfa-on-white.css';

export default from './attach';
14 changes: 7 additions & 7 deletions src/button/fantasy/button_theme_alfa-on-color.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,34 +7,34 @@
.button_theme_alfa-on-color {
color: var(--color-content-alfa-on-color);
background: transparent;
border-color: rgba(255, 255, 255, .4);
border-color: var(--color-border-control-alfa-on-color);
border-style: solid;
border-width: 1px;

&.button_hovered {
border-color: var(--color-content-alfa-on-color);
border-color: var(--color-border-control-hovered-alfa-on-color);
}

&.button_focused {
border-color: var(--color-content-alfa-on-color);
border-color: var(--color-border-control-focused-alfa-on-color);
box-shadow: inset 0 0 0 1px var(--color-content-alfa-on-color);

&.button_hovered {
border-color: var(--color-content-alfa-on-color);
border-color: var(--color-border-control-hovered-alfa-on-color);
box-shadow: inset 0 0 0 1px var(--color-content-alfa-on-color);
}
}

&.button_pressed {
background: rgba(0, 0, 0, .1);
border-color: var(--color-content-alfa-on-color);
border-color: var(--color-border-control-focused-alfa-on-color);
}

&.button_checked,
&.button_view_action {
color: var(--color-content-alfa-on-color);
background: rgba(255, 255, 255, .2);
border-color: rgba(255, 255, 255, .05);
border-color: var(--color-border-control-checked-alfa-on-color);

&.button_hovered {
background: rgba(255, 255, 255, .3);
Expand All @@ -45,7 +45,7 @@
}

&.button_focused {
border-color: var(--color-content-alfa-on-color);
border-color: var(--color-border-control-focused-alfa-on-color);
}
}

Expand Down
14 changes: 7 additions & 7 deletions src/button/fantasy/button_theme_alfa-on-white.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,34 +7,34 @@
.button_theme_alfa-on-white {
color: var(--color-content-alfa-on-white);
background: transparent;
border-color: rgba(10, 30, 50, .3);
border-color: var(--color-border-control-alfa-on-white);
border-style: solid;
border-width: 1px;

&.button_hovered {
border-color: var(--color-content-alfa-on-white);
border-color: var(--color-border-control-hovered-alfa-on-white);
}

&.button_focused {
border-color: var(--color-content-alfa-on-white);
border-color: var(--color-border-control-focused-alfa-on-white);
box-shadow: inset 0 0 0 1px var(--color-content-alfa-on-white);

&.button_hovered {
border-color: var(--color-content-alfa-on-white);
border-color: var(--color-border-control-focused-alfa-on-white);
box-shadow: inset 0 0 0 1px var(--color-content-alfa-on-white);
}
}

&.button_pressed {
background: rgba(10, 30, 50, .05);
border-color: var(--color-content-alfa-on-white);
border-color: var(--color-border-control-focused-alfa-on-white);
}

&.button_checked,
&.button_view_action {
color: var(--color-content-alfa-on-white);
background: rgba(10, 30, 50, .15);
border-color: rgba(10, 30, 50, .05);
border-color: var(--color-border-control-checked-alfa-on-white);

&.button_hovered {
background: rgba(10, 30, 50, .25);
Expand All @@ -45,7 +45,7 @@
}

&.button_focused {
border-color: var(--color-content-alfa-on-white);
border-color: var(--color-border-control-focused-alfa-on-white);
}
}

Expand Down
6 changes: 3 additions & 3 deletions src/checkbox/fantasy/checkbox_theme_alfa-on-color.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

.checkbox__box {
background: var(--color-background-control-alfa-on-color);
border: 1px solid rgba(255, 255, 255, .5);
border: 1px solid var(--color-border-control-alfa-on-color);
transition: all 200ms ease;
}

Expand All @@ -28,12 +28,12 @@
&.checkbox_focused,
&.checkbox_hovered {
.checkbox__box {
border-color: var(--color-content-alfa-on-color);
border-color: var(--color-border-control-focused-alfa-on-color);
}
}

&.checkbox_focused .checkbox__box {
box-shadow: 0 0 0 1px var(--color-content-alfa-on-color);
box-shadow: 0 0 0 1px var(--color-border-control-focused-alfa-on-color);
}

&.checkbox_disabled {
Expand Down
6 changes: 3 additions & 3 deletions src/checkbox/fantasy/checkbox_theme_alfa-on-white.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

.checkbox__box {
background: var(--color-background-control-alfa-on-white);
border: 1px solid rgba(10, 30, 50, .3);
border: 1px solid var(--color-border-control-alfa-on-white);
transition: all 200ms ease;
}

Expand All @@ -28,12 +28,12 @@
&.checkbox_focused,
&.checkbox_hovered {
.checkbox__box {
border-color: var(--color-content-alfa-on-white);
border-color: var(--color-border-control-focused-alfa-on-white);
}
}

&.checkbox_focused .checkbox__box {
box-shadow: 0 0 0 1px var(--color-content-alfa-on-white);
box-shadow: 0 0 0 1px var(--color-border-control-focused-alfa-on-white);
}

&.checkbox_disabled {
Expand Down
2 changes: 1 addition & 1 deletion src/icon/images/icon_calendar__l__white.svg
2 changes: 1 addition & 1 deletion src/icon/images/icon_calendar__m__white.svg
2 changes: 1 addition & 1 deletion src/icon/images/icon_calendar__s__white.svg
2 changes: 1 addition & 1 deletion src/icon/images/icon_calendar__xl__white.svg
2 changes: 1 addition & 1 deletion src/icon/images/icon_close__l__white.svg
2 changes: 1 addition & 1 deletion src/icon/images/icon_close__m__white.svg
2 changes: 1 addition & 1 deletion src/icon/images/icon_close__s__white.svg
2 changes: 1 addition & 1 deletion src/icon/images/icon_close__xl__white.svg
2 changes: 1 addition & 1 deletion src/icon/images/icon_error__l__white.svg
2 changes: 1 addition & 1 deletion src/icon/images/icon_error__m__white.svg
2 changes: 1 addition & 1 deletion src/icon/images/icon_error__s__white.svg
2 changes: 1 addition & 1 deletion src/icon/images/icon_error__xl__white.svg
2 changes: 1 addition & 1 deletion src/icon/images/icon_fail__l__white.svg
2 changes: 1 addition & 1 deletion src/icon/images/icon_fail__m__white.svg
2 changes: 1 addition & 1 deletion src/icon/images/icon_fail__s__white.svg
Loading

0 comments on commit 4bb2ebc

Please sign in to comment.