Learn R Programming

flexoki

flexoki provides a set of color palettes from Steph Ango’s https://stephango.com/flexoki.

This package provides:

  • Dark and light ggplot2 themes that match the aesthetic of Flexoki’s code editor styles.
  • Custom color and fill scales for discrete, continuous, and binned data using Flexoki’s extended color schemes.
  • Color palettes in the flexoki object, which is a list of palette vectors.

Installation

You can install the development version of flexoki from GitHub with:

pak::pak('christopherkenny/flexoki')

Example

flexoki provides basic ggplot2 scales for fill and color (also aliased as colour). It similarly provides corresponding theme functions.

library(ggplot2)
library(flexoki)

mpg |>
  ggplot() +
  geom_point(aes(displ, hwy, colour = class)) +
  scale_color_flexoki_d(palette = 'light') +
  theme_flexoki_light()

Copy Link

Version

Install

install.packages('flexoki')

Monthly Downloads

488

Version

0.0.1

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Christopher T. Kenny

Last Published

April 9th, 2025

Functions in flexoki (0.0.1)

scale_color_flexoki_d

Discrete 'Flexoki' Color Scales for ggplot2
theme_flexoki_dark

Dark Theme
scale_color_flexoki_b

Binned 'Flexoki' Color Scales for ggplot2
theme_flexoki_light

Light Theme
scale_color_flexoki_c

Continuous 'Flexoki' Color Scales for ggplot2
flexoki

'Flexoki' Color Palettes
flexoki-package

flexoki: Inky Color Schemes