File tree Expand file tree Collapse file tree 6 files changed +25
-8
lines changed
Expand file tree Collapse file tree 6 files changed +25
-8
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' @tanstack/devtools ' : patch
3+ ---
4+
5+ add new tantack logo
Original file line number Diff line number Diff line change 4848 "size-limit" : [
4949 {
5050 "path" : " packages/devtools/dist/index.js" ,
51- "limit" : " 40 KB"
51+ "limit" : " 50 KB"
5252 },
5353 {
5454 "path" : " packages/event-bus-client/dist/esm/plugin.js" ,
Original file line number Diff line number Diff line change 11import { createMemo } from 'solid-js'
22import clsx from 'clsx'
3- import { TanStackLogo } from '@tanstack/devtools-ui'
43import { useDevtoolsSettings } from '../context/use-devtools-context'
54import { useStyles } from '../styles/use-styles'
5+ import TanStackLogo from './tanstack-logo.png'
66import type { Accessor } from 'solid-js'
77
88export const Trigger = ( {
@@ -28,7 +28,7 @@ export const Trigger = ({
2828 class = { buttonStyle ( ) }
2929 onClick = { ( ) => setIsOpen ( ! isOpen ( ) ) }
3030 >
31- < TanStackLogo />
31+ < img src = { TanStackLogo } alt = "TanStack Logo" />
3232 </ button >
3333 )
3434}
Original file line number Diff line number Diff line change @@ -218,6 +218,14 @@ const stylesFactory = (theme: DevtoolsStore['settings']['theme']) => {
218218 font-size : ${ font . size . xs } ;
219219 cursor : pointer;
220220 transition : all 0.25s ease-out;
221+ & > img {
222+ width : 56px ;
223+ height : 56px ;
224+ transition : all 0.3s ease;
225+ outline-offset : 2px ;
226+ border-radius : ${ border . radius . full } ;
227+ outline : 2px solid transparent;
228+ }
221229 & : hide-until-hover {
222230 opacity : 0 ;
223231 pointer-events : none;
@@ -228,10 +236,9 @@ const stylesFactory = (theme: DevtoolsStore['settings']['theme']) => {
228236 pointer-events : auto;
229237 visibility : visible;
230238 }
231- & : focus-visible {
232- outline-offset : 2px ;
233- border-radius : ${ border . radius . full } ;
234- outline : 2px solid ${ t ( colors . blue [ 700 ] , colors . blue [ 800 ] ) } ;
239+ & > img : focus-visible ,
240+ img : hover {
241+ outline : 2px solid ${ t ( colors . black , colors . black ) } ;
235242 }
236243 ` ,
237244 mainCloseBtnPosition : ( position : TanStackDevtoolsConfig [ 'position' ] ) => {
Original file line number Diff line number Diff line change @@ -15,5 +15,10 @@ export default defineConfig(() => {
1515 const parsed_data = parsePresetOptions ( preset_options )
1616 const tsup_options = generateTsupOptions ( parsed_data )
1717
18- return tsup_options
18+ return tsup_options . map ( ( option ) => ( {
19+ ...option ,
20+ loader : {
21+ '.png' : 'dataurl' ,
22+ } ,
23+ } ) )
1924} )
You can’t perform that action at this time.
0 commit comments