Sugar high themes

A curated collection of themes for the Sugar High code highlighter, inspired by popular styles from VSCode, classic highlighters, and more. Just grab the colors, drop them into your CSS, and you're all set.

import React, { useState } from 'react';

const MyComponent = ({ title }) => {
  const [count, setCount] = useState(0);

  const handleClick = () => {
    setCount(prev => prev + 1); // Update count on click
  };

  return (
    <div className="container">
      <h1>{title}</h1>
      <p> Count: {count}</p>
      <button onClick={handleClick}>+</button>
    </div>
  );
};

export default MyComponent;
import React, { useState } from 'react';

const MyComponent = ({ title }) => {
  const [count, setCount] = useState(0);

  const handleClick = () => {
    setCount(prev => prev + 1); // Update count on click
  };

  return (
    <div className="container">
      <h1>{title}</h1>
      <p> Count: {count}</p>
      <button onClick={handleClick}>+</button>
    </div>
  );
};

export default MyComponent;
import React, { useState } from 'react';

const MyComponent = ({ title }) => {
  const [count, setCount] = useState(0);

  const handleClick = () => {
    setCount(prev => prev + 1); // Update count on click
  };

  return (
    <div className="container">
      <h1>{title}</h1>
      <p> Count: {count}</p>
      <button onClick={handleClick}>+</button>
    </div>
  );
};

export default MyComponent;
import React, { useState } from 'react';

const MyComponent = ({ title }) => {
  const [count, setCount] = useState(0);

  const handleClick = () => {
    setCount(prev => prev + 1); // Update count on click
  };

  return (
    <div className="container">
      <h1>{title}</h1>
      <p> Count: {count}</p>
      <button onClick={handleClick}>+</button>
    </div>
  );
};

export default MyComponent;
import React, { useState } from 'react';

const MyComponent = ({ title }) => {
  const [count, setCount] = useState(0);

  const handleClick = () => {
    setCount(prev => prev + 1); // Update count on click
  };

  return (
    <div className="container">
      <h1>{title}</h1>
      <p> Count: {count}</p>
      <button onClick={handleClick}>+</button>
    </div>
  );
};

export default MyComponent;
import React, { useState } from 'react';

const MyComponent = ({ title }) => {
  const [count, setCount] = useState(0);

  const handleClick = () => {
    setCount(prev => prev + 1); // Update count on click
  };

  return (
    <div className="container">
      <h1>{title}</h1>
      <p> Count: {count}</p>
      <button onClick={handleClick}>+</button>
    </div>
  );
};

export default MyComponent;
import React, { useState } from 'react';

const MyComponent = ({ title }) => {
  const [count, setCount] = useState(0);

  const handleClick = () => {
    setCount(prev => prev + 1); // Update count on click
  };

  return (
    <div className="container">
      <h1>{title}</h1>
      <p> Count: {count}</p>
      <button onClick={handleClick}>+</button>
    </div>
  );
};

export default MyComponent;
import React, { useState } from 'react';

const MyComponent = ({ title }) => {
  const [count, setCount] = useState(0);

  const handleClick = () => {
    setCount(prev => prev + 1); // Update count on click
  };

  return (
    <div className="container">
      <h1>{title}</h1>
      <p> Count: {count}</p>
      <button onClick={handleClick}>+</button>
    </div>
  );
};

export default MyComponent;
import React, { useState } from 'react';

const MyComponent = ({ title }) => {
  const [count, setCount] = useState(0);

  const handleClick = () => {
    setCount(prev => prev + 1); // Update count on click
  };

  return (
    <div className="container">
      <h1>{title}</h1>
      <p> Count: {count}</p>
      <button onClick={handleClick}>+</button>
    </div>
  );
};

export default MyComponent;
import React, { useState } from 'react';

const MyComponent = ({ title }) => {
  const [count, setCount] = useState(0);

  const handleClick = () => {
    setCount(prev => prev + 1); // Update count on click
  };

  return (
    <div className="container">
      <h1>{title}</h1>
      <p> Count: {count}</p>
      <button onClick={handleClick}>+</button>
    </div>
  );
};

export default MyComponent;
import React, { useState } from 'react';

const MyComponent = ({ title }) => {
  const [count, setCount] = useState(0);

  const handleClick = () => {
    setCount(prev => prev + 1); // Update count on click
  };

  return (
    <div className="container">
      <h1>{title}</h1>
      <p> Count: {count}</p>
      <button onClick={handleClick}>+</button>
    </div>
  );
};

export default MyComponent;
import React, { useState } from 'react';

const MyComponent = ({ title }) => {
  const [count, setCount] = useState(0);

  const handleClick = () => {
    setCount(prev => prev + 1); // Update count on click
  };

  return (
    <div className="container">
      <h1>{title}</h1>
      <p> Count: {count}</p>
      <button onClick={handleClick}>+</button>
    </div>
  );
};

export default MyComponent;
import React, { useState } from 'react';

const MyComponent = ({ title }) => {
  const [count, setCount] = useState(0);

  const handleClick = () => {
    setCount(prev => prev + 1); // Update count on click
  };

  return (
    <div className="container">
      <h1>{title}</h1>
      <p> Count: {count}</p>
      <button onClick={handleClick}>+</button>
    </div>
  );
};

export default MyComponent;
import React, { useState } from 'react';

const MyComponent = ({ title }) => {
  const [count, setCount] = useState(0);

  const handleClick = () => {
    setCount(prev => prev + 1); // Update count on click
  };

  return (
    <div className="container">
      <h1>{title}</h1>
      <p> Count: {count}</p>
      <button onClick={handleClick}>+</button>
    </div>
  );
};

export default MyComponent;
import React, { useState } from 'react';

const MyComponent = ({ title }) => {
  const [count, setCount] = useState(0);

  const handleClick = () => {
    setCount(prev => prev + 1); // Update count on click
  };

  return (
    <div className="container">
      <h1>{title}</h1>
      <p> Count: {count}</p>
      <button onClick={handleClick}>+</button>
    </div>
  );
};

export default MyComponent;