Skip to content

Commit ab1f187

Browse files
committed
update master detail changes
1 parent 62f6429 commit ab1f187

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

data/changes.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -105,20 +105,20 @@ class MasterDetailNG(object):
105105

106106
# This change should make background of items on home page purple
107107
SCSS_NESTED_COMMON = ChangeSet(file_path=os.path.join('src', 'app', 'cars', '_car-list.component.scss'),
108-
old_value='$background-color: background',
109-
new_value='$background-color: purple',
110-
old_color=Colors.WHITE, new_color=Colors.PURPLE_CUSTOM)
108+
old_value='background-alt-10);',
109+
new_value='background-alt-10);\nbackground-color: yellow;',
110+
old_color=Colors.WHITE, new_color=Colors.YELLOW)
111111

112112
# This change should make icons on home page yellow
113113
SCSS_NESTED_ANDROID = ChangeSet(file_path=os.path.join('src', 'app', 'cars', 'car-list.component.android.scss'),
114114
old_value='Android here',
115-
new_value='Android here\n.cars-list__item{ color: yellow; }\n',
116-
old_color=None, new_color=Colors.YELLOW)
115+
new_value='Android here\n.cars-list__item-name{background-color: orange;}\n',
116+
old_color=None, new_color=Colors.ORANGE)
117117

118118
SCSS_NESTED_IOS = ChangeSet(file_path=os.path.join('src', 'app', 'cars', 'car-list.component.ios.scss'),
119119
old_value='iOS here',
120-
new_value='iOS here\n.cars-list__item{ color: yellow; }\n',
121-
old_color=None, new_color=Colors.YELLOW)
120+
new_value='iOS here\n.cars-list__item-name{background-color: orange;}\n',
121+
old_color=None, new_color=Colors.ORANGE)
122122

123123
class JSTabNavigation(object):
124124
JS = ChangeSet(file_path=os.path.join('app', 'home', 'home-items-view-model.js'),

data/const.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,5 @@ class Colors(object):
1919
PURPLE_CUSTOM = numpy.array([255, 48, 129]) # A bit custom purple (when apply purple on master-detail).
2020
YELLOW = numpy.array([0, 255, 255]) # Yellow (standard CSS color).
2121
YELLOW_ICON = numpy.array([0, 242, 255]) # Yellow of star.png
22+
ORANGE = numpy.array([0, 165, 255]) # Orange (standard CSS color).
2223
GREEN_ICON = numpy.array([0, 128, 0]) # Green of background colour of resources generate images

0 commit comments

Comments
 (0)