Skip to content

Commit

Permalink
chore: remove select definitely
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardoperra committed Apr 15, 2023
1 parent b6626a7 commit 5cb7b62
Show file tree
Hide file tree
Showing 9 changed files with 29 additions and 381 deletions.
2 changes: 1 addition & 1 deletion apps/codeimage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"@codemirror/search": "^6.2.3",
"@codemirror/state": "^6.2.0",
"@codemirror/view": "^6.9.1",
"@codeui/kit": "0.0.13",
"@codeui/kit": "0.0.14",
"@floating-ui/core": "^1.2.2",
"@floating-ui/dom": "^1.2.3",
"@formatjs/intl-relativetimeformat": "11.1.4",
Expand Down
20 changes: 20 additions & 0 deletions apps/codeimage/src/theme/global.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,23 @@ globalStyle(`[data-codeimage-theme=dark]`, {
[cssVar.exec(themeVars.dynamicColors.panel.background)![0]]: '#151516',
[cssVar.exec(themeVars.dynamicColors.background)![0]]: '#0f0f10',
});

globalStyle('::-webkit-scrollbar', {
width: '18px',
});

globalStyle('::-webkit-scrollbar-track', {
backgroundColor: 'transparent',
});

globalStyle('::-webkit-scrollbar-thumb', {
backgroundColor: themeVars.dynamicColors.scrollBar.backgroundColor,
borderRadius: themeVars.borderRadius.full,
border: '6px solid transparent',
backgroundClip: 'content-box',
transition: 'background-color .2s',
});

globalStyle('::-webkit-scrollbar-thumb:hover', {
backgroundColor: themeVars.dynamicColors.scrollBar.hoverBackgroundColor,
});
68 changes: 0 additions & 68 deletions packages/ui/dev/demo/Select.tsx

This file was deleted.

11 changes: 3 additions & 8 deletions packages/ui/dev/index.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
import {render} from 'solid-js/web';
import {Box, CodeImageThemeProvider} from '../src';
import '../src/lib/themes/dark-theme.css';
import '../src/lib/themes/light-theme.css';
import {ButtonDemo} from './demo/Button';
import {SegmentedFieldDemo} from './demo/SegmentedControl';
import {SelectDemo} from './demo/Select';
import {TextFieldDemo} from './demo/TextField';
import './reset.scss';
import './global.css';
import '../src/lib/themes/dark-theme.css';
import '../src/lib/themes/light-theme.css';
import './reset.scss';

function App() {
return (
Expand All @@ -22,10 +21,6 @@ function App() {
<Box marginTop={'12'}>
<SegmentedFieldDemo />
</Box>

<Box marginTop={'12'}>
<SelectDemo />
</Box>
</Box>
</CodeImageThemeProvider>
);
Expand Down
129 changes: 0 additions & 129 deletions packages/ui/src/lib/primitives/Select/Select.css.ts

This file was deleted.

Loading

0 comments on commit 5cb7b62

Please sign in to comment.