From f1b5bf051a0966e6d17d5f4c8db8755f568bf5c1 Mon Sep 17 00:00:00 2001 From: Nate Butler Date: Fri, 3 Mar 2023 10:58:43 -0800 Subject: [PATCH] Fornat --- styles/src/styleTree/feedback.ts | 10 ++++++++-- styles/src/themes/common/syntax.ts | 4 +--- styles/src/themes/one-dark.ts | 4 +--- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/styles/src/styleTree/feedback.ts b/styles/src/styleTree/feedback.ts index d794674439..ba688d1e2e 100644 --- a/styles/src/styleTree/feedback.ts +++ b/styles/src/styleTree/feedback.ts @@ -32,7 +32,13 @@ export default function feedback(colorScheme: ColorScheme) { }, button_margin: 8, info_text_default: text(layer, "sans", "default", { size: "xs" }), - link_text_default: text(layer, "sans", "default", { size: "xs", underline: true }), - link_text_hover: text(layer, "sans", "hovered", { size: "xs", underline: true }) + link_text_default: text(layer, "sans", "default", { + size: "xs", + underline: true, + }), + link_text_hover: text(layer, "sans", "hovered", { + size: "xs", + underline: true, + }), } } diff --git a/styles/src/themes/common/syntax.ts b/styles/src/themes/common/syntax.ts index 57710b365f..7295a5432e 100644 --- a/styles/src/themes/common/syntax.ts +++ b/styles/src/themes/common/syntax.ts @@ -1,8 +1,6 @@ import deepmerge from "deepmerge" import { FontWeight, fontWeights } from "../../common" -import { - ColorScheme, -} from "./colorScheme" +import { ColorScheme } from "./colorScheme" export interface SyntaxHighlightStyle { color: string diff --git a/styles/src/themes/one-dark.ts b/styles/src/themes/one-dark.ts index 2b2e87fa12..2803cab572 100644 --- a/styles/src/themes/one-dark.ts +++ b/styles/src/themes/one-dark.ts @@ -41,8 +41,6 @@ const ramps = { magenta: colorRamp(chroma("#be5046")), } - - const syntax: ThemeSyntax = { boolean: { color: color.orange }, comment: { color: color.grey }, @@ -65,7 +63,7 @@ const syntax: ThemeSyntax = { type: { color: color.teal }, "variable.special": { color: color.orange }, variant: { color: color.blue }, - constructor: { color: color.blue } + constructor: { color: color.blue }, } export const dark = createColorScheme(name, false, ramps, syntax)