circuits-diagrams
Safe HaskellNone
LanguageGHC2024

Strings.Svg.Palette

Description

House palette for string-diagram SVGs.

Colours match coffeebuffstring-diagram-schematics.html.

Synopsis

Documentation

bgDark :: Colour Source #

Background #1b1e23.

boxFill :: Colour Source #

Box fill #21252d.

wireGrey :: Colour Source #

Plain wire #c8ccd4.

accentBlue :: Colour Source #

Primary accent #4B7FBD.

accentMagenta :: Colour Source #

Secondary accent #C44E8A.

accentGreen :: Colour Source #

Result / id accent #3fa47e.

muteGrey :: Colour Source #

Muted labels #777d87.

wireStyle :: Colour -> Style Source #

Straight wire line style (stroke width in data units).

pathStroke :: Colour -> Double -> Style Source #

Stroke-only path style (cups, caps, braid arcs).

boxStyle :: Colour -> Style Source #

Filled box with coloured border.

labelStyle :: Style Source #

Label inside a box.

eqStyle :: Style Source #

Equals sign between equality sides.