biome check --write
This commit is contained in:
parent
9262e803ec
commit
b05a501236
225 changed files with 1177 additions and 1266 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import { unroll } from './iss_utils.js'
|
||||
import { deserializeShadow } from './iss_deserializer.js'
|
||||
import { unroll } from './iss_utils.js'
|
||||
|
||||
export const serializeShadow = (s) => {
|
||||
if (typeof s === 'object') {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { invertLightness, brightness } from 'chromatism'
|
||||
import { brightness, invertLightness } from 'chromatism'
|
||||
import { alphaBlend, mixrgb } from '../color_convert/color_convert.js'
|
||||
/* This is a definition of all layer combinations
|
||||
* each key is a topmost layer, each value represents layer underneath
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { convert, brightness } from 'chromatism'
|
||||
import { brightness, convert } from 'chromatism'
|
||||
import {
|
||||
alphaBlend,
|
||||
arithmeticBlend,
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
import { convert, brightness, contrastRatio } from 'chromatism'
|
||||
import { brightness, contrastRatio, convert } from 'chromatism'
|
||||
import {
|
||||
rgb2hex,
|
||||
rgba2css,
|
||||
alphaBlendLayers,
|
||||
getCssColor,
|
||||
getTextColor,
|
||||
relativeLuminance,
|
||||
getCssColor,
|
||||
rgb2hex,
|
||||
rgba2css,
|
||||
} from '../color_convert/color_convert.js'
|
||||
import { LAYERS, DEFAULT_OPACITY, SLOT_INHERITANCE } from './pleromafe.js'
|
||||
import { DEFAULT_OPACITY, LAYERS, SLOT_INHERITANCE } from './pleromafe.js'
|
||||
|
||||
/*
|
||||
* # What's all this?
|
||||
|
|
|
|||
|
|
@ -1,29 +1,28 @@
|
|||
import { convert, brightness } from 'chromatism'
|
||||
import { brightness, convert } from 'chromatism'
|
||||
import sum from 'hash-sum'
|
||||
import { flattenDeep, sortBy } from 'lodash'
|
||||
import {
|
||||
alphaBlend,
|
||||
getTextColor,
|
||||
rgba2css,
|
||||
mixrgb,
|
||||
relativeLuminance,
|
||||
rgba2css,
|
||||
} from '../color_convert/color_convert.js'
|
||||
import { deserializeShadow } from './iss_deserializer.js'
|
||||
|
||||
import {
|
||||
findRules,
|
||||
genericRuleToSelector,
|
||||
getAllPossibleCombinations,
|
||||
normalizeCombination,
|
||||
unroll,
|
||||
} from './iss_utils.js'
|
||||
import {
|
||||
colorFunctions,
|
||||
shadowFunctions,
|
||||
process,
|
||||
shadowFunctions,
|
||||
} from './theme3_slot_functions.js'
|
||||
|
||||
import {
|
||||
unroll,
|
||||
getAllPossibleCombinations,
|
||||
genericRuleToSelector,
|
||||
normalizeCombination,
|
||||
findRules,
|
||||
} from './iss_utils.js'
|
||||
import { deserializeShadow } from './iss_deserializer.js'
|
||||
|
||||
// Ensuring the order of components
|
||||
const components = {
|
||||
Root: null,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue