[go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Midnight Dusk Theme #983

Merged
merged 2 commits into from
Mar 10, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
added string
  • Loading branch information
CD-Z committed Mar 2, 2024
commit 18466f7fc1d680aa6b92dc6ddc66e985a9e3bfa6
6 changes: 4 additions & 2 deletions src/theme/md3/mignightDusk.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import { getString } from '@strings/translations';

export const midnightDusk = {
light: {
id: 10,
name: 'Daybreak Bloom',
name: getString('appearanceScreen.theme.daybreakBloom'),
isDark: false,
primary: 'rgb(240, 36, 117)',
onPrimary: 'rgb(255, 255, 255)',
Expand Down Expand Up @@ -38,7 +40,7 @@ export const midnightDusk = {
},
dark: {
id: 11,
name: 'Midnight Dusk',
name: getString('appearanceScreen.theme.midnightDusk'),
isDark: true,
primary: 'rgb(240, 36, 117)',
onPrimary: 'rgb(255, 255, 255)',
Expand Down
2 changes: 1 addition & 1 deletion src/utils/constants/languages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const languages = {
Indonesian: 'Bahasa Indonesia',
Japanese: '日本語',
Korean: '조선말, 한국어',
Polish: "Polski",
Polish: 'Polski',
Portuguese: 'Português',
Russian: 'Русский',
Spanish: 'Español',
Expand Down
1 change: 1 addition & 0 deletions strings/languages/en/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
"default": "Default",
"lavender": "Lavender",
"midnightDusk": "Midnight Dusk",
"daybreakBloom": "Daybreak Bloom",
"strawberry": "Strawberry Daiquiri",
"tako": "Tako",
"teal": "Teal",
Expand Down
2 changes: 2 additions & 0 deletions strings/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ export interface StringMap {
'appearanceScreen.theme.default': 'string';
'appearanceScreen.theme.lavender': 'string';
'appearanceScreen.theme.midnightDusk': 'string';
'appearanceScreen.theme.daybreakBloom': 'string';
'appearanceScreen.theme.strawberry': 'string';
'appearanceScreen.theme.tako': 'string';
'appearanceScreen.theme.teal': 'string';
Expand Down Expand Up @@ -115,6 +116,7 @@ export interface StringMap {
'browseScreen.migration.selectSourceDesc': 'string';
'browseScreen.noSource': 'string';
'browseScreen.pinned': 'string';
'browseScreen.pluginsHostError': 'string';
'browseScreen.removeFromLibrary': 'string';
'browseScreen.searchbar': 'string';
'browseScreen.selectNovel': 'string';
Expand Down
Loading