mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-26 03:59:55 +00:00
refactor: move common to theme folder
This commit is contained in:
parent
ac63043c27
commit
05d1dd6b11
6 changed files with 8 additions and 8 deletions
|
@ -4,7 +4,7 @@ import { ColorScheme, Meta } from "./themes/common/colorScheme"
|
|||
|
||||
const THEMES_DIRECTORY = path.resolve(`${__dirname}/themes`)
|
||||
const STAFF_DIRECTORY = path.resolve(`${__dirname}/themes/staff`)
|
||||
const IGNORE_ITEMS = ["staff", "common", "template.ts"]
|
||||
const IGNORE_ITEMS = ["staff", "common", "common.ts"]
|
||||
const ACCEPT_EXTENSION = ".ts"
|
||||
|
||||
function getAllTsFiles(directoryPath: string) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { License, Meta, ThemeSyntax } from "./colorScheme"
|
||||
import { License, Meta, ThemeSyntax } from "../common/colorScheme"
|
||||
|
||||
export interface Variant {
|
||||
meta: Meta
|
|
@ -1,5 +1,5 @@
|
|||
import { createColorScheme } from "../common/ramps"
|
||||
import { ayu, meta as themeMeta, buildTheme } from "../common/ayu-common"
|
||||
import { ayu, meta as themeMeta, buildTheme } from "./common"
|
||||
|
||||
export const meta = {
|
||||
...themeMeta,
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { createColorScheme } from "../common/ramps"
|
||||
import { ayu, meta as themeMeta, buildTheme } from "../common/ayu-common"
|
||||
import { ayu, meta as themeMeta, buildTheme } from "./common"
|
||||
|
||||
export const meta = {
|
||||
...themeMeta,
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { createColorScheme } from "../common/ramps"
|
||||
import { ayu, meta as themeMeta, buildTheme } from "../common/ayu-common"
|
||||
import { ayu, meta as themeMeta, buildTheme } from "./common"
|
||||
|
||||
export const meta = {
|
||||
...themeMeta,
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
import { dark, light, mirage } from "ayu"
|
||||
import { ThemeSyntax } from "./syntax"
|
||||
import { ThemeSyntax } from "../common/syntax"
|
||||
import chroma from "chroma-js"
|
||||
import { colorRamp } from "./ramps"
|
||||
import { Meta } from "./colorScheme"
|
||||
import { colorRamp } from "../common/ramps"
|
||||
import { Meta } from "../common/colorScheme"
|
||||
|
||||
export const ayu = {
|
||||
dark,
|
Loading…
Reference in a new issue