Skip to content

Commit 1816733

Browse files
committed
Move to tokens
1 parent aa90dcc commit 1816733

5 files changed

Lines changed: 3 additions & 5 deletions

File tree

packages/react-components/scripts/sync-design-tokens.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import fs from 'fs';
44
import path from 'path';
55

66
const DESIGN_TOKENS_DIR = './AidboxDesignTokens';
7-
const CSS_TEMPLATE_FILE = './hs.template.css';
8-
const RESULTING_CSS_FILE = './src/hs.css';
7+
const CSS_TEMPLATE_FILE = './src/template.css';
8+
const RESULTING_CSS_FILE = './src/tokens.css';
99

1010
const ALL_DESIGN_TOKENS = [
1111
{

packages/react-components/src/index.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
22
@import "tailwindcss";
33
@import "tw-animate-css";
4-
@import "./hs.css";
4+
@import "./tokens.css";
55

66
@custom-variant dark (&:is(.dark *));
77

packages/react-components/src/stories/Calendar.stories.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ import type { Meta, StoryObj } from '@storybook/react';
22
import { Calendar } from '@/components/ui/calendar';
33
import * as React from 'react';
44

5-
// Import CSS for design tokens
6-
import '../hs.css';
75

86
// Error Boundary Component
97
class ErrorBoundary extends React.Component<
File renamed without changes.

0 commit comments

Comments
 (0)