Skip to content

Commit

Permalink
Append a hashtag infront of colors
Browse files Browse the repository at this point in the history
Closes #1
  • Loading branch information
k15a committed Nov 30, 2016
1 parent 5166ad3 commit c74d907
Show file tree
Hide file tree
Showing 11 changed files with 493 additions and 500 deletions.
164 changes: 82 additions & 82 deletions __tests__/__snapshots__/colors.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,133 +2,133 @@ exports[`test colors 1`] = `
Object {
"dark": Object {
"common": Object {
"accent": "F29718",
"bg": "0F1419",
"fg": "E6E1CF",
"accent": "#f29718",
"bg": "#0f1419",
"fg": "#e6e1cf",
},
"syntax": Object {
"activeGuide": "314559",
"comment": "5C6773",
"constant": "FFEE99",
"error": "FF3333",
"esSpec": "E6B673",
"func": "FFB454",
"gutterFg": "2D3640",
"keyword": "FF7733",
"lineHg": "151A1F",
"operator": "E7C547",
"regexp": "95E6CB",
"selection": "253340",
"stackGuide": "1A2633",
"string": "B8CC52",
"supVar": "F07178",
"tag": "36A3D9",
"activeGuide": "#314559",
"comment": "#5c6773",
"constant": "#ffee99",
"error": "#ff3333",
"esSpec": "#e6b673",
"func": "#ffb454",
"gutterFg": "#2d3640",
"keyword": "#ff7733",
"lineHg": "#151a1f",
"operator": "#e7c547",
"regexp": "#95e6cb",
"selection": "#253340",
"stackGuide": "#1a2633",
"string": "#b8cc52",
"supVar": "#f07178",
"tag": "#36a3d9",
},
"theme": "dark",
"ui": Object {
"fg": "3E4B59",
"fg": "#3e4b59",
"folder": Object {
"normal": "3E4B59",
"normal": "#3e4b59",
},
"gridDivider": "1D242C",
"gridDivider": "#1d242c",
"minimap": "100, 100, 100",
"opacity": "0.3",
"panel": Object {
"bg": "14191F",
"pathFg": "42505E",
"rowBg": "191F26",
"shadow": "000000",
"bg": "#14191f",
"pathFg": "#42505e",
"rowBg": "#191f26",
"shadow": "#000000",
},
"scrollbar": Object {
"puck": "FFFFFF",
"puck": "#ffffff",
},
},
},
"light": Object {
"common": Object {
"accent": "FF6A00",
"bg": "FAFAFA",
"fg": "5C6773",
"accent": "#ff6a00",
"bg": "#fafafa",
"fg": "#5c6773",
},
"syntax": Object {
"activeGuide": "B3B2B1",
"comment": "ABB0B6",
"constant": "A37ACC",
"error": "FF3333",
"esSpec": "CCA37A",
"func": "F29718",
"gutterFg": "D9D8D7",
"keyword": "F2590C",
"lineHg": "F2F2F2",
"operator": "E7C547",
"regexp": "4DBF99",
"selection": "F0EEE4",
"stackGuide": "DEDDDC",
"string": "86B300",
"supVar": "F07178",
"tag": "41A6D9",
"activeGuide": "#b3b2b1",
"comment": "#abb0b6",
"constant": "#a37acc",
"error": "#ff3333",
"esSpec": "#cca37a",
"func": "#f29718",
"gutterFg": "#d9d8d7",
"keyword": "#f2590c",
"lineHg": "#f2f2f2",
"operator": "#e7c547",
"regexp": "#4dbf99",
"selection": "#f0eee4",
"stackGuide": "#dedddc",
"string": "#86b300",
"supVar": "#f07178",
"tag": "#41a6d9",
},
"theme": "light",
"ui": Object {
"fg": "828C99",
"fg": "#828c99",
"folder": Object {
"normal": "828C99",
"normal": "#828c99",
},
"gridDivider": "E2E4E7",
"gridDivider": "#e2e4e7",
"minimap": "130, 140, 153",
"opacity": "0.2",
"panel": Object {
"bg": "FFFFFF",
"pathFg": "B0BEC5",
"rowBg": "F5F5F5",
"shadow": "A0A0A0",
"bg": "#ffffff",
"pathFg": "#b0bec5",
"rowBg": "#f5f5f5",
"shadow": "#a0a0a0",
},
"scrollbar": Object {
"puck": "000000",
"puck": "#000000",
},
},
},
"mirage": Object {
"common": Object {
"accent": "FFCC66",
"bg": "212733",
"fg": "D9D7CE",
"accent": "#ffcc66",
"bg": "#212733",
"fg": "#d9d7ce",
},
"syntax": Object {
"activeGuide": "606F80",
"comment": "5C6773",
"constant": "D4BFFF",
"error": "FF3333",
"esSpec": "FFC44C",
"func": "FFD580",
"gutterFg": "3D4752",
"keyword": "FFAE57",
"lineHg": "242B38",
"operator": "80D4FF",
"regexp": "95E6CB",
"selection": "343F4C",
"stackGuide": "39434D",
"string": "BAE67E",
"supVar": "F07178",
"tag": "5CCFE6",
"activeGuide": "#606f80",
"comment": "#5c6773",
"constant": "#d4bfff",
"error": "#ff3333",
"esSpec": "#ffc44c",
"func": "#ffd580",
"gutterFg": "#3d4752",
"keyword": "#ffae57",
"lineHg": "#242b38",
"operator": "#80d4ff",
"regexp": "#95e6cb",
"selection": "#343f4c",
"stackGuide": "#39434d",
"string": "#bae67e",
"supVar": "#f07178",
"tag": "#5ccfe6",
},
"theme": "mirage",
"theme": "#mirage",
"ui": Object {
"fg": "607080",
"fg": "#607080",
"folder": Object {
"normal": "3E4B59",
"normal": "#3e4b59",
},
"gridDivider": "343D4A",
"gridDivider": "#343d4a",
"minimap": "100, 100, 100",
"opacity": "0.3",
"panel": Object {
"bg": "272D38",
"pathFg": "607080",
"rowBg": "303540",
"shadow": "11141A",
"bg": "#272d38",
"pathFg": "#607080",
"rowBg": "#303540",
"shadow": "#11141a",
},
"scrollbar": Object {
"puck": "FFFFFF",
"puck": "#ffffff",
},
},
},
Expand Down
5 changes: 1 addition & 4 deletions __tests__/colors.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@ import isObject from 'is-object'

import * as colors from '../src/colors.js'

const removeValues = (obj) => mapObject(obj, (key, value) => ([
key,
isObject(value) ? removeValues(value) : ''
]))
const removeValues = (obj) => mapObject(obj, (key, value) => ([key, '']), { deep: true })

test('colors', () => {
expect(colors).toMatchSnapshot()
Expand Down
Loading

0 comments on commit c74d907

Please sign in to comment.