Skip to content

Commit

Permalink
Theme tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
42A7C5 committed Jan 7, 2024
1 parent fc79e76 commit 3413cc2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 19 deletions.
21 changes: 7 additions & 14 deletions src/i18n/strings.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ const i18n = {
language: 'Language',
mapstyle: 'Map style',
styledefault: 'Default',
styleocean: 'Bright Ocean',
stylesea: 'Deep Sea',
stylesea: 'Deep Sea (AMOLED)',
stylearchi: 'Archi',
stylesat: 'Satellite',
styleminimal: 'Minimal',
Expand Down Expand Up @@ -70,8 +69,7 @@ const i18n = {
language: 'Langue',
mapstyle: 'Style de carte',
styledefault: 'Défaut',
styleocean: 'Bright Ocean',
stylesea: 'Deep Sea',
stylesea: 'AMOLED',
stylearchi: 'Archi',
stylesat: 'Satellite',
styleminimal: 'Minimal',
Expand Down Expand Up @@ -122,8 +120,7 @@ const i18n = {
language: 'Idioma',
mapstyle: 'Estilo de mapa',
styledefault: 'Defecto',
styleocean: 'Bright Ocean',
stylesea: 'Deep Sea',
stylesea: 'AMOLED',
stylearchi: 'Archi',
stylesat: 'Satélite',
styleminimal: 'Minimal',
Expand Down Expand Up @@ -174,8 +171,7 @@ const i18n = {
language: 'Sprache',
mapstyle: 'Kartenstil',
styledefault: 'Standard',
styleocean: 'Bright Ocean',
stylesea: 'Deep Sea',
stylesea: 'AMOLED',
stylearchi: 'Archi',
stylesat: 'Satellit',
styleminimal: 'Minimal',
Expand Down Expand Up @@ -226,8 +222,7 @@ const i18n = {
language: '언어',
mapstyle: '지도 스타일',
styledefault: '기본',
styleocean: 'Bright Ocean',
stylesea: 'Deep Sea',
stylesea: 'AMOLED',
stylearchi: 'Archi',
stylesat: '위성',
styleminimal: '최소한의',
Expand Down Expand Up @@ -279,8 +274,7 @@ const i18n = {
language: '語言',
mapstyle: '地圖樣式',
styledefault: '預設',
styleocean: 'Bright Ocean',
stylesea: 'Deep Sea',
stylesea: 'AMOLED',
stylearchi: 'Archi',
stylesat: '衛星',
styleminimal: '最小',
Expand Down Expand Up @@ -331,8 +325,7 @@ const i18n = {
language: '语言',
mapstyle: '地图样式',
styledefault: '预设',
styleocean: 'Bright Ocean',
stylesea: 'Deep Sea',
stylesea: 'AMOLED',
stylearchi: 'Archi',
stylesat: '卫星',
styleminimal: '最小',
Expand Down
6 changes: 1 addition & 5 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -1095,15 +1095,12 @@
let style = darkMode
? 'mapbox://styles/kylerschin/clm2i6cmg00fw01of2vp5h9p5'
: 'mapbox://styles/kylerschin/cllpbma0e002h01r6afyzcmd8';
: 'mapbox://styles/kylerschin/clqomei1n006h01raaylca7ty';
if (browser) {
if (window.localStorage.mapStyle == 'sat') {
style = 'mapbox://styles/kylerschin/clncqfm5p00b601recvp14ipu';
}
if (window.localStorage.mapStyle == 'brightocean') {
style = 'mapbox://styles/kylerschin/clqomei1n006h01raaylca7ty';
}
if (window.localStorage.mapStyle == 'deepsea') {
style = 'mapbox://styles/kylerschin/clqogkdiy00bs01obh352h32o';
}
Expand Down Expand Up @@ -2330,7 +2327,6 @@ on:keydown={() => {
>
<option value="none">--</option>
<option value="default">{strings.styledefault}</option>
<option value="brightocean">{strings.styleocean}</option>
<option value="deepsea">{strings.stylesea}</option>
{#if browser}
{#if window.location.search.includes('sat')}
Expand Down

0 comments on commit 3413cc2

Please sign in to comment.