11import { type Theme } from "@/types" ;
22
3+
34/**
45 * This `Map` stores all the themes that are currently available.
56 * In order to add a new theme, use the `set` method.
@@ -140,21 +141,21 @@ themes.set("blood_dark", {
140141} ) ;
141142themes . set ( "hacker" , {
142143 backgroundColor : "#101010" ,
143- borderColor : "#222" ,
144+ borderColor : "#222222" , // this one is creating a bug if we write #222 instead of #222222.
144145 titleColor : "#1DDB07" ,
145- badgeColor : "#222" ,
146+ badgeColor : "#222222" , // this one is creating a bug if we write #222 instead of #222222.
146147} ) ;
147148themes . set ( "android" , {
148149 backgroundColor : "#101010" ,
149- borderColor : "#222" ,
150+ borderColor : "#222222" , // this one is creating a bug if we write #222 instead of #222222.
150151 titleColor : "#3ADD85" ,
151- badgeColor : "#222" ,
152+ badgeColor : "#222222" , // this one is creating a bug if we write #222 instead of #222222.
152153} ) ;
153154themes . set ( "windows" , {
154155 backgroundColor : "#101010" ,
155- borderColor : "#222" ,
156+ borderColor : "#222222" , // this one is creating a bug if we write #222 instead of #222222.
156157 titleColor : "#00A3EE" ,
157- badgeColor : "#222" ,
158+ badgeColor : "#222222" , // this one is creating a bug if we write #222 instead of #222222.
158159} ) ;
159160themes . set ( "halloween" , {
160161 backgroundColor : "#1C1A2B" ,
@@ -301,4 +302,4 @@ themes.set("dark_minimalist", {
301302 */
302303export const getThemeByName = ( name : string ) : Theme => {
303304 return themes . get ( name . toLowerCase ( ) ) ?? Array . from ( themes ) . at ( 0 ) ! [ 1 ] ;
304- } ;
305+ } ;
0 commit comments