This repository was archived by the owner on May 28, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +28
-2
lines changed Expand file tree Collapse file tree 3 files changed +28
-2
lines changed Original file line number Diff line number Diff line change @@ -70,9 +70,24 @@ window.onload = function () {
7070 if ( window . location . hash . includes ( '#custom' ) ) {
7171 // Get the custom URL after the = sign
7272 let customURL = window . location . hash . split ( '=' ) [ 1 ] ;
73- if ( localStorage . getItem ( 'reloaded' ) !== 'true' ) {
73+ if ( localStorage . getItem ( 'reloaded' ) !== 'true' && localStorage . getItem ( 'customApps' ) ) {
7474 adress . value = customURL ;
7575 form . dispatchEvent ( new Event ( 'submit' ) ) ;
7676 }
7777 }
78- } ;
78+ if ( window . location . hash . includes ( '#link' ) ) {
79+ let link = window . location . hash . split ( '=' ) [ 1 ] ;
80+ let iframe = document . getElementById ( 'uv-iframe' ) ;
81+ iframe . classList . remove ( 'dnone' ) ;
82+ iframe . style . display = 'absolute' ;
83+ iframe . style . width = '100%' ;
84+ iframe . style . height = '100%' ;
85+ iframe . style . border = 'none' ;
86+ iframe . style . left = '0' ;
87+ iframe . style . top = '0' ;
88+ iframe . style . right = '0' ;
89+ iframe . style . zIndex = '9999' ;
90+ adress . value = link ;
91+ form . dispatchEvent ( new Event ( 'submit' ) ) ;
92+ }
93+ }
Original file line number Diff line number Diff line change @@ -112,6 +112,7 @@ import Password from '../components/password';
112112 <option value =" pink-and-gray" >Pink And Gray</option >
113113 <option value =" nord" >Nord</option >
114114 <option value =" scoria" >Scoria</option >
115+ <option value =" winter" >Winter</option >
115116 <option value =" earth" >Earth</option >
116117 <option value =" connected" >Connected</option >
117118 <option value =" terminal" >Terminal</option >
Original file line number Diff line number Diff line change 174174 --scroll-bar-thumb-hover-color : # ff001f ;
175175 --input-bg-color : # ff001f ;
176176}
177+ .winter {
178+ --bg-color : # 151c36 ;
179+ --text-color : # fff8e6 ;
180+ --border-color : # fbdcc4 ;
181+ --text-bg-color : # 485778 ;
182+ --scroll-bar-track-color : # 151c36 ;
183+ --scroll-bar-thumb-color : # 485778 ;
184+ --scroll-bar-thumb-hover-color : # abb1bc ;
185+ --input-bg-color : # 485778 ;
186+ }
177187.earth {
178188 --bg-color : # 285430 ;
179189 --text-color : # e5d9b6 ;
You can’t perform that action at this time.
0 commit comments