mirror of
https://github.com/zed-industries/zed.git
synced 2024-09-20 19:08:00 +03:00
Add meta fields to ayu
This commit is contained in:
parent
65c2fb1cc6
commit
20ec9f6daf
@ -1,19 +1,16 @@
|
||||
import { createColorScheme } from "./common/ramps"
|
||||
import { ayu, buildTheme } from "./common/ayu-common"
|
||||
import { ayu, meta as themeMeta, buildTheme } from "./common/ayu-common"
|
||||
|
||||
const name = "Ayu"
|
||||
const author = "Konstantin Pschera <me@kons.ch>"
|
||||
const url = "https://github.com/ayu-theme/ayu-colors"
|
||||
const license = {
|
||||
type: "MIT",
|
||||
url: "https://github.com/ayu-theme/ayu-colors/blob/master/license",
|
||||
export const meta = {
|
||||
...themeMeta,
|
||||
name: `${themeMeta.name} Dark`
|
||||
}
|
||||
|
||||
const variant = ayu.dark
|
||||
const theme = buildTheme(variant, false)
|
||||
|
||||
export const dark = createColorScheme(
|
||||
`${name} Dark`,
|
||||
meta.name,
|
||||
false,
|
||||
theme.ramps,
|
||||
theme.syntax
|
||||
|
@ -1,19 +1,16 @@
|
||||
import { createColorScheme } from "./common/ramps"
|
||||
import { ayu, buildTheme } from "./common/ayu-common"
|
||||
import { ayu, meta as themeMeta, buildTheme } from "./common/ayu-common"
|
||||
|
||||
const name = "Ayu"
|
||||
const author = "Konstantin Pschera <me@kons.ch>"
|
||||
const url = "https://github.com/ayu-theme/ayu-colors"
|
||||
const license = {
|
||||
type: "MIT",
|
||||
url: "https://github.com/ayu-theme/ayu-colors/blob/master/license",
|
||||
export const meta = {
|
||||
...themeMeta,
|
||||
name: `${themeMeta.name} Light`
|
||||
}
|
||||
|
||||
const variant = ayu.light
|
||||
const theme = buildTheme(variant, true)
|
||||
|
||||
export const light = createColorScheme(
|
||||
`${name} Light`,
|
||||
meta.name,
|
||||
true,
|
||||
theme.ramps,
|
||||
theme.syntax
|
||||
|
@ -1,19 +1,16 @@
|
||||
import { createColorScheme } from "./common/ramps"
|
||||
import { ayu, buildTheme } from "./common/ayu-common"
|
||||
import { ayu, meta as themeMeta, buildTheme } from "./common/ayu-common"
|
||||
|
||||
const name = "Ayu"
|
||||
const author = "Konstantin Pschera <me@kons.ch>"
|
||||
const url = "https://github.com/ayu-theme/ayu-colors"
|
||||
const license = {
|
||||
type: "MIT",
|
||||
url: "https://github.com/ayu-theme/ayu-colors/blob/master/license",
|
||||
export const meta = {
|
||||
...themeMeta,
|
||||
name: `${themeMeta.name} Mirage`
|
||||
}
|
||||
|
||||
const variant = ayu.mirage
|
||||
const theme = buildTheme(variant, false)
|
||||
|
||||
export const dark = createColorScheme(
|
||||
`${name} Mirage`,
|
||||
meta.name,
|
||||
false,
|
||||
theme.ramps,
|
||||
theme.syntax
|
||||
|
Loading…
Reference in New Issue
Block a user