grygy / quiz-ed

A lightweight Kahoot alternative.
0 stars 0 forks source link

Prepare styled components #21

Open grygy opened 2 months ago

grygy commented 2 months ago
grygy commented 2 months ago
import getTokens from "@kiwicom/orbit-components/lib/getTokens"; 
import OrbitProvider from "@kiwicom/orbit-components/lib/OrbitProvider";

const customTokens = getTokens({
 palette: {
  "product": {
    "dark": "#d32f2f",
    "darkHover": "#C62828",
    "darkActive": "#B71C1C",
    "darker": "#7F0000".
    "light": "#ffebee",
    "lightActive": "#ef9a9a",
    "lightHover": "#ffcdd2",
    "normal": "#ff5722",
    "normalActive": "#e53935",
    "normalHover": "#f44336"
  }
}
});

const App = () => 
<OrbitProvider useId={React.useId} theme={{ orbit: customTokens }}>
  <Button type="secondary" size="large">Button</Button>
</OrbitProvider>;
grygy commented 1 month ago

Remove kiwi wiki and use shadcn