Skip to content

Commit

Permalink
removes hydration stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
CarelessCourage committed Jan 8, 2024
1 parent 47a0235 commit 7425e6e
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 55 deletions.
43 changes: 0 additions & 43 deletions packages/core/engine/hydration.ts

This file was deleted.

7 changes: 0 additions & 7 deletions packages/core/engine/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,6 @@ export interface UmbraAdjusted {
accents: (Accent | string)[]
}

export interface DehydratedAdjusted {
background: string
foreground: string
accents: (Accent | string)[]
input: UmbraInput
}

export interface UmbraSettings {
readability?: number
iterations?: number
Expand Down
5 changes: 1 addition & 4 deletions packages/core/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import type {
FormatedRange
} from './engine/types'
import { inverse, isDark, findContrast } from './engine/primitives/scheme'
import { dehydrateOutput, hydrateOutput } from './engine/hydration'

export {
umbra,
Expand All @@ -36,9 +35,7 @@ export {
format,
hexFormat,
rgbStrippedFormat,
hslFormat,
dehydrateOutput,
hydrateOutput
hslFormat
}

export type {
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@umbrajs/core",
"version": "0.0.44",
"version": "0.0.445",
"description": "Umbra is a theme managment library that allows you to create semantic color themes that are easy to dynamically customize, change retroactively and scale progressively",
"author": "Samuel M. Bednarz<https://github.com/CarelessCourage>",
"repository": {
Expand Down

0 comments on commit 7425e6e

Please sign in to comment.