Skip to content

Commit

Permalink
common: Update types with new languages and themes
Browse files Browse the repository at this point in the history
  • Loading branch information
laymonage committed Dec 31, 2024
1 parent d3f7f4a commit 282f365
Show file tree
Hide file tree
Showing 5 changed files with 75 additions and 0 deletions.
15 changes: 15 additions & 0 deletions react/src/lib/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,34 @@ export type Theme =
| 'noborder_gray'
| 'cobalt'
| 'purple_dark'
| 'gruvbox'
| 'gruvbox_dark'
| 'gruvbox_light'
| 'catppuccin_latte'
| 'catppuccin_frappe'
| 'catppuccin_macchiato'
| 'catppuccin_mocha'
| 'fro'
| `https://${string}`
| GenericString;

export type AvailableLanguage =
| 'ar'
| 'be'
| 'bg'
| 'ca'
| 'cs'
| 'da'
| 'de'
| 'en'
| 'eo'
| 'es'
| 'eu'
| 'fa'
| 'fr'
| 'gr'
| 'gsw'
| 'hbs'
| 'he'
| 'hu'
| 'id'
Expand All @@ -65,6 +79,7 @@ export type AvailableLanguage =
| 'zh-CN'
| 'zh-Hans'
| 'zh-Hant'
| 'zh-HK'
| 'zh-TW'
| GenericString;

Expand Down
15 changes: 15 additions & 0 deletions solid/src/lib/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,34 @@ export type Theme =
| 'noborder_gray'
| 'cobalt'
| 'purple_dark'
| 'gruvbox'
| 'gruvbox_dark'
| 'gruvbox_light'
| 'catppuccin_latte'
| 'catppuccin_frappe'
| 'catppuccin_macchiato'
| 'catppuccin_mocha'
| 'fro'
| `https://${string}`
| GenericString;

export type AvailableLanguage =
| 'ar'
| 'be'
| 'bg'
| 'ca'
| 'cs'
| 'da'
| 'de'
| 'en'
| 'eo'
| 'es'
| 'eu'
| 'fa'
| 'fr'
| 'gr'
| 'gsw'
| 'hbs'
| 'he'
| 'hu'
| 'id'
Expand All @@ -65,6 +79,7 @@ export type AvailableLanguage =
| 'zh-CN'
| 'zh-Hans'
| 'zh-Hant'
| 'zh-HK'
| 'zh-TW'
| GenericString;

Expand Down
15 changes: 15 additions & 0 deletions svelte/src/lib/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,34 @@ export type Theme =
| 'noborder_gray'
| 'cobalt'
| 'purple_dark'
| 'gruvbox'
| 'gruvbox_dark'
| 'gruvbox_light'
| 'catppuccin_latte'
| 'catppuccin_frappe'
| 'catppuccin_macchiato'
| 'catppuccin_mocha'
| 'fro'
| `https://${string}`
| GenericString;

export type AvailableLanguage =
| 'ar'
| 'be'
| 'bg'
| 'ca'
| 'cs'
| 'da'
| 'de'
| 'en'
| 'eo'
| 'es'
| 'eu'
| 'fa'
| 'fr'
| 'gr'
| 'gsw'
| 'hbs'
| 'he'
| 'hu'
| 'id'
Expand All @@ -65,6 +79,7 @@ export type AvailableLanguage =
| 'zh-CN'
| 'zh-Hans'
| 'zh-Hant'
| 'zh-HK'
| 'zh-TW'
| GenericString;

Expand Down
15 changes: 15 additions & 0 deletions vue/src/lib/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,34 @@ export type Theme =
| 'noborder_gray'
| 'cobalt'
| 'purple_dark'
| 'gruvbox'
| 'gruvbox_dark'
| 'gruvbox_light'
| 'catppuccin_latte'
| 'catppuccin_frappe'
| 'catppuccin_macchiato'
| 'catppuccin_mocha'
| 'fro'
| `https://${string}`
| GenericString;

export type AvailableLanguage =
| 'ar'
| 'be'
| 'bg'
| 'ca'
| 'cs'
| 'da'
| 'de'
| 'en'
| 'eo'
| 'es'
| 'eu'
| 'fa'
| 'fr'
| 'gr'
| 'gsw'
| 'hbs'
| 'he'
| 'hu'
| 'id'
Expand All @@ -65,6 +79,7 @@ export type AvailableLanguage =
| 'zh-CN'
| 'zh-Hans'
| 'zh-Hant'
| 'zh-HK'
| 'zh-TW'
| GenericString;

Expand Down
15 changes: 15 additions & 0 deletions web/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,34 @@ export type Theme =
| 'noborder_gray'
| 'cobalt'
| 'purple_dark'
| 'gruvbox'
| 'gruvbox_dark'
| 'gruvbox_light'
| 'catppuccin_latte'
| 'catppuccin_frappe'
| 'catppuccin_macchiato'
| 'catppuccin_mocha'
| 'fro'
| `https://${string}`
| GenericString;

export type AvailableLanguage =
| 'ar'
| 'be'
| 'bg'
| 'ca'
| 'cs'
| 'da'
| 'de'
| 'en'
| 'eo'
| 'es'
| 'eu'
| 'fa'
| 'fr'
| 'gr'
| 'gsw'
| 'hbs'
| 'he'
| 'hu'
| 'id'
Expand All @@ -65,6 +79,7 @@ export type AvailableLanguage =
| 'zh-CN'
| 'zh-Hans'
| 'zh-Hant'
| 'zh-HK'
| 'zh-TW'
| GenericString;

Expand Down

0 comments on commit 282f365

Please sign in to comment.