Skip to content

Instantly share code, notes, and snippets.

@martin-mael
Created October 8, 2023 02:07
Show Gist options
  • Save martin-mael/4b50fa8e55da846f3f73399d84fa1848 to your computer and use it in GitHub Desktop.
Save martin-mael/4b50fa8e55da846f3f73399d84fa1848 to your computer and use it in GitHub Desktop.
Flexoki Tailwind colors
// Tailwind colors for Flexoki theme by Steph Ango. https://stephango.com/flexoki
const colors = {
base: {
black: '#100F0F',
950: '#1C1B1A',
900: '#282726',
850: '#343331',
800: '#403E3C',
700: '#575653',
600: '#6F6E69',
500: '#878580',
300: '#B7B5AC',
200: '#CECDC3',
150: '#DAD8CE',
100: '#E6E4D9',
50: '#F2F0E5',
paper: '#FFFCF0',
},
red: {
DEFAULT: '#AF3029',
light: '#D14D41',
},
orange: {
DEFAULT: '#BC5215',
light: '#DA702C',
},
yellow: {
DEFAULT: '#AD8301',
light: '#D0A215',
},
green: {
DEFAULT: '#66800B',
light: '#879A39',
},
cyan: {
DEFAULT: '#24837B',
light: '#3AA99F',
},
blue: {
DEFAULT: '#205EA6',
light: '#4385BE',
},
purple: {
DEFAULT: '#5E409D',
light: '#8B7EC8',
},
magenta: {
DEFAULT: '#A02F6F',
light: '#CE5D97',
},
};
@kepano
Copy link

kepano commented Jan 7, 2025

I think the most convenient for most Tailwind users would be to load the colors as replacements for the defaults. Namespacing is also useful as an alternative, but maybe it should be a separate config file?

Also we should move these config files into the main Flexoki repo so they're more easily accessible and editable by the community.

@janzheng
Copy link

janzheng commented Jan 7, 2025

I agree with moving these to the main flexoki repo, and also agree it's better to not namespace them — it probably confuses more people than it helps, tbh. Thanks for the new colors, they look stunning!

@kepano
Copy link

kepano commented Jan 27, 2025

FYI your orange sequence is using the red color values

@janzheng
Copy link

janzheng commented Jan 30, 2025 via email

@bslobodin
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment