summaryrefslogtreecommitdiff
path: root/docs/src/components/KeymapUpgrader/styles.module.css
diff options
context:
space:
mode:
authorJoel Spadin <joelspadin@gmail.com>2020-11-07 18:03:20 -0600
committerinnovaker <66737976+innovaker@users.noreply.github.com>2020-12-10 12:23:05 +0000
commit5aa8a07aa9d15639e0315fef12d208040c739b7f (patch)
tree2f2445a37ba82a9d6e8dd82e556b3b1fb72d333b /docs/src/components/KeymapUpgrader/styles.module.css
parent77c16b020e697eb301eeaa955d901e9a3fc6586c (diff)
feat(docs): add keymap upgrader
Added a documentation page with a script that upgrades deprecated key codes and behaviors to their replacements. Fixes #299
Diffstat (limited to 'docs/src/components/KeymapUpgrader/styles.module.css')
-rw-r--r--docs/src/components/KeymapUpgrader/styles.module.css26
1 files changed, 26 insertions, 0 deletions
diff --git a/docs/src/components/KeymapUpgrader/styles.module.css b/docs/src/components/KeymapUpgrader/styles.module.css
new file mode 100644
index 0000000..31e06b9
--- /dev/null
+++ b/docs/src/components/KeymapUpgrader/styles.module.css
@@ -0,0 +1,26 @@
+/*
+ * Copyright (c) 2020 The ZMK Contributors
+ *
+ * SPDX-License-Identifier: CC-BY-NC-SA-4.0
+ */
+
+.editor {
+ font-family: var(--ifm-font-family-monospace);
+ font-size: var(--ifm-font-size-base);
+ line-height: var(--ifm-pre-line-height);
+ tab-size: 4;
+
+ color: var(--ifm-pre-color);
+ background-color: var(--ifm-pre-background);
+
+ border: none;
+ border-radius: var(--ifm-pre-border-radius);
+
+ width: 100%;
+ min-height: 10em;
+ padding: var(--ifm-pre-padding);
+}
+
+.result {
+ tab-size: 4;
+}