Skip to content

Commit

Permalink
Fix: Midnight Dusk Theme (#983)
Browse files Browse the repository at this point in the history
* fix midnight Dusk

* added string
  • Loading branch information
CD-Z authored Mar 10, 2024
1 parent 0d5d7ad commit 88059fd
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 23 deletions.
46 changes: 23 additions & 23 deletions src/theme/md3/mignightDusk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ import { getString } from '@strings/translations';
export const midnightDusk = {
light: {
id: 10,
name: getString('appearanceScreen.theme.midnightDusk'),
name: getString('appearanceScreen.theme.daybreakBloom'),
isDark: false,
primary: 'rgb(187, 0, 84)',
primary: 'rgb(240, 36, 117)',
onPrimary: 'rgb(255, 255, 255)',
primaryContainer: 'rgb(255, 217, 223)',
onPrimaryContainer: 'rgb(63, 0, 24)',
secondary: 'rgb(117, 86, 92)',
primaryContainer: 'rgb(255, 217, 225)',
onPrimaryContainer: 'rgb(63, 0, 23)',
secondary: 'rgb(187, 0, 84)',
onSecondary: 'rgb(255, 255, 255)',
secondaryContainer: 'rgb(255, 217, 223)',
onSecondaryContainer: 'rgb(43, 21, 26)',
secondaryContainer: 'rgb(255, 217, 225)',
onSecondaryContainer: 'rgb(63, 0, 23)',
tertiary: 'rgb(122, 87, 50)',
onTertiary: 'rgb(255, 255, 255)',
tertiaryContainer: 'rgb(255, 220, 189)',
Expand All @@ -22,9 +22,9 @@ export const midnightDusk = {
errorContainer: 'rgb(255, 218, 214)',
onErrorContainer: 'rgb(65, 0, 2)',
background: 'rgb(255, 251, 255)',
onBackground: 'rgb(32, 26, 27)',
surface: 'rgb(255, 251, 255)',
onSurface: 'rgb(32, 26, 27)',
onBackground: 'rgb(28, 27, 31)',
surface: 'rgba(255, 243, 252)',
onSurface: 'rgb(28, 27, 31)',
surfaceVariant: 'rgb(243, 221, 224)',
onSurfaceVariant: 'rgb(82, 67, 70)',
outline: 'rgb(132, 115, 117)',
Expand All @@ -42,14 +42,14 @@ export const midnightDusk = {
id: 11,
name: getString('appearanceScreen.theme.midnightDusk'),
isDark: true,
primary: 'rgb(255, 177, 193)',
onPrimary: 'rgb(102, 0, 42)',
primaryContainer: 'rgb(143, 0, 63)',
onPrimaryContainer: 'rgb(255, 217, 223)',
secondary: 'rgb(228, 189, 195)',
onSecondary: 'rgb(67, 41, 47)',
secondaryContainer: 'rgb(91, 63, 69)',
onSecondaryContainer: 'rgb(255, 217, 223)',
primary: 'rgb(240, 36, 117)',
onPrimary: 'rgb(255, 255, 255)',
primaryContainer: 'rgb(189, 28, 92)',
onPrimaryContainer: 'rgb(255, 255, 255)',
secondary: 'rgb(240, 36, 117)',
onSecondary: 'rgb(255, 255, 255)',
secondaryContainer: 'rgb(240, 36, 117)',
onSecondaryContainer: 'rgb(255, 255, 255)',
tertiary: 'rgb(236, 190, 145)',
onTertiary: 'rgb(70, 42, 9)',
tertiaryContainer: 'rgb(96, 64, 29)',
Expand All @@ -58,12 +58,12 @@ export const midnightDusk = {
onError: 'rgb(105, 0, 5)',
errorContainer: 'rgb(147, 0, 10)',
onErrorContainer: 'rgb(255, 180, 171)',
background: 'rgb(32, 26, 27)',
onBackground: 'rgb(236, 224, 224)',
surface: 'rgb(32, 26, 27)',
onSurface: 'rgb(236, 224, 224)',
background: 'rgb(22, 21, 29)',
onBackground: 'rgb(229, 225, 229)',
surface: 'rgb(22, 21, 29)',
onSurface: 'rgb(229, 225, 229)',
surfaceVariant: 'rgb(82, 67, 70)',
onSurfaceVariant: 'rgb(214, 194, 196)',
onSurfaceVariant: 'rgb(214, 193, 196)',
outline: 'rgb(158, 140, 143)',
outlineVariant: 'rgb(82, 67, 70)',
shadow: 'rgb(0, 0, 0)',
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

0 comments on commit 88059fd

Please sign in to comment.