feat: update themes to use ThemeConfig
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
import chroma from "chroma-js"
|
import chroma from "chroma-js"
|
||||||
import { Meta } from "../common/colorScheme"
|
import { Meta, colorRamp, createColorScheme, ThemeAppearance } from "../common"
|
||||||
import { colorRamp, createColorScheme } from "../common/ramps"
|
|
||||||
|
|
||||||
const name = "Andromeda"
|
const name = "Andromeda"
|
||||||
|
|
||||||
@@ -27,8 +26,6 @@ const ramps = {
|
|||||||
magenta: colorRamp(chroma("#C74DED")),
|
magenta: colorRamp(chroma("#C74DED")),
|
||||||
}
|
}
|
||||||
|
|
||||||
export const dark = createColorScheme(name, false, ramps)
|
|
||||||
|
|
||||||
export const meta: Meta = {
|
export const meta: Meta = {
|
||||||
name,
|
name,
|
||||||
author: "EliverLara",
|
author: "EliverLara",
|
||||||
@@ -37,3 +34,11 @@ export const meta: Meta = {
|
|||||||
},
|
},
|
||||||
url: "https://github.com/EliverLara/Andromeda",
|
url: "https://github.com/EliverLara/Andromeda",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export const dark = createColorScheme({
|
||||||
|
name: meta.name,
|
||||||
|
author: meta.author,
|
||||||
|
appearance: ThemeAppearance.Dark,
|
||||||
|
inputColor: ramps,
|
||||||
|
override: { syntax: {} },
|
||||||
|
})
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
import chroma from "chroma-js"
|
import chroma from "chroma-js"
|
||||||
import { Meta } from "../common/colorScheme"
|
import { Meta, colorRamp, createColorScheme, ThemeAppearance } from "../common"
|
||||||
import { colorRamp, createColorScheme } from "../common/ramps"
|
|
||||||
import { metaCommon, name, buildSyntax, Variant } from "./common"
|
import { metaCommon, name, buildSyntax, Variant } from "./common"
|
||||||
|
|
||||||
const variant: Variant = {
|
const variant: Variant = {
|
||||||
@@ -34,10 +33,11 @@ const syntax = buildSyntax(variant)
|
|||||||
const theme = (variant: Variant) => {
|
const theme = (variant: Variant) => {
|
||||||
const { meta, colors } = variant
|
const { meta, colors } = variant
|
||||||
|
|
||||||
return createColorScheme(
|
return createColorScheme({
|
||||||
meta.name,
|
name: meta.name,
|
||||||
false,
|
author: meta.author,
|
||||||
{
|
appearance: ThemeAppearance.Dark,
|
||||||
|
inputColor: {
|
||||||
neutral: chroma.scale([
|
neutral: chroma.scale([
|
||||||
colors.base00,
|
colors.base00,
|
||||||
colors.base01,
|
colors.base01,
|
||||||
@@ -57,8 +57,8 @@ const theme = (variant: Variant) => {
|
|||||||
violet: colorRamp(chroma(colors.base0E)),
|
violet: colorRamp(chroma(colors.base0E)),
|
||||||
magenta: colorRamp(chroma(colors.base0F)),
|
magenta: colorRamp(chroma(colors.base0F)),
|
||||||
},
|
},
|
||||||
syntax
|
override: { syntax },
|
||||||
)
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
export const dark = theme(variant)
|
export const dark = theme(variant)
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
import chroma from "chroma-js"
|
import chroma from "chroma-js"
|
||||||
import { Meta } from "../common/colorScheme"
|
import { Meta, colorRamp, createColorScheme, ThemeAppearance } from "../common"
|
||||||
import { colorRamp, createColorScheme } from "../common/ramps"
|
|
||||||
import { metaCommon, name, buildSyntax, Variant } from "./common"
|
import { metaCommon, name, buildSyntax, Variant } from "./common"
|
||||||
|
|
||||||
const variant: Variant = {
|
const variant: Variant = {
|
||||||
@@ -34,10 +33,11 @@ const syntax = buildSyntax(variant)
|
|||||||
const theme = (variant: Variant) => {
|
const theme = (variant: Variant) => {
|
||||||
const { meta, colors } = variant
|
const { meta, colors } = variant
|
||||||
|
|
||||||
return createColorScheme(
|
return createColorScheme({
|
||||||
meta.name,
|
name: meta.name,
|
||||||
true,
|
author: meta.author,
|
||||||
{
|
appearance: ThemeAppearance.Light,
|
||||||
|
inputColor: {
|
||||||
neutral: chroma.scale(
|
neutral: chroma.scale(
|
||||||
[
|
[
|
||||||
colors.base00,
|
colors.base00,
|
||||||
@@ -59,8 +59,8 @@ const theme = (variant: Variant) => {
|
|||||||
violet: colorRamp(chroma(colors.base0E)),
|
violet: colorRamp(chroma(colors.base0E)),
|
||||||
magenta: colorRamp(chroma(colors.base0F)),
|
magenta: colorRamp(chroma(colors.base0F)),
|
||||||
},
|
},
|
||||||
syntax
|
override: { syntax },
|
||||||
)
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
export const dark = theme(variant)
|
export const dark = theme(variant)
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
import chroma from "chroma-js"
|
import chroma from "chroma-js"
|
||||||
import { Meta } from "../common/colorScheme"
|
import { Meta, colorRamp, createColorScheme, ThemeAppearance } from "../common"
|
||||||
import { colorRamp, createColorScheme } from "../common/ramps"
|
|
||||||
import { metaCommon, name, buildSyntax, Variant } from "./common"
|
import { metaCommon, name, buildSyntax, Variant } from "./common"
|
||||||
|
|
||||||
const variant: Variant = {
|
const variant: Variant = {
|
||||||
@@ -34,10 +33,11 @@ const syntax = buildSyntax(variant)
|
|||||||
const theme = (variant: Variant) => {
|
const theme = (variant: Variant) => {
|
||||||
const { meta, colors } = variant
|
const { meta, colors } = variant
|
||||||
|
|
||||||
return createColorScheme(
|
return createColorScheme({
|
||||||
meta.name,
|
name: meta.name,
|
||||||
false,
|
author: meta.author,
|
||||||
{
|
appearance: ThemeAppearance.Dark,
|
||||||
|
inputColor: {
|
||||||
neutral: chroma.scale([
|
neutral: chroma.scale([
|
||||||
colors.base00,
|
colors.base00,
|
||||||
colors.base01,
|
colors.base01,
|
||||||
@@ -57,8 +57,8 @@ const theme = (variant: Variant) => {
|
|||||||
violet: colorRamp(chroma(colors.base0E)),
|
violet: colorRamp(chroma(colors.base0E)),
|
||||||
magenta: colorRamp(chroma(colors.base0F)),
|
magenta: colorRamp(chroma(colors.base0F)),
|
||||||
},
|
},
|
||||||
syntax
|
override: { syntax },
|
||||||
)
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
export const dark = theme(variant)
|
export const dark = theme(variant)
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
import chroma from "chroma-js"
|
import chroma from "chroma-js"
|
||||||
import { Meta } from "../common/colorScheme"
|
import { Meta, colorRamp, createColorScheme, ThemeAppearance } from "../common"
|
||||||
import { colorRamp, createColorScheme } from "../common/ramps"
|
|
||||||
import { metaCommon, name, buildSyntax, Variant } from "./common"
|
import { metaCommon, name, buildSyntax, Variant } from "./common"
|
||||||
|
|
||||||
const variant: Variant = {
|
const variant: Variant = {
|
||||||
@@ -34,10 +33,11 @@ const syntax = buildSyntax(variant)
|
|||||||
const theme = (variant: Variant) => {
|
const theme = (variant: Variant) => {
|
||||||
const { meta, colors } = variant
|
const { meta, colors } = variant
|
||||||
|
|
||||||
return createColorScheme(
|
return createColorScheme({
|
||||||
meta.name,
|
name: meta.name,
|
||||||
true,
|
author: meta.author,
|
||||||
{
|
appearance: ThemeAppearance.Light,
|
||||||
|
inputColor: {
|
||||||
neutral: chroma.scale(
|
neutral: chroma.scale(
|
||||||
[
|
[
|
||||||
colors.base00,
|
colors.base00,
|
||||||
@@ -59,8 +59,8 @@ const theme = (variant: Variant) => {
|
|||||||
violet: colorRamp(chroma(colors.base0E)),
|
violet: colorRamp(chroma(colors.base0E)),
|
||||||
magenta: colorRamp(chroma(colors.base0F)),
|
magenta: colorRamp(chroma(colors.base0F)),
|
||||||
},
|
},
|
||||||
syntax
|
override: { syntax },
|
||||||
)
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
export const dark = theme(variant)
|
export const dark = theme(variant)
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
import chroma from "chroma-js"
|
import chroma from "chroma-js"
|
||||||
import { Meta } from "../common/colorScheme"
|
import { Meta, colorRamp, createColorScheme, ThemeAppearance } from "../common"
|
||||||
import { colorRamp, createColorScheme } from "../common/ramps"
|
|
||||||
import { metaCommon, name, buildSyntax, Variant } from "./common"
|
import { metaCommon, name, buildSyntax, Variant } from "./common"
|
||||||
|
|
||||||
const variant: Variant = {
|
const variant: Variant = {
|
||||||
@@ -34,10 +33,11 @@ const syntax = buildSyntax(variant)
|
|||||||
const theme = (variant: Variant) => {
|
const theme = (variant: Variant) => {
|
||||||
const { meta, colors } = variant
|
const { meta, colors } = variant
|
||||||
|
|
||||||
return createColorScheme(
|
return createColorScheme({
|
||||||
meta.name,
|
name: meta.name,
|
||||||
false,
|
author: meta.author,
|
||||||
{
|
appearance: ThemeAppearance.Dark,
|
||||||
|
inputColor: {
|
||||||
neutral: chroma.scale([
|
neutral: chroma.scale([
|
||||||
colors.base00,
|
colors.base00,
|
||||||
colors.base01,
|
colors.base01,
|
||||||
@@ -57,8 +57,8 @@ const theme = (variant: Variant) => {
|
|||||||
violet: colorRamp(chroma(colors.base0E)),
|
violet: colorRamp(chroma(colors.base0E)),
|
||||||
magenta: colorRamp(chroma(colors.base0F)),
|
magenta: colorRamp(chroma(colors.base0F)),
|
||||||
},
|
},
|
||||||
syntax
|
override: { syntax },
|
||||||
)
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
export const dark = theme(variant)
|
export const dark = theme(variant)
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
import chroma from "chroma-js"
|
import chroma from "chroma-js"
|
||||||
import { Meta } from "../common/colorScheme"
|
import { Meta, colorRamp, createColorScheme, ThemeAppearance } from "../common"
|
||||||
import { colorRamp, createColorScheme } from "../common/ramps"
|
|
||||||
import { metaCommon, name, buildSyntax, Variant } from "./common"
|
import { metaCommon, name, buildSyntax, Variant } from "./common"
|
||||||
|
|
||||||
const variant: Variant = {
|
const variant: Variant = {
|
||||||
@@ -34,10 +33,11 @@ const syntax = buildSyntax(variant)
|
|||||||
const theme = (variant: Variant) => {
|
const theme = (variant: Variant) => {
|
||||||
const { meta, colors } = variant
|
const { meta, colors } = variant
|
||||||
|
|
||||||
return createColorScheme(
|
return createColorScheme({
|
||||||
meta.name,
|
name: meta.name,
|
||||||
true,
|
author: meta.author,
|
||||||
{
|
appearance: ThemeAppearance.Light,
|
||||||
|
inputColor:{
|
||||||
neutral: chroma.scale(
|
neutral: chroma.scale(
|
||||||
[
|
[
|
||||||
colors.base00,
|
colors.base00,
|
||||||
@@ -59,7 +59,7 @@ const theme = (variant: Variant) => {
|
|||||||
violet: colorRamp(chroma(colors.base0E)),
|
violet: colorRamp(chroma(colors.base0E)),
|
||||||
magenta: colorRamp(chroma(colors.base0F)),
|
magenta: colorRamp(chroma(colors.base0F)),
|
||||||
},
|
},
|
||||||
syntax
|
override: { syntax },}
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
import chroma from "chroma-js"
|
import chroma from "chroma-js"
|
||||||
import { Meta } from "../common/colorScheme"
|
import { Meta, colorRamp, createColorScheme, ThemeAppearance } from "../common"
|
||||||
import { colorRamp, createColorScheme } from "../common/ramps"
|
|
||||||
import { metaCommon, name, buildSyntax, Variant } from "./common"
|
import { metaCommon, name, buildSyntax, Variant } from "./common"
|
||||||
|
|
||||||
const variant: Variant = {
|
const variant: Variant = {
|
||||||
@@ -34,10 +33,11 @@ const syntax = buildSyntax(variant)
|
|||||||
const theme = (variant: Variant) => {
|
const theme = (variant: Variant) => {
|
||||||
const { meta, colors } = variant
|
const { meta, colors } = variant
|
||||||
|
|
||||||
return createColorScheme(
|
return createColorScheme({
|
||||||
meta.name,
|
name: meta.name,
|
||||||
false,
|
author: meta.author,
|
||||||
{
|
appearance: ThemeAppearance.Dark,
|
||||||
|
inputColor: {
|
||||||
neutral: chroma.scale([
|
neutral: chroma.scale([
|
||||||
colors.base00,
|
colors.base00,
|
||||||
colors.base01,
|
colors.base01,
|
||||||
@@ -57,8 +57,8 @@ const theme = (variant: Variant) => {
|
|||||||
violet: colorRamp(chroma(colors.base0E)),
|
violet: colorRamp(chroma(colors.base0E)),
|
||||||
magenta: colorRamp(chroma(colors.base0F)),
|
magenta: colorRamp(chroma(colors.base0F)),
|
||||||
},
|
},
|
||||||
syntax
|
override: { syntax },
|
||||||
)
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
export const dark = theme(variant)
|
export const dark = theme(variant)
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
import chroma from "chroma-js"
|
import chroma from "chroma-js"
|
||||||
import { Meta } from "../common/colorScheme"
|
import { Meta, colorRamp, createColorScheme, ThemeAppearance } from "../common"
|
||||||
import { colorRamp, createColorScheme } from "../common/ramps"
|
|
||||||
import { metaCommon, name, buildSyntax, Variant } from "./common"
|
import { metaCommon, name, buildSyntax, Variant } from "./common"
|
||||||
|
|
||||||
const variant: Variant = {
|
const variant: Variant = {
|
||||||
@@ -34,10 +33,11 @@ const syntax = buildSyntax(variant)
|
|||||||
const theme = (variant: Variant) => {
|
const theme = (variant: Variant) => {
|
||||||
const { meta, colors } = variant
|
const { meta, colors } = variant
|
||||||
|
|
||||||
return createColorScheme(
|
return createColorScheme({
|
||||||
meta.name,
|
name: meta.name,
|
||||||
true,
|
author: meta.author,
|
||||||
{
|
appearance: ThemeAppearance.Dark,
|
||||||
|
inputColor: {
|
||||||
neutral: chroma.scale(
|
neutral: chroma.scale(
|
||||||
[
|
[
|
||||||
colors.base00,
|
colors.base00,
|
||||||
@@ -59,8 +59,8 @@ const theme = (variant: Variant) => {
|
|||||||
violet: colorRamp(chroma(colors.base0E)),
|
violet: colorRamp(chroma(colors.base0E)),
|
||||||
magenta: colorRamp(chroma(colors.base0F)),
|
magenta: colorRamp(chroma(colors.base0F)),
|
||||||
},
|
},
|
||||||
syntax
|
override: { syntax },
|
||||||
)
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
export const dark = theme(variant)
|
export const dark = theme(variant)
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
import chroma from "chroma-js"
|
import chroma from "chroma-js"
|
||||||
import { Meta } from "../common/colorScheme"
|
import { Meta, colorRamp, createColorScheme, ThemeAppearance } from "../common"
|
||||||
import { colorRamp, createColorScheme } from "../common/ramps"
|
|
||||||
import { metaCommon, name, buildSyntax, Variant } from "./common"
|
import { metaCommon, name, buildSyntax, Variant } from "./common"
|
||||||
|
|
||||||
const variant: Variant = {
|
const variant: Variant = {
|
||||||
@@ -34,10 +33,11 @@ const syntax = buildSyntax(variant)
|
|||||||
const theme = (variant: Variant) => {
|
const theme = (variant: Variant) => {
|
||||||
const { meta, colors } = variant
|
const { meta, colors } = variant
|
||||||
|
|
||||||
return createColorScheme(
|
return createColorScheme({
|
||||||
meta.name,
|
name: meta.name,
|
||||||
false,
|
author: meta.author,
|
||||||
{
|
appearance: ThemeAppearance.Dark,
|
||||||
|
inputColor: {
|
||||||
neutral: chroma.scale([
|
neutral: chroma.scale([
|
||||||
colors.base00,
|
colors.base00,
|
||||||
colors.base01,
|
colors.base01,
|
||||||
@@ -57,8 +57,8 @@ const theme = (variant: Variant) => {
|
|||||||
violet: colorRamp(chroma(colors.base0E)),
|
violet: colorRamp(chroma(colors.base0E)),
|
||||||
magenta: colorRamp(chroma(colors.base0F)),
|
magenta: colorRamp(chroma(colors.base0F)),
|
||||||
},
|
},
|
||||||
syntax
|
override: { syntax },
|
||||||
)
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
export const dark = theme(variant)
|
export const dark = theme(variant)
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
import chroma from "chroma-js"
|
import chroma from "chroma-js"
|
||||||
import { Meta } from "../common/colorScheme"
|
import { Meta, colorRamp, createColorScheme, ThemeAppearance } from "../common"
|
||||||
import { colorRamp, createColorScheme } from "../common/ramps"
|
|
||||||
import { metaCommon, name, buildSyntax, Variant } from "./common"
|
import { metaCommon, name, buildSyntax, Variant } from "./common"
|
||||||
|
|
||||||
const variant: Variant = {
|
const variant: Variant = {
|
||||||
@@ -34,10 +33,11 @@ const syntax = buildSyntax(variant)
|
|||||||
const theme = (variant: Variant) => {
|
const theme = (variant: Variant) => {
|
||||||
const { meta, colors } = variant
|
const { meta, colors } = variant
|
||||||
|
|
||||||
return createColorScheme(
|
return createColorScheme({
|
||||||
meta.name,
|
name: meta.name,
|
||||||
true,
|
author: meta.author,
|
||||||
{
|
appearance: ThemeAppearance.Light,
|
||||||
|
inputColor: {
|
||||||
neutral: chroma.scale(
|
neutral: chroma.scale(
|
||||||
[
|
[
|
||||||
colors.base00,
|
colors.base00,
|
||||||
@@ -59,8 +59,8 @@ const theme = (variant: Variant) => {
|
|||||||
violet: colorRamp(chroma(colors.base0E)),
|
violet: colorRamp(chroma(colors.base0E)),
|
||||||
magenta: colorRamp(chroma(colors.base0F)),
|
magenta: colorRamp(chroma(colors.base0F)),
|
||||||
},
|
},
|
||||||
syntax
|
override: { syntax },
|
||||||
)
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
export const dark = theme(variant)
|
export const dark = theme(variant)
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
import chroma from "chroma-js"
|
import chroma from "chroma-js"
|
||||||
import { Meta } from "../common/colorScheme"
|
import { Meta, colorRamp, createColorScheme, ThemeAppearance } from "../common"
|
||||||
import { colorRamp, createColorScheme } from "../common/ramps"
|
|
||||||
import { metaCommon, name, buildSyntax, Variant } from "./common"
|
import { metaCommon, name, buildSyntax, Variant } from "./common"
|
||||||
|
|
||||||
const variant: Variant = {
|
const variant: Variant = {
|
||||||
@@ -34,10 +33,11 @@ const syntax = buildSyntax(variant)
|
|||||||
const theme = (variant: Variant) => {
|
const theme = (variant: Variant) => {
|
||||||
const { meta, colors } = variant
|
const { meta, colors } = variant
|
||||||
|
|
||||||
return createColorScheme(
|
return createColorScheme({
|
||||||
meta.name,
|
name: meta.name,
|
||||||
false,
|
author: meta.author,
|
||||||
{
|
appearance: ThemeAppearance.Dark,
|
||||||
|
inputColor: {
|
||||||
neutral: chroma.scale([
|
neutral: chroma.scale([
|
||||||
colors.base00,
|
colors.base00,
|
||||||
colors.base01,
|
colors.base01,
|
||||||
@@ -57,8 +57,8 @@ const theme = (variant: Variant) => {
|
|||||||
violet: colorRamp(chroma(colors.base0E)),
|
violet: colorRamp(chroma(colors.base0E)),
|
||||||
magenta: colorRamp(chroma(colors.base0F)),
|
magenta: colorRamp(chroma(colors.base0F)),
|
||||||
},
|
},
|
||||||
syntax
|
override: { syntax },
|
||||||
)
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
export const dark = theme(variant)
|
export const dark = theme(variant)
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
import chroma from "chroma-js"
|
import chroma from "chroma-js"
|
||||||
import { Meta } from "../common/colorScheme"
|
import { Meta, colorRamp, createColorScheme, ThemeAppearance } from "../common"
|
||||||
import { colorRamp, createColorScheme } from "../common/ramps"
|
|
||||||
import { metaCommon, name, buildSyntax, Variant } from "./common"
|
import { metaCommon, name, buildSyntax, Variant } from "./common"
|
||||||
|
|
||||||
const variant: Variant = {
|
const variant: Variant = {
|
||||||
@@ -34,10 +33,11 @@ const syntax = buildSyntax(variant)
|
|||||||
const theme = (variant: Variant) => {
|
const theme = (variant: Variant) => {
|
||||||
const { meta, colors } = variant
|
const { meta, colors } = variant
|
||||||
|
|
||||||
return createColorScheme(
|
return createColorScheme({
|
||||||
meta.name,
|
name: meta.name,
|
||||||
true,
|
author: meta.author,
|
||||||
{
|
appearance: ThemeAppearance.Light,
|
||||||
|
inputColor: {
|
||||||
neutral: chroma.scale(
|
neutral: chroma.scale(
|
||||||
[
|
[
|
||||||
colors.base00,
|
colors.base00,
|
||||||
@@ -59,8 +59,8 @@ const theme = (variant: Variant) => {
|
|||||||
violet: colorRamp(chroma(colors.base0E)),
|
violet: colorRamp(chroma(colors.base0E)),
|
||||||
magenta: colorRamp(chroma(colors.base0F)),
|
magenta: colorRamp(chroma(colors.base0F)),
|
||||||
},
|
},
|
||||||
syntax
|
override: { syntax },
|
||||||
)
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
export const dark = theme(variant)
|
export const dark = theme(variant)
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
import chroma from "chroma-js"
|
import chroma from "chroma-js"
|
||||||
import { Meta } from "../common/colorScheme"
|
import { Meta, colorRamp, createColorScheme, ThemeAppearance } from "../common"
|
||||||
import { colorRamp, createColorScheme } from "../common/ramps"
|
|
||||||
import { metaCommon, name, buildSyntax, Variant } from "./common"
|
import { metaCommon, name, buildSyntax, Variant } from "./common"
|
||||||
|
|
||||||
const variant: Variant = {
|
const variant: Variant = {
|
||||||
@@ -34,10 +33,11 @@ const syntax = buildSyntax(variant)
|
|||||||
const theme = (variant: Variant) => {
|
const theme = (variant: Variant) => {
|
||||||
const { meta, colors } = variant
|
const { meta, colors } = variant
|
||||||
|
|
||||||
return createColorScheme(
|
return createColorScheme({
|
||||||
meta.name,
|
name: meta.name,
|
||||||
false,
|
author: meta.author,
|
||||||
{
|
appearance: ThemeAppearance.Dark,
|
||||||
|
inputColor: {
|
||||||
neutral: chroma.scale([
|
neutral: chroma.scale([
|
||||||
colors.base00,
|
colors.base00,
|
||||||
colors.base01,
|
colors.base01,
|
||||||
@@ -57,8 +57,8 @@ const theme = (variant: Variant) => {
|
|||||||
violet: colorRamp(chroma(colors.base0E)),
|
violet: colorRamp(chroma(colors.base0E)),
|
||||||
magenta: colorRamp(chroma(colors.base0F)),
|
magenta: colorRamp(chroma(colors.base0F)),
|
||||||
},
|
},
|
||||||
syntax
|
override: { syntax },
|
||||||
)
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
export const dark = theme(variant)
|
export const dark = theme(variant)
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
import chroma from "chroma-js"
|
import chroma from "chroma-js"
|
||||||
import { Meta } from "../common/colorScheme"
|
import { Meta, colorRamp, createColorScheme, ThemeAppearance } from "../common"
|
||||||
import { colorRamp, createColorScheme } from "../common/ramps"
|
|
||||||
import { metaCommon, name, buildSyntax, Variant } from "./common"
|
import { metaCommon, name, buildSyntax, Variant } from "./common"
|
||||||
|
|
||||||
const variant: Variant = {
|
const variant: Variant = {
|
||||||
@@ -34,10 +33,11 @@ const syntax = buildSyntax(variant)
|
|||||||
const theme = (variant: Variant) => {
|
const theme = (variant: Variant) => {
|
||||||
const { meta, colors } = variant
|
const { meta, colors } = variant
|
||||||
|
|
||||||
return createColorScheme(
|
return createColorScheme({
|
||||||
meta.name,
|
name: meta.name,
|
||||||
true,
|
author: meta.author,
|
||||||
{
|
appearance: ThemeAppearance.Light,
|
||||||
|
inputColor:{
|
||||||
neutral: chroma.scale(
|
neutral: chroma.scale(
|
||||||
[
|
[
|
||||||
colors.base00,
|
colors.base00,
|
||||||
@@ -59,7 +59,7 @@ const theme = (variant: Variant) => {
|
|||||||
violet: colorRamp(chroma(colors.base0E)),
|
violet: colorRamp(chroma(colors.base0E)),
|
||||||
magenta: colorRamp(chroma(colors.base0F)),
|
magenta: colorRamp(chroma(colors.base0F)),
|
||||||
},
|
},
|
||||||
syntax
|
override: { syntax },}
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
import chroma from "chroma-js"
|
import chroma from "chroma-js"
|
||||||
import { Meta } from "../common/colorScheme"
|
import { Meta, colorRamp, createColorScheme, ThemeAppearance } from "../common"
|
||||||
import { colorRamp, createColorScheme } from "../common/ramps"
|
|
||||||
import { metaCommon, name, buildSyntax, Variant } from "./common"
|
import { metaCommon, name, buildSyntax, Variant } from "./common"
|
||||||
|
|
||||||
const variant: Variant = {
|
const variant: Variant = {
|
||||||
@@ -34,10 +33,11 @@ const syntax = buildSyntax(variant)
|
|||||||
const theme = (variant: Variant) => {
|
const theme = (variant: Variant) => {
|
||||||
const { meta, colors } = variant
|
const { meta, colors } = variant
|
||||||
|
|
||||||
return createColorScheme(
|
return createColorScheme({
|
||||||
meta.name,
|
name: meta.name,
|
||||||
false,
|
author: meta.author,
|
||||||
{
|
appearance: ThemeAppearance.Dark,
|
||||||
|
inputColor: {
|
||||||
neutral: chroma.scale([
|
neutral: chroma.scale([
|
||||||
colors.base00,
|
colors.base00,
|
||||||
colors.base01,
|
colors.base01,
|
||||||
@@ -57,8 +57,8 @@ const theme = (variant: Variant) => {
|
|||||||
violet: colorRamp(chroma(colors.base0E)),
|
violet: colorRamp(chroma(colors.base0E)),
|
||||||
magenta: colorRamp(chroma(colors.base0F)),
|
magenta: colorRamp(chroma(colors.base0F)),
|
||||||
},
|
},
|
||||||
syntax
|
override: { syntax },
|
||||||
)
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
export const dark = theme(variant)
|
export const dark = theme(variant)
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
import chroma from "chroma-js"
|
import chroma from "chroma-js"
|
||||||
import { Meta } from "../common/colorScheme"
|
import { Meta, colorRamp, createColorScheme, ThemeAppearance } from "../common"
|
||||||
import { colorRamp, createColorScheme } from "../common/ramps"
|
|
||||||
import { metaCommon, name, buildSyntax, Variant } from "./common"
|
import { metaCommon, name, buildSyntax, Variant } from "./common"
|
||||||
|
|
||||||
const variant: Variant = {
|
const variant: Variant = {
|
||||||
@@ -34,10 +33,11 @@ const syntax = buildSyntax(variant)
|
|||||||
const theme = (variant: Variant) => {
|
const theme = (variant: Variant) => {
|
||||||
const { meta, colors } = variant
|
const { meta, colors } = variant
|
||||||
|
|
||||||
return createColorScheme(
|
return createColorScheme({
|
||||||
meta.name,
|
name: meta.name,
|
||||||
true,
|
author: meta.author,
|
||||||
{
|
appearance: ThemeAppearance.Light,
|
||||||
|
inputColor: {
|
||||||
neutral: chroma.scale(
|
neutral: chroma.scale(
|
||||||
[
|
[
|
||||||
colors.base00,
|
colors.base00,
|
||||||
@@ -59,8 +59,8 @@ const theme = (variant: Variant) => {
|
|||||||
violet: colorRamp(chroma(colors.base0E)),
|
violet: colorRamp(chroma(colors.base0E)),
|
||||||
magenta: colorRamp(chroma(colors.base0F)),
|
magenta: colorRamp(chroma(colors.base0F)),
|
||||||
},
|
},
|
||||||
syntax
|
override: { syntax },
|
||||||
)
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
export const dark = theme(variant)
|
export const dark = theme(variant)
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
import chroma from "chroma-js"
|
import chroma from "chroma-js"
|
||||||
import { Meta } from "../common/colorScheme"
|
import { Meta, colorRamp, createColorScheme, ThemeAppearance } from "../common"
|
||||||
import { colorRamp, createColorScheme } from "../common/ramps"
|
|
||||||
import { metaCommon, name, buildSyntax, Variant } from "./common"
|
import { metaCommon, name, buildSyntax, Variant } from "./common"
|
||||||
|
|
||||||
const variant: Variant = {
|
const variant: Variant = {
|
||||||
@@ -34,10 +33,11 @@ const syntax = buildSyntax(variant)
|
|||||||
const theme = (variant: Variant) => {
|
const theme = (variant: Variant) => {
|
||||||
const { meta, colors } = variant
|
const { meta, colors } = variant
|
||||||
|
|
||||||
return createColorScheme(
|
return createColorScheme({
|
||||||
meta.name,
|
name: meta.name,
|
||||||
false,
|
author: meta.author,
|
||||||
{
|
appearance: ThemeAppearance.Dark,
|
||||||
|
inputColor: {
|
||||||
neutral: chroma.scale([
|
neutral: chroma.scale([
|
||||||
colors.base00,
|
colors.base00,
|
||||||
colors.base01,
|
colors.base01,
|
||||||
@@ -57,8 +57,8 @@ const theme = (variant: Variant) => {
|
|||||||
violet: colorRamp(chroma(colors.base0E)),
|
violet: colorRamp(chroma(colors.base0E)),
|
||||||
magenta: colorRamp(chroma(colors.base0F)),
|
magenta: colorRamp(chroma(colors.base0F)),
|
||||||
},
|
},
|
||||||
syntax
|
override: { syntax },
|
||||||
)
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
export const dark = theme(variant)
|
export const dark = theme(variant)
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
import chroma from "chroma-js"
|
import chroma from "chroma-js"
|
||||||
import { Meta } from "../common/colorScheme"
|
import { Meta, colorRamp, createColorScheme, ThemeAppearance } from "../common"
|
||||||
import { colorRamp, createColorScheme } from "../common/ramps"
|
|
||||||
import { metaCommon, name, buildSyntax, Variant } from "./common"
|
import { metaCommon, name, buildSyntax, Variant } from "./common"
|
||||||
|
|
||||||
const variant: Variant = {
|
const variant: Variant = {
|
||||||
@@ -34,10 +33,11 @@ const syntax = buildSyntax(variant)
|
|||||||
const theme = (variant: Variant) => {
|
const theme = (variant: Variant) => {
|
||||||
const { meta, colors } = variant
|
const { meta, colors } = variant
|
||||||
|
|
||||||
return createColorScheme(
|
return createColorScheme({
|
||||||
meta.name,
|
name: meta.name,
|
||||||
true,
|
author: meta.author,
|
||||||
{
|
appearance: ThemeAppearance.Light,
|
||||||
|
inputColor: {
|
||||||
neutral: chroma.scale(
|
neutral: chroma.scale(
|
||||||
[
|
[
|
||||||
colors.base00,
|
colors.base00,
|
||||||
@@ -59,8 +59,8 @@ const theme = (variant: Variant) => {
|
|||||||
violet: colorRamp(chroma(colors.base0E)),
|
violet: colorRamp(chroma(colors.base0E)),
|
||||||
magenta: colorRamp(chroma(colors.base0F)),
|
magenta: colorRamp(chroma(colors.base0F)),
|
||||||
},
|
},
|
||||||
syntax
|
override: { syntax },
|
||||||
)
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
export const dark = theme(variant)
|
export const dark = theme(variant)
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
import chroma from "chroma-js"
|
import chroma from "chroma-js"
|
||||||
import { Meta } from "../common/colorScheme"
|
import { Meta, colorRamp, createColorScheme, ThemeAppearance } from "../common"
|
||||||
import { colorRamp, createColorScheme } from "../common/ramps"
|
|
||||||
import { metaCommon, name, buildSyntax, Variant } from "./common"
|
import { metaCommon, name, buildSyntax, Variant } from "./common"
|
||||||
|
|
||||||
const variant: Variant = {
|
const variant: Variant = {
|
||||||
@@ -34,10 +33,11 @@ const syntax = buildSyntax(variant)
|
|||||||
const theme = (variant: Variant) => {
|
const theme = (variant: Variant) => {
|
||||||
const { meta, colors } = variant
|
const { meta, colors } = variant
|
||||||
|
|
||||||
return createColorScheme(
|
return createColorScheme({
|
||||||
meta.name,
|
name: meta.name,
|
||||||
false,
|
author: meta.author,
|
||||||
{
|
appearance: ThemeAppearance.Dark,
|
||||||
|
inputColor: {
|
||||||
neutral: chroma.scale([
|
neutral: chroma.scale([
|
||||||
colors.base00,
|
colors.base00,
|
||||||
colors.base01,
|
colors.base01,
|
||||||
@@ -57,8 +57,8 @@ const theme = (variant: Variant) => {
|
|||||||
violet: colorRamp(chroma(colors.base0E)),
|
violet: colorRamp(chroma(colors.base0E)),
|
||||||
magenta: colorRamp(chroma(colors.base0F)),
|
magenta: colorRamp(chroma(colors.base0F)),
|
||||||
},
|
},
|
||||||
syntax
|
override: { syntax },
|
||||||
)
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
export const dark = theme(variant)
|
export const dark = theme(variant)
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
import chroma from "chroma-js"
|
import chroma from "chroma-js"
|
||||||
import { Meta } from "../common/colorScheme"
|
import { Meta, colorRamp, createColorScheme, ThemeAppearance } from "../common"
|
||||||
import { colorRamp, createColorScheme } from "../common/ramps"
|
|
||||||
import { metaCommon, name, buildSyntax, Variant } from "./common"
|
import { metaCommon, name, buildSyntax, Variant } from "./common"
|
||||||
|
|
||||||
const variant: Variant = {
|
const variant: Variant = {
|
||||||
@@ -34,10 +33,11 @@ const syntax = buildSyntax(variant)
|
|||||||
const theme = (variant: Variant) => {
|
const theme = (variant: Variant) => {
|
||||||
const { meta, colors } = variant
|
const { meta, colors } = variant
|
||||||
|
|
||||||
return createColorScheme(
|
return createColorScheme({
|
||||||
meta.name,
|
name: meta.name,
|
||||||
true,
|
author: meta.author,
|
||||||
{
|
appearance: ThemeAppearance.Light,
|
||||||
|
inputColor: {
|
||||||
neutral: chroma.scale(
|
neutral: chroma.scale(
|
||||||
[
|
[
|
||||||
colors.base00,
|
colors.base00,
|
||||||
@@ -59,8 +59,8 @@ const theme = (variant: Variant) => {
|
|||||||
violet: colorRamp(chroma(colors.base0E)),
|
violet: colorRamp(chroma(colors.base0E)),
|
||||||
magenta: colorRamp(chroma(colors.base0F)),
|
magenta: colorRamp(chroma(colors.base0F)),
|
||||||
},
|
},
|
||||||
syntax
|
override: { syntax },
|
||||||
)
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
export const dark = theme(variant)
|
export const dark = theme(variant)
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { License, Meta, ThemeSyntax } from "../common/colorScheme"
|
import { License, Meta, ThemeSyntax } from "../common"
|
||||||
|
|
||||||
export interface Variant {
|
export interface Variant {
|
||||||
meta: Meta
|
meta: Meta
|
||||||
|
|||||||
@@ -1,17 +1,18 @@
|
|||||||
import { createColorScheme } from "../common/ramps"
|
import { createColorScheme, ThemeAppearance } from "../common"
|
||||||
import { ayu, meta as themeMeta, buildTheme } from "./common"
|
import { ayu, meta as themeMeta, buildTheme } from "./common"
|
||||||
|
|
||||||
export const meta = {
|
export const meta = {
|
||||||
...themeMeta,
|
...themeMeta,
|
||||||
name: `${themeMeta.name} Dark`
|
name: `${themeMeta.name} Dark`,
|
||||||
}
|
}
|
||||||
|
|
||||||
const variant = ayu.dark
|
const variant = ayu.dark
|
||||||
const theme = buildTheme(variant, false)
|
const theme = buildTheme(variant, false)
|
||||||
|
|
||||||
export const dark = createColorScheme(
|
export const dark = createColorScheme({
|
||||||
meta.name,
|
name: meta.name,
|
||||||
false,
|
author: meta.author,
|
||||||
theme.ramps,
|
appearance: ThemeAppearance.Dark,
|
||||||
theme.syntax
|
inputColor: theme.ramps,
|
||||||
)
|
override: { syntax: theme.syntax },
|
||||||
|
})
|
||||||
|
|||||||
@@ -1,17 +1,18 @@
|
|||||||
import { createColorScheme } from "../common/ramps"
|
import { createColorScheme, ThemeAppearance } from "../common"
|
||||||
import { ayu, meta as themeMeta, buildTheme } from "./common"
|
import { ayu, meta as themeMeta, buildTheme } from "./common"
|
||||||
|
|
||||||
export const meta = {
|
export const meta = {
|
||||||
...themeMeta,
|
...themeMeta,
|
||||||
name: `${themeMeta.name} Light`
|
name: `${themeMeta.name} Light`,
|
||||||
}
|
}
|
||||||
|
|
||||||
const variant = ayu.light
|
const variant = ayu.light
|
||||||
const theme = buildTheme(variant, true)
|
const theme = buildTheme(variant, true)
|
||||||
|
|
||||||
export const light = createColorScheme(
|
export const light = createColorScheme({
|
||||||
meta.name,
|
name: meta.name,
|
||||||
true,
|
author: meta.author,
|
||||||
theme.ramps,
|
appearance: ThemeAppearance.Light,
|
||||||
theme.syntax
|
inputColor: theme.ramps,
|
||||||
)
|
override: { syntax: theme.syntax },
|
||||||
|
})
|
||||||
|
|||||||
@@ -1,17 +1,18 @@
|
|||||||
import { createColorScheme } from "../common/ramps"
|
import { createColorScheme, ThemeAppearance } from "../common"
|
||||||
import { ayu, meta as themeMeta, buildTheme } from "./common"
|
import { ayu, meta as themeMeta, buildTheme } from "./common"
|
||||||
|
|
||||||
export const meta = {
|
export const meta = {
|
||||||
...themeMeta,
|
...themeMeta,
|
||||||
name: `${themeMeta.name} Mirage`
|
name: `${themeMeta.name} Mirage`,
|
||||||
}
|
}
|
||||||
|
|
||||||
const variant = ayu.mirage
|
const variant = ayu.mirage
|
||||||
const theme = buildTheme(variant, false)
|
const theme = buildTheme(variant, false)
|
||||||
|
|
||||||
export const dark = createColorScheme(
|
export const dark = createColorScheme({
|
||||||
meta.name,
|
name: meta.name,
|
||||||
false,
|
author: meta.author,
|
||||||
theme.ramps,
|
appearance: ThemeAppearance.Dark,
|
||||||
theme.syntax
|
inputColor: theme.ramps,
|
||||||
)
|
override: { syntax: theme.syntax },
|
||||||
|
})
|
||||||
|
|||||||
@@ -1,8 +1,20 @@
|
|||||||
import chroma from "chroma-js"
|
import chroma from "chroma-js"
|
||||||
import { Meta, ThemeSyntax } from "../common/colorScheme"
|
import {
|
||||||
import { colorRamp, createColorScheme } from "../common/ramps"
|
Meta,
|
||||||
|
colorRamp,
|
||||||
|
createColorScheme,
|
||||||
|
ThemeSyntax,
|
||||||
|
ThemeAppearance,
|
||||||
|
} from "../common"
|
||||||
|
|
||||||
const name = "Gruvbox"
|
export const meta: Meta = {
|
||||||
|
name: "Gruvbox",
|
||||||
|
license: {
|
||||||
|
SPDX: "MIT", // "MIT/X11"
|
||||||
|
},
|
||||||
|
author: "morhetz <morhetz@gmail.com>",
|
||||||
|
url: "https://github.com/morhetz/gruvbox",
|
||||||
|
}
|
||||||
|
|
||||||
const color = {
|
const color = {
|
||||||
dark0_hard: "#1d2021",
|
dark0_hard: "#1d2021",
|
||||||
@@ -233,7 +245,13 @@ const buildVariant = (variant: Variant) => {
|
|||||||
title: { color: colors.green },
|
title: { color: colors.green },
|
||||||
}
|
}
|
||||||
|
|
||||||
return createColorScheme(name, isLight, ramps, syntax)
|
return createColorScheme({
|
||||||
|
name,
|
||||||
|
author: meta.author,
|
||||||
|
appearance: variant.appearance as ThemeAppearance,
|
||||||
|
inputColor: ramps,
|
||||||
|
override: { syntax },
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
// Variants
|
// Variants
|
||||||
@@ -243,12 +261,3 @@ export const darkSoft = buildVariant(variant[2])
|
|||||||
export const lightHard = buildVariant(variant[3])
|
export const lightHard = buildVariant(variant[3])
|
||||||
export const lightDefault = buildVariant(variant[4])
|
export const lightDefault = buildVariant(variant[4])
|
||||||
export const lightSoft = buildVariant(variant[5])
|
export const lightSoft = buildVariant(variant[5])
|
||||||
|
|
||||||
export const meta: Meta = {
|
|
||||||
name,
|
|
||||||
license: {
|
|
||||||
SPDX: "MIT", // "MIT/X11"
|
|
||||||
},
|
|
||||||
author: "morhetz <morhetz@gmail.com>",
|
|
||||||
url: "https://github.com/morhetz/gruvbox",
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -1,7 +1,12 @@
|
|||||||
import chroma from "chroma-js"
|
import chroma from "chroma-js"
|
||||||
import { fontWeights } from "../../common"
|
import { fontWeights } from "../../common"
|
||||||
import { Meta, ThemeSyntax } from "../common/colorScheme"
|
import {
|
||||||
import { colorRamp, createColorScheme } from "../common/ramps"
|
Meta,
|
||||||
|
colorRamp,
|
||||||
|
createColorScheme,
|
||||||
|
ThemeSyntax,
|
||||||
|
ThemeAppearance,
|
||||||
|
} from "../common"
|
||||||
|
|
||||||
const name = "One Dark"
|
const name = "One Dark"
|
||||||
|
|
||||||
@@ -67,8 +72,6 @@ const syntax: ThemeSyntax = {
|
|||||||
constructor: { color: color.blue },
|
constructor: { color: color.blue },
|
||||||
}
|
}
|
||||||
|
|
||||||
export const dark = createColorScheme(name, false, ramps, syntax)
|
|
||||||
|
|
||||||
export const meta: Meta = {
|
export const meta: Meta = {
|
||||||
name,
|
name,
|
||||||
author: "simurai",
|
author: "simurai",
|
||||||
@@ -77,3 +80,11 @@ export const meta: Meta = {
|
|||||||
},
|
},
|
||||||
url: "https://github.com/atom/atom/tree/master/packages/one-dark-ui",
|
url: "https://github.com/atom/atom/tree/master/packages/one-dark-ui",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export const dark = createColorScheme({
|
||||||
|
name: meta.name,
|
||||||
|
author: meta.author,
|
||||||
|
appearance: ThemeAppearance.Dark,
|
||||||
|
inputColor: ramps,
|
||||||
|
override: { syntax },
|
||||||
|
})
|
||||||
|
|||||||
@@ -1,7 +1,12 @@
|
|||||||
import chroma from "chroma-js"
|
import chroma from "chroma-js"
|
||||||
import { fontWeights } from "../../common"
|
import { fontWeights } from "../../common"
|
||||||
import { Meta, ThemeSyntax } from "../common/colorScheme"
|
import {
|
||||||
import { colorRamp, createColorScheme } from "../common/ramps"
|
Meta,
|
||||||
|
colorRamp,
|
||||||
|
createColorScheme,
|
||||||
|
ThemeSyntax,
|
||||||
|
ThemeAppearance,
|
||||||
|
} from "../common"
|
||||||
|
|
||||||
const name = "One Light"
|
const name = "One Light"
|
||||||
|
|
||||||
@@ -66,8 +71,6 @@ const syntax: ThemeSyntax = {
|
|||||||
variant: { color: color.blue },
|
variant: { color: color.blue },
|
||||||
}
|
}
|
||||||
|
|
||||||
export const light = createColorScheme(name, true, ramps, syntax)
|
|
||||||
|
|
||||||
export const meta: Meta = {
|
export const meta: Meta = {
|
||||||
name,
|
name,
|
||||||
author: "simurai",
|
author: "simurai",
|
||||||
@@ -76,3 +79,11 @@ export const meta: Meta = {
|
|||||||
},
|
},
|
||||||
url: "https://github.com/atom/atom/tree/master/packages/one-light-ui",
|
url: "https://github.com/atom/atom/tree/master/packages/one-light-ui",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export const light = createColorScheme({
|
||||||
|
name: meta.name,
|
||||||
|
author: meta.author,
|
||||||
|
appearance: ThemeAppearance.Light,
|
||||||
|
inputColor: ramps,
|
||||||
|
override: { syntax },
|
||||||
|
})
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
import chroma from "chroma-js"
|
import chroma from "chroma-js"
|
||||||
import { Meta } from "../common/colorScheme"
|
import { Meta, colorRamp, createColorScheme, ThemeAppearance } from "../common"
|
||||||
import { colorRamp, createColorScheme } from "../common/ramps"
|
|
||||||
|
|
||||||
const name = "Rosé Pine Dawn"
|
const name = "Rosé Pine Dawn"
|
||||||
|
|
||||||
@@ -27,8 +26,6 @@ const ramps = {
|
|||||||
magenta: colorRamp(chroma("#79549F")),
|
magenta: colorRamp(chroma("#79549F")),
|
||||||
}
|
}
|
||||||
|
|
||||||
export const light = createColorScheme(name, true, ramps)
|
|
||||||
|
|
||||||
export const meta: Meta = {
|
export const meta: Meta = {
|
||||||
name,
|
name,
|
||||||
author: "edunfelt",
|
author: "edunfelt",
|
||||||
@@ -37,3 +34,11 @@ export const meta: Meta = {
|
|||||||
},
|
},
|
||||||
url: "https://github.com/edunfelt/base16-rose-pine-scheme",
|
url: "https://github.com/edunfelt/base16-rose-pine-scheme",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export const light = createColorScheme({
|
||||||
|
name: meta.name,
|
||||||
|
author: meta.author,
|
||||||
|
appearance: ThemeAppearance.Light,
|
||||||
|
inputColor: ramps,
|
||||||
|
override: { syntax: {} },
|
||||||
|
})
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
import chroma from "chroma-js"
|
import chroma from "chroma-js"
|
||||||
import { Meta } from "../common/colorScheme"
|
import { Meta, colorRamp, createColorScheme, ThemeAppearance } from "../common"
|
||||||
import { colorRamp, createColorScheme } from "../common/ramps"
|
|
||||||
|
|
||||||
const name = "Rosé Pine Moon"
|
const name = "Rosé Pine Moon"
|
||||||
|
|
||||||
@@ -27,8 +26,6 @@ const ramps = {
|
|||||||
magenta: colorRamp(chroma("#AB6FE9")),
|
magenta: colorRamp(chroma("#AB6FE9")),
|
||||||
}
|
}
|
||||||
|
|
||||||
export const dark = createColorScheme(name, false, ramps)
|
|
||||||
|
|
||||||
export const meta: Meta = {
|
export const meta: Meta = {
|
||||||
name,
|
name,
|
||||||
author: "edunfelt",
|
author: "edunfelt",
|
||||||
@@ -37,3 +34,11 @@ export const meta: Meta = {
|
|||||||
},
|
},
|
||||||
url: "https://github.com/edunfelt/base16-rose-pine-scheme",
|
url: "https://github.com/edunfelt/base16-rose-pine-scheme",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export const dark = createColorScheme({
|
||||||
|
name: meta.name,
|
||||||
|
author: meta.author,
|
||||||
|
appearance: ThemeAppearance.Dark,
|
||||||
|
inputColor: ramps,
|
||||||
|
override: { syntax: {} },
|
||||||
|
})
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
import chroma from "chroma-js"
|
import chroma from "chroma-js"
|
||||||
import { Meta } from "../common/colorScheme"
|
import { Meta, colorRamp, createColorScheme, ThemeAppearance } from "../common"
|
||||||
import { colorRamp, createColorScheme } from "../common/ramps"
|
|
||||||
|
|
||||||
const name = "Rosé Pine"
|
const name = "Rosé Pine"
|
||||||
|
|
||||||
@@ -25,8 +24,6 @@ const ramps = {
|
|||||||
magenta: colorRamp(chroma("#AB6FE9")),
|
magenta: colorRamp(chroma("#AB6FE9")),
|
||||||
}
|
}
|
||||||
|
|
||||||
export const dark = createColorScheme(name, false, ramps)
|
|
||||||
|
|
||||||
export const meta: Meta = {
|
export const meta: Meta = {
|
||||||
name,
|
name,
|
||||||
author: "edunfelt",
|
author: "edunfelt",
|
||||||
@@ -35,3 +32,11 @@ export const meta: Meta = {
|
|||||||
},
|
},
|
||||||
url: "https://github.com/edunfelt/base16-rose-pine-scheme",
|
url: "https://github.com/edunfelt/base16-rose-pine-scheme",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export const dark = createColorScheme({
|
||||||
|
name: meta.name,
|
||||||
|
author: meta.author,
|
||||||
|
appearance: ThemeAppearance.Dark,
|
||||||
|
inputColor: ramps,
|
||||||
|
override: { syntax: {} },
|
||||||
|
})
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
import chroma from "chroma-js"
|
import chroma from "chroma-js"
|
||||||
import { Meta } from "../common/colorScheme"
|
import { Meta, colorRamp, createColorScheme, ThemeAppearance } from "../common"
|
||||||
import { colorRamp, createColorScheme } from "../common/ramps"
|
|
||||||
|
|
||||||
const name = "Sandcastle"
|
const name = "Sandcastle"
|
||||||
|
|
||||||
@@ -25,8 +24,6 @@ const ramps = {
|
|||||||
magenta: colorRamp(chroma("#a87322")),
|
magenta: colorRamp(chroma("#a87322")),
|
||||||
}
|
}
|
||||||
|
|
||||||
export const dark = createColorScheme(name, false, ramps)
|
|
||||||
|
|
||||||
export const meta: Meta = {
|
export const meta: Meta = {
|
||||||
name,
|
name,
|
||||||
author: "gessig",
|
author: "gessig",
|
||||||
@@ -35,3 +32,11 @@ export const meta: Meta = {
|
|||||||
},
|
},
|
||||||
url: "https://github.com/gessig/base16-sandcastle-scheme",
|
url: "https://github.com/gessig/base16-sandcastle-scheme",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export const dark = createColorScheme({
|
||||||
|
name: meta.name,
|
||||||
|
author: meta.author,
|
||||||
|
appearance: ThemeAppearance.Dark,
|
||||||
|
inputColor: ramps,
|
||||||
|
override: { syntax: {} },
|
||||||
|
})
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
import chroma from "chroma-js"
|
import chroma from "chroma-js"
|
||||||
import { Meta as Metadata } from "../common/colorScheme"
|
import { Meta, colorRamp, createColorScheme, ThemeAppearance } from "../common"
|
||||||
import { colorRamp, createColorScheme } from "../common/ramps"
|
|
||||||
|
|
||||||
const name = "Solarized"
|
const name = "Solarized"
|
||||||
|
|
||||||
@@ -27,10 +26,7 @@ const ramps = {
|
|||||||
magenta: colorRamp(chroma("#d33682")),
|
magenta: colorRamp(chroma("#d33682")),
|
||||||
}
|
}
|
||||||
|
|
||||||
export const dark = createColorScheme(`${name} Dark`, false, ramps)
|
export const meta: Meta = {
|
||||||
export const light = createColorScheme(`${name} Light`, true, ramps)
|
|
||||||
|
|
||||||
export const meta: Metadata = {
|
|
||||||
name,
|
name,
|
||||||
author: "Ethan Schoonover",
|
author: "Ethan Schoonover",
|
||||||
license: {
|
license: {
|
||||||
@@ -38,3 +34,19 @@ export const meta: Metadata = {
|
|||||||
},
|
},
|
||||||
url: "https://github.com/altercation/solarized",
|
url: "https://github.com/altercation/solarized",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export const dark = createColorScheme({
|
||||||
|
name: `${name} Dark`,
|
||||||
|
author: meta.author,
|
||||||
|
appearance: ThemeAppearance.Dark,
|
||||||
|
inputColor: ramps,
|
||||||
|
override: { syntax: {} },
|
||||||
|
})
|
||||||
|
|
||||||
|
export const light = createColorScheme({
|
||||||
|
name: `${name} Light`,
|
||||||
|
author: meta.author,
|
||||||
|
appearance: ThemeAppearance.Light,
|
||||||
|
inputColor: ramps,
|
||||||
|
override: { syntax: {} },
|
||||||
|
})
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
import chroma from "chroma-js"
|
import chroma from "chroma-js"
|
||||||
import { Meta } from "../common/colorScheme"
|
import { Meta, colorRamp, createColorScheme, ThemeAppearance } from "../common"
|
||||||
import { colorRamp, createColorScheme } from "../common/ramps"
|
|
||||||
|
|
||||||
const name = "Summercamp"
|
const name = "Summercamp"
|
||||||
|
|
||||||
@@ -27,7 +26,6 @@ const ramps = {
|
|||||||
magenta: colorRamp(chroma("#F69BE7")),
|
magenta: colorRamp(chroma("#F69BE7")),
|
||||||
}
|
}
|
||||||
|
|
||||||
export const dark = createColorScheme(name, false, ramps)
|
|
||||||
export const meta: Meta = {
|
export const meta: Meta = {
|
||||||
name,
|
name,
|
||||||
author: "zoefiri",
|
author: "zoefiri",
|
||||||
@@ -36,3 +34,11 @@ export const meta: Meta = {
|
|||||||
SPDX: "MIT",
|
SPDX: "MIT",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export const dark = createColorScheme({
|
||||||
|
name: meta.name,
|
||||||
|
author: meta.author,
|
||||||
|
appearance: ThemeAppearance.Dark,
|
||||||
|
inputColor: ramps,
|
||||||
|
override: { syntax: {} },
|
||||||
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user