Files
tom goriunovandGitHub 8563cf203f Add support for Ton Application Chains (#2722)
* operation lifecycle accordion

* operation entity

* adapt layout to mobile device

* basic operations view

* pass response data to operation details

* update types package

* tac operation status and links to tx on ton

* feature config, docs and operation badge

* add info to tx page

* add operations to search

* search input on operations page

* tests

* update tooltips and temporary fix of ts

* add InterFallback typeface with → glyph

* design and api updates

* support new API version

* add time format toggle

* add shield to entity icon

* minor fixes

* update screenshots

* clean up

* fix screenshot
2025-06-05 11:47:47 +02:00

60 lines
1.4 KiB
TypeScript

import type { SystemConfig } from '@chakra-ui/react';
import addressEntity from './globals/address-entity';
import entity from './globals/entity';
import recaptcha from './globals/recaptcha';
import scrollbar from './globals/scrollbar';
const webkitAutofillOverrides = {
WebkitTextFillColor: 'var(--chakra-colors-input-fg)',
'-webkit-box-shadow': '0 0 0px 1000px var(--chakra-colors-input-bg) inset',
transition: 'background-color 5000s ease-in-out 0s',
};
const webkitAutofillRules = {
'&:-webkit-autofill': webkitAutofillOverrides,
'&:-webkit-autofill:hover': webkitAutofillOverrides,
'&:-webkit-autofill:focus': webkitAutofillOverrides,
};
const globalCss: SystemConfig['globalCss'] = {
body: {
bg: 'global.body.bg',
color: 'global.body.fg',
WebkitTapHighlightColor: 'transparent',
fontVariantLigatures: 'no-contextual',
focusRingStyle: 'hidden',
},
mark: {
bg: 'global.mark.bg',
color: 'inherit',
},
'svg *::selection': {
color: 'none',
background: 'none',
},
form: {
w: '100%',
},
input: {
// hide number input arrows in Google Chrome
'&::-webkit-outer-spin-button, &::-webkit-inner-spin-button': {
WebkitAppearance: 'none',
margin: 0,
},
...webkitAutofillRules,
},
textarea: {
...webkitAutofillRules,
},
select: {
...webkitAutofillRules,
},
...recaptcha,
...scrollbar,
...entity,
...addressEntity,
};
export default globalCss;