Skip to content

Commit 293455d

Browse files
committed
feat: update colors
1 parent b30dc54 commit 293455d

41 files changed

Lines changed: 655 additions & 537 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ node_modules
33
coverage
44
.next
55
build
6+
/packages/ui/dist

.vscode/settings.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,8 @@
2222
["tv\\((([^()]*|\\([^()]*\\))*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"]
2323
],
2424
"html.format.wrapAttributes": "auto",
25-
"cSpell.words": ["Hoverable", "sonner", "tailwindcss", "tsup"]
25+
"cSpell.words": ["Hoverable", "sonner", "tailwindcss", "tsup"],
26+
"[typescript]": {
27+
"editor.defaultFormatter": "esbenp.prettier-vscode"
28+
}
2629
}

apps/web/src/components/View.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* eslint-disable unused-imports/no-unused-vars */
21
import type { ReactNode } from 'react';
32
import * as React from 'react';
43
import { cva } from 'class-variance-authority';

apps/web/src/stories/autocomplete.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { Autocomplete, type AutocompleteProps } from '@var-ui/core';
55
import { EnhancedView } from '@/components/View';
66

77
const variants: AutocompleteProps['variant'][] = ['default', 'destructive'];
8-
const sizes: AutocompleteProps['size'][] = ['sm', 'md'];
8+
const sizes: AutocompleteProps['size'][] = ['xs', 'sm', 'md'];
99

1010
const meta: Meta = {
1111
title: 'Components/Autocomplete',

apps/web/src/stories/checkbox.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { Star01Icon } from '@var-ui/icons';
55

66
import { EnhancedView, View } from '@/components/View';
77

8-
const sizes: CheckboxProps['size'][] = ['sm', 'md'];
8+
const sizes: CheckboxProps['size'][] = ['sm', 'md', 'tag-sm', 'tag-md', 'tag-lg'];
99
const checkboxOptions: CheckboxProps['checked'][] = ['indeterminate', true, false, undefined];
1010
const meta: Meta = {
1111
title: 'Components/Checkbox',

apps/web/src/stories/input.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { HelpCircleIcon, Mail01Icon } from '@var-ui/icons';
66
import { EnhancedView } from '@/components/View';
77

88
const variants: InputProps['variant'][] = ['default', 'destructive'];
9-
const sizes: InputProps['size'][] = ['sm', 'md'];
9+
const sizes: InputProps['size'][] = ['xs', 'sm', 'md'];
1010

1111
const meta: Meta = {
1212
title: 'Components/Input',

apps/web/src/stories/layout.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ const links = [
211211

212212
const DefaultTemplate: StoryFn<typeof Layout> = ({ ...args }) => {
213213
return (
214-
<div className="bg-background-secondary border-border relative min-h-[50vh] border">
214+
<div className="bg-background border-border relative min-h-[50vh] border">
215215
<Layout>
216216
<Sidebar {...args}>
217217
<Sidebar.Head>

apps/web/src/stories/modal.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ const DefaultTemplate: StoryFn<ModalProps> = ({ align, ...args }: any) => {
148148
</ModalBody>
149149

150150
<ModalAction>
151-
<Button variant="outline" fullWidth>
151+
<Button variant="outline" color="default" fullWidth>
152152
Discard
153153
</Button>
154154
<Button onClick={() => toast.error('error')} fullWidth>

apps/web/src/stories/select.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { Select, type SelectProps } from '@var-ui/core';
55
import { EnhancedView } from '@/components/View';
66

77
const variants: SelectProps['variant'][] = ['default', 'destructive'];
8-
const sizes: SelectProps['size'][] = ['sm', 'md'];
8+
const sizes: SelectProps['size'][] = ['xs', 'sm', 'md'];
99

1010
const meta: Meta = {
1111
title: 'Components/Select',

apps/web/src/stories/sidebar.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ const links = [
211211

212212
const DefaultTemplate: StoryFn<SidebarProps> = ({ ...args }) => {
213213
return (
214-
<div className="bg-background-secondary relative min-h-[50vh]">
214+
<div className="bg-background relative min-h-[50vh]">
215215
<SidebarProvider {...args}>
216216
<Sidebar>
217217
<Sidebar.Head>

0 commit comments

Comments
 (0)