Files
ragflow/web/src/pages/dataset/dataset-title.tsx
balibabu dc48c3863d Feat: Replace color variables according to design draft #3221 (#9305)
### What problem does this PR solve?

Feat: Replace color variables according to design draft #3221

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
2025-08-07 15:19:45 +08:00

16 lines
355 B
TypeScript

import { ReactNode } from 'react';
type TopTitleProps = {
title: ReactNode;
description: ReactNode;
};
export function TopTitle({ title, description }: TopTitleProps) {
return (
<div className="pb-5">
<div className="text-2xl font-semibold">{title}</div>
<p className="text-text-secondary pt-2">{description}</p>
</div>
);
}