Skip to content

Commit 59fdf4e

Browse files
hasparusdimaMachinagithub-actions[bot]
authored
New plugin search color scheme (#1756)
Co-authored-by: Dimitri POSTOLOV <[email protected]> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent f610013 commit 59fdf4e

Some content is hidden

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

43 files changed

+3730
-1083
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@theguild/components": patch
3+
---
4+
dependencies updates:
5+
- Removed dependency [`@theguild/[email protected]` ↗︎](https://www.npmjs.com/package/@theguild/tailwind-config/v/0.5.0) (from `dependencies`)
6+
- Added dependency [`@theguild/tailwind-config@0.6.0-alpha-20241106003557-2c94714753ba2342f442f836b4683119985ee2c5` ↗︎](https://www.npmjs.com/package/@theguild/tailwind-config/v/0.6.0) (to `peerDependencies`)

.changeset/pink-grapes-compete.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@theguild/components': minor
3+
---
4+
5+
Add green colorScheme to MarketplaceSearch and MarketplaceList, change display to grid

.eslintrc.cjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ module.exports = {
4747
'aa-SourceHeaderTitle',
4848
'hive-focus',
4949
'hive-focus-within',
50+
'@container', // Tailwind ESLint Plugin doesn't see the Container Queries classes but it does see prefixes like @sm:
5051
],
5152
},
5253
},

.storybook/hive-theme-decorator.tsx

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,10 @@ import { StoryContext } from '@storybook/react';
55
import { cn } from '../packages/components/src/cn';
66

77
const neueMontreal = localFont({
8-
// TODO: Swap to variable version.
9-
// TODO: We only use 400 and 500 weights, right?
108
src: [
11-
{ path: '../fonts/NeueMontreal-Light.otf', weight: '300' },
12-
{ path: '../fonts/NeueMontreal-Light.otf', style: 'italic' },
13-
{ path: '../fonts/NeueMontreal-Regular.otf', weight: '400' },
14-
{ path: '../fonts/NeueMontreal-Italic.otf', weight: '400', style: 'italic' },
15-
{ path: '../fonts/NeueMontreal-Medium.otf', weight: '500' },
16-
{ path: '../fonts/NeueMontreal-MediumItalic.otf', weight: '500', style: 'italic' },
9+
{ path: '../fonts/PPNeueMontreal-Regular.woff2', weight: '400' },
10+
{ path: '../fonts/PPNeueMontreal-Medium.woff2', weight: '500' },
1711
{ path: '../fonts/NeueMontreal-Bold.otf', weight: '700' },
18-
{ path: '../fonts/NeueMontreal-BoldItalic.otf', weight: '700', style: 'italic' },
1912
],
2013
variable: '--font-sans',
2114
});
@@ -28,7 +21,7 @@ export const hiveThemeDecorator = (Story: () => React.ReactNode, ctx: StoryConte
2821
className={cn(
2922
'text-green-1000',
3023
neueMontreal.variable,
31-
ctx.parameters.forcedLightMode && 'light',
24+
ctx.parameters.forcedLightMode ? 'light' : 'dark:text-white',
3225
)}
3326
style={{
3427
fontFamily: 'var(--font-sans)',
Binary file not shown.
-48.5 KB
Binary file not shown.
-39.6 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)