Skip to content

Commit

Permalink
add new blue segment-color
Browse files Browse the repository at this point in the history
  • Loading branch information
Algorush committed Mar 22, 2024
1 parent 420fa32 commit 794b58a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/aframe-streetmix-parsers.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,9 @@ function getBikeLaneMixin (variant) {
if (variant === 'red') {
return 'surface-red bike-lane';
}
if (variant === 'blue') {
return 'surface-blue bike-lane';
}
if (variant === 'green') {
return 'surface-green bike-lane';
}
Expand All @@ -246,6 +249,9 @@ function getBusLaneMixin (variant) {
if (variant === 'colored' | variant === 'red') {
return 'surface-red bus-lane';
}
if (variant === 'blue') {
return 'surface-blue bus-lane';
}
if (variant === 'grass') {
return 'surface-green bus-lane';
}
Expand Down
1 change: 1 addition & 0 deletions src/assets.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ function buildAssetHTML (assetUrl, categories) {
<a-mixin id="yellow" material="color:#f7d117"></a-mixin>
<a-mixin id="surface-green" material="color:#adff83"></a-mixin>
<a-mixin id="surface-red" material="color:#ff9393"></a-mixin>
<a-mixin id="surface-blue" material="color:#00b6b6"></a-mixin>
`,
'lane-separator': `
<!-- lane separator markings -->
Expand Down

0 comments on commit 794b58a

Please sign in to comment.