Skip to content

Commit

Permalink
feat: theme overall feel overhaul 🎨
Browse files Browse the repository at this point in the history
  • Loading branch information
robertrossmann committed Dec 11, 2023
1 parent cb6e423 commit f419551
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/themes/bright/colours.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as color from 'color'

const base = color('#fff4de')
const base = color('#FCEED1')
const normal = {
black: color('#282A2E'),
blue: color('#5F819D'),
Expand All @@ -25,7 +25,7 @@ const bright = {
yellow: color('#F0C674').darken(0.3).desaturate(0.1),
}

const foreground = bright.yellow.darken(0.55).desaturate(0.2)
const foreground = bright.yellow.darken(0.6)

export {
base,
Expand Down
6 changes: 3 additions & 3 deletions src/themes/bright/ui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@ import { base, foreground, normal, bright } from './colours'

const text = {
primary: foreground,
secondary: foreground.lighten(1.2).desaturate(0.3),
secondary: foreground.lighten(0.5).desaturate(0.4),
dimmed: foreground.lighten(1.6).desaturate(0.5),
contrast: base,
complimentary: bright.yellow.darken(0.9).desaturate(0.3),
}

const background = {
code: base.lighten(0.03),
code: base.lighten(0.06),
panel: base,
drop: text.primary,
hover: base.mix(text.primary, 0.3),
}

const border = background.panel.darken(0.15).desaturate(0.3)
const border = background.panel.darken(0.2).desaturate(0.3)
const shadow = text.dimmed
const accent = normal.orange

Expand Down
4 changes: 2 additions & 2 deletions src/themes/dark/colours.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as color from 'color'

const base = color('#36302c')
const base = color('#352B2A')
const normal = {
black: color('#282A2E'),
blue: color('#5F819D'),
Expand All @@ -25,7 +25,7 @@ const bright = {
yellow: color('#F0C674'),
}

const foreground = bright.yellow.lighten(0.25)
const foreground = bright.yellow.lighten(0.2)

export {
base,
Expand Down

0 comments on commit f419551

Please sign in to comment.