Skip to content

Commit d13fdfb

Browse files
authored
Merge pull request #51 ui/ux-muiltitab
Multitab UI/UX changes
2 parents 9504fa1 + 4d19f8c commit d13fdfb

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

multi_tab/src/components/Layers/ParkLayer.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ export default function ParkLayer({
3333
}}
3434
options={{
3535
paint: {
36-
"fill-color": "#176A17",
36+
"fill-color": "#388E3C",
3737
"fill-outline-color": '#000',
38-
"fill-opacity": 0.5,
38+
"fill-opacity": 0.8,
3939
},
4040
}}
4141
labelProp={"name"}

multi_tab/src/components/Layers/RestaurantLayer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export default function RestaurantLayer({
3434
}}
3535
options={{
3636
paint: {
37-
"circle-color": "#ffbf00",
37+
"circle-color": "#CF003D",
3838
"circle-opacity": 0.75,
3939
"circle-stroke-color": '#000',
4040
"circle-stroke-width": 1,

multi_tab/src/components/UI_Components/DataTable.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ const DataTable = (props) => {
8888
hover={!(prop["@id"] === props.selected)}
8989
onClick={() => selecting(prop["@id"], `${prop.amenity}.json`)}
9090
key={prop["@id"]}
91-
sx={{ background: prop["@id"] === props.selected ? "#b1b1ff" : "#fff" }}
91+
sx={{ background: prop["@id"] === props.selected ? "#B3E6FA" : "#fff" }}
9292
>
9393
{keyList?.map((key) => (
9494
<TableCell key={key} sx={{ maxWidth: "150px" }}>

multi_tab/src/components/UI_Components/MlHighlightFeature.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@ const MlHighlightFeature = (props: MlHighlightFeatureProps) => {
4949
const [paint, setPaint] = useState<any>();
5050
const [layerType, setLayerType] = useState<MlGeoJsonLayerProps['type']>('circle');
5151

52-
const defaultColor = '#40e0d0';
52+
const defaultColor = '#CCD22A';
5353

5454
const variant = {
5555
dark: {color: '#555555', opacity: 0.5},
56-
outline: {color: defaultColor, lineColor: '#40e0d0', lineWidth: 6, opacity: 1},
57-
hell: {color: '#40e0d0', opacity: 1},
56+
outline: {color: defaultColor, lineColor: '#CCD22A', lineWidth: 6, opacity: 1},
57+
hell: {color: '#CCD22A', opacity: 0.8},
5858
};
5959

6060
function getHighlightedFeature(feature: Feature) {

0 commit comments

Comments
 (0)