Description Usage Arguments Details Examples
View source: R/keyboard_palette.R
Built-in palettes for keyboards.
1 2 3 | keyboard_palette(
palette = c("pastel", "serika", "wahtsy", "cyberpunk", "magic", "varmilo", "t0mb3ry")
)
|
palette |
Name of palette. |
There are four palettes available:
"pastel" is just cute.
"serika" is based off the Drop + Zambumon MT3 Serika Custom Keycap Set.
"wahtsy" is based off the Melgeek MG Wahtsy ABS Doubleshot Keycap Set.
"cyberpunk" is based off the Domikey ABS Doubleshot SA Cyberpunk Pumper Keycap Set.
"magic" is based off the Apple magic keyboard.
"varmilo" is based off the Varmilo VA108 Fullsize Keyboard.
"t0mb3ry" is based off the Drop + T0mb3ry SA Yuri Custom Keycap Set
The palettes have the following fields:
background: Colour of background.
keyboard: Colour of keyboard.
alphanumeric: Colour of alpha-numeric keys and other common text keys (e.g. <, :, etc).
accent: Colour of accent keys (F1-4, F9-12, and the spacebar).
modifier: Colour of modifier keys (e.g. Shift, Print, Insert, etc).
numpad: Colour of numpad (non-modifier) keys (1-9).
arrow: Colour of arrow-pad keys.
light: Colour of lights on the keyboards.
text: Text colour.
1 2 3 4 5 6 7 | ## Not run:
library(scales)
show_col(keyboard_palette("pastel"))
ggkeyboard(palette = keyboard_palette("cyberpunk"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.