Remove unused files
parent
d6913302eb
commit
746356e59e
|
@ -7,8 +7,6 @@ import {
|
|||
updateAnnotation,
|
||||
} from 'shared/actions/annotations'
|
||||
|
||||
import {DEFAULT_ANNOTATION_ID} from 'src/shared/constants/annotations'
|
||||
|
||||
const a1 = {
|
||||
id: '1',
|
||||
group: '',
|
||||
|
@ -61,7 +59,7 @@ describe.only('Shared.Reducers.annotations', () => {
|
|||
})
|
||||
|
||||
it('can add an annotation', () => {
|
||||
const expected = [{...a1, id: DEFAULT_ANNOTATION_ID}]
|
||||
const expected = [a1]
|
||||
const actual = reducer(state, addAnnotation(a1))
|
||||
|
||||
expect(actual.annotations).to.deep.equal(expected)
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
export const DEFAULT_ANNOTATION_ID = 'DEFAULT_ANNOTATION_ID'
|
|
@ -1,95 +0,0 @@
|
|||
// InfluxData Color Palette
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
// Nuetrals (Dark to Light)
|
||||
export const NEUTRALS = [
|
||||
'#0f0e15', // Obsidian
|
||||
'#1c1c21', // Raven
|
||||
'#202028', // Kevlar
|
||||
'#292933', // Castle
|
||||
'#31313d', // Onyx
|
||||
'#383846', // Pepper
|
||||
'#434453', // Smoke
|
||||
'#545667', // Graphite
|
||||
'#676978', // Storm
|
||||
'#757888', // Mountain
|
||||
'#8e91a1', // Wolf
|
||||
'#999dab', // Sidewalk
|
||||
'#a4a8b6', // Forge
|
||||
'#bec2cc', // Mist
|
||||
'#c6cad3', // Chromium
|
||||
'#d4d7dd', // Platinum
|
||||
'#e7e8eb', // Pearl
|
||||
'#eeeff2', // Whisper
|
||||
'#f6f6f8', // Cloud
|
||||
'#fafafc', // Ghost
|
||||
'#ffffff', // White
|
||||
]
|
||||
|
||||
// Telegraf (Dark to Light)
|
||||
export const REDS = {
|
||||
basalt: '#2F1F29',
|
||||
ruby: '#BF3D5E',
|
||||
fire: '#DC4E58',
|
||||
fireDisabled: '#6F3943',
|
||||
curacao: '#F95F53',
|
||||
curacaoDisabled: '#EADAD8',
|
||||
dreamsicle: '#FF8564',
|
||||
tungsten: '#FFB6A0',
|
||||
marmelade: '#FFDCCF',
|
||||
flan: '#FFF7F4',
|
||||
}
|
||||
|
||||
// InfluxDB (Dark to Light)
|
||||
export const BLUES = {
|
||||
abyss: '#182838',
|
||||
sapphire: '#326BBA',
|
||||
ocean: '#4591ED',
|
||||
oceanDisabled: '#32547F',
|
||||
pool: '#22ADF6',
|
||||
poolDisabled: '#C9E0ED',
|
||||
laser: '#00C9FF',
|
||||
hydrogen: '#6BDFFF',
|
||||
neutrino: '#BEF0FF',
|
||||
yeti: '#F0FCFF',
|
||||
}
|
||||
|
||||
// Chronograf (Dark to Light)
|
||||
export const PURPLES = {
|
||||
shadow: '#1F2039',
|
||||
void: '#311F94',
|
||||
amethyst: '#513CC6',
|
||||
amethystDisabled: '#484281',
|
||||
star: '#7A65F2',
|
||||
starDisabled: '#D6D5ED',
|
||||
comet: '#9394FF',
|
||||
potassium: '#B1B6FF',
|
||||
moonstone: '#C9D0FF',
|
||||
twilight: '#F2F4FF',
|
||||
}
|
||||
|
||||
// Kapacitor (Dark to Light)
|
||||
export const GREENS = {
|
||||
gypsy: '#152B2D',
|
||||
emerald: '#108174',
|
||||
viridian: '#32B08C',
|
||||
viridianDisabled: '#2B6058',
|
||||
rainforest: '#4ED8A0',
|
||||
rainforestDisabled: '#CFE6E1',
|
||||
honeydew: '#7CE490',
|
||||
krypton: '#A5F3B4',
|
||||
wasabi: '#C6FFD0',
|
||||
mint: '#F2FFF4',
|
||||
}
|
||||
|
||||
// Warnings (Dark to Light)
|
||||
export const YELLOWS = {
|
||||
oak: '#3F241F',
|
||||
topaz: '#E85B1C',
|
||||
tiger: '#F48D38',
|
||||
pineapple: '#FFB94A',
|
||||
thunder: '#FFD255',
|
||||
sulfur: '#FFE480',
|
||||
daisy: '#FFF6B8',
|
||||
banana: '#FFFDDE',
|
||||
}
|
Loading…
Reference in New Issue