diff --git a/ui/.envrc b/.envrc similarity index 100% rename from ui/.envrc rename to .envrc diff --git a/.gitignore b/.gitignore index 8d5f9bd..123028e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,12 @@ -.stack-work/ -solaryzed.cabal -*~ \ No newline at end of file +/bower_components/ +/node_modules/ +/.pulp-cache/ +/output/ +/generated-docs/ +/.psc-package/ +/.psc* +/.purs* +/.psa* +/.spago +.cache +dist diff --git a/ui/assets/app.js b/assets/app.js similarity index 100% rename from ui/assets/app.js rename to assets/app.js diff --git a/ui/assets/index.html b/assets/index.html similarity index 100% rename from ui/assets/index.html rename to assets/index.html diff --git a/ui/build.sh b/build.sh similarity index 100% rename from ui/build.sh rename to build.sh diff --git a/ui/dev.sh b/dev.sh similarity index 100% rename from ui/dev.sh rename to dev.sh diff --git a/hs/ChangeLog.md b/hs/ChangeLog.md deleted file mode 100644 index 827c44f..0000000 --- a/hs/ChangeLog.md +++ /dev/null @@ -1,3 +0,0 @@ -# Changelog for solaryzed - -## Unreleased changes diff --git a/hs/LICENSE b/hs/LICENSE deleted file mode 100644 index 102126f..0000000 --- a/hs/LICENSE +++ /dev/null @@ -1,30 +0,0 @@ -Copyright Author name here (c) 2019 - -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following - disclaimer in the documentation and/or other materials provided - with the distribution. - - * Neither the name of Author name here nor the names of other - contributors may be used to endorse or promote products derived - from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/hs/README.md b/hs/README.md deleted file mode 100644 index 082b49f..0000000 --- a/hs/README.md +++ /dev/null @@ -1 +0,0 @@ -# solaryzed diff --git a/hs/Setup.hs b/hs/Setup.hs deleted file mode 100644 index 9a994af..0000000 --- a/hs/Setup.hs +++ /dev/null @@ -1,2 +0,0 @@ -import Distribution.Simple -main = defaultMain diff --git a/hs/app/Main.hs b/hs/app/Main.hs deleted file mode 100644 index 8a10f7a..0000000 --- a/hs/app/Main.hs +++ /dev/null @@ -1,40 +0,0 @@ -{-# LANGUAGE NoImplicitPrelude #-} -{-# LANGUAGE OverloadedStrings #-} -module Main where - -import Protolude - -import Data.Prizm.Color (HexRGB (..)) -import qualified Data.Text as Text -import qualified Data.Text.Format as Format -import qualified Data.Text.Lazy.IO as LazyIO -import qualified Data.Text.Lazy as LazyText -import System.Environment (getArgs) - -import Solaryzed - -main :: IO () -main = do - args <- map (HexRGB . toS) <$> getArgs - tpl <- toS <$> LazyIO.readFile "resources/example.tpl" - case args of - [dark,light,accent] -> genPaletteFile tpl (dark,light,accent) - _ -> do - putText "Please give 3 colors in HEX format, dark, light and an accent color; you have given" - print args - -genPaletteFile :: Text -> (HexRGB,HexRGB,HexRGB) -> IO () -genPaletteFile tpl (dark,light,accent) = do - let palette = map toS $ genAnnotatedPalette dark light accent - html = Text.replace "$palette$" (Text.intercalate "\n\t" palette) tpl - filename = Format.format "palette-{}-{}-{}.html" (Text.drop 1 $ unHexRGB dark, - Text.drop 1 $ unHexRGB light, - Text.drop 1 $ unHexRGB accent) - LazyIO.writeFile (toS filename) (toS html) - putText (toS filename) - -genAnnotatedPalette :: HexRGB -> HexRGB -> HexRGB -> [Text] -genAnnotatedPalette dark light accent = do - let palette = map unHexRGB $ genExtendedPalette dark light accent - annotated = zip extendedPaletteLabels palette - map (toS . Format.format "--{}: {};\n") annotated diff --git a/hs/dist-newstyle/cache/compiler b/hs/dist-newstyle/cache/compiler deleted file mode 100644 index 210a9d6..0000000 Binary files a/hs/dist-newstyle/cache/compiler and /dev/null differ diff --git a/hs/dist-newstyle/cache/config b/hs/dist-newstyle/cache/config deleted file mode 100644 index bfe574f..0000000 Binary files a/hs/dist-newstyle/cache/config and /dev/null differ diff --git a/hs/dist-newstyle/cache/elaborated-plan b/hs/dist-newstyle/cache/elaborated-plan deleted file mode 100644 index 45a6180..0000000 Binary files a/hs/dist-newstyle/cache/elaborated-plan and /dev/null differ diff --git a/hs/dist-newstyle/cache/improved-plan b/hs/dist-newstyle/cache/improved-plan deleted file mode 100644 index df0d4bd..0000000 Binary files a/hs/dist-newstyle/cache/improved-plan and /dev/null differ diff --git a/hs/dist-newstyle/cache/plan.json b/hs/dist-newstyle/cache/plan.json deleted file mode 100644 index fe1694d..0000000 --- a/hs/dist-newstyle/cache/plan.json +++ /dev/null @@ -1 +0,0 @@ -{"cabal-version":"2.4.1.0","cabal-lib-version":"2.4.1.0","compiler-id":"ghc-8.6.5","os":"osx","arch":"x86_64","install-plan":[{"type":"pre-existing","id":"array-0.5.3.0","pkg-name":"array","pkg-version":"0.5.3.0","depends":["base-4.12.0.0"]},{"type":"pre-existing","id":"base-4.12.0.0","pkg-name":"base","pkg-version":"4.12.0.0","depends":["ghc-prim-0.5.3","integer-gmp-1.0.2.0","rts"]},{"type":"pre-existing","id":"binary-0.8.6.0","pkg-name":"binary","pkg-version":"0.8.6.0","depends":["array-0.5.3.0","base-4.12.0.0","bytestring-0.10.8.2","containers-0.6.0.1"]},{"type":"pre-existing","id":"bytestring-0.10.8.2","pkg-name":"bytestring","pkg-version":"0.10.8.2","depends":["base-4.12.0.0","deepseq-1.4.4.0","ghc-prim-0.5.3","integer-gmp-1.0.2.0"]},{"type":"configured","id":"cnvrtbl-1.1.1.0-69f13ead","pkg-name":"convertible","pkg-version":"1.1.1.0","flags":{"buildtests":false},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"791e92aed5d906ac1dc8f48b08c4693c25c3fdff4d28b9566921ce3436826d4c","pkg-src-sha256":"e9f9a70904b9995314c2aeb41580d654a2c76293feb955fb6bd63256c355286c","components":{"lib":{"depends":["base-4.12.0.0","bytestring-0.10.8.2","containers-0.6.0.1","mtl-2.2.2","ld-lcl-1.0.0.7-ea59971f","ld-tm-1.1.0.3-412d4789","text-1.2.3.1","time-1.8.0.2"],"exe-depends":[]}}},{"type":"pre-existing","id":"containers-0.6.0.1","pkg-name":"containers","pkg-version":"0.6.0.1","depends":["array-0.5.3.0","base-4.12.0.0","deepseq-1.4.4.0","ghc-prim-0.5.3"]},{"type":"pre-existing","id":"deepseq-1.4.4.0","pkg-name":"deepseq","pkg-version":"1.4.4.0","depends":["array-0.5.3.0","base-4.12.0.0"]},{"type":"pre-existing","id":"ghc-prim-0.5.3","pkg-name":"ghc-prim","pkg-version":"0.5.3","depends":["rts"]},{"type":"pre-existing","id":"integer-gmp-1.0.2.0","pkg-name":"integer-gmp","pkg-version":"1.0.2.0","depends":["ghc-prim-0.5.3"]},{"type":"configured","id":"ld-lcl-1.0.0.7-ea59971f","pkg-name":"old-locale","pkg-version":"1.0.0.7","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"fa998be2c7e00cd26a6e9075bea790caaf3932caa3e9497ad69bc20380dd6911","pkg-src-sha256":"dbaf8bf6b888fb98845705079296a23c3f40ee2f449df7312f7f7f1de18d7b50","depends":["base-4.12.0.0"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"ld-tm-1.1.0.3-412d4789","pkg-name":"old-time","pkg-version":"1.1.0.3","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"c91fbb3ee73d20ccd015842b30f1f29a304893ebe0ae3128b7bbc13d5bb0d4c8","pkg-src-sha256":"1ccb158b0f7851715d36b757c523b026ca1541e2030d02239802ba39b4112bc1","components":{"lib":{"depends":["base-4.12.0.0","ld-lcl-1.0.0.7-ea59971f"],"exe-depends":[]}}},{"type":"pre-existing","id":"mtl-2.2.2","pkg-name":"mtl","pkg-version":"2.2.2","depends":["base-4.12.0.0","transformers-0.5.6.2"]},{"type":"configured","id":"przm-3.0.0-1dc68b36","pkg-name":"prizm","pkg-version":"3.0.0","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"f7b7c3992c5070b8b2275f04c9a5b321904cbfc9ea85dfeccd4d9a626fcc26e1","pkg-src-sha256":"9bbc4c8781cbc7df4822d7031eb9570e8caf0956979a061b84d89f3884d05283","depends":["base-4.12.0.0","cnvrtbl-1.1.1.0-69f13ead","text-1.2.3.1"],"exe-depends":[],"component-name":"lib"},{"type":"pre-existing","id":"rts","pkg-name":"rts","pkg-version":"1.0","depends":[]},{"type":"configured","id":"solaryzed-0.1.0.0-inplace","pkg-name":"solaryzed","pkg-version":"0.1.0.0","flags":{},"style":"local","pkg-src":{"type":"local","path":"/Users/yaesposi/y/solaryzed/."},"dist-dir":"/Users/yaesposi/y/solaryzed/dist-newstyle/build/x86_64-osx/ghc-8.6.5/solaryzed-0.1.0.0","depends":["base-4.12.0.0","cnvrtbl-1.1.1.0-69f13ead","przm-3.0.0-1dc68b36","text-1.2.3.1"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"solaryzed-0.1.0.0-inplace-solaryzed-exe","pkg-name":"solaryzed","pkg-version":"0.1.0.0","flags":{},"style":"local","pkg-src":{"type":"local","path":"/Users/yaesposi/y/solaryzed/."},"dist-dir":"/Users/yaesposi/y/solaryzed/dist-newstyle/build/x86_64-osx/ghc-8.6.5/solaryzed-0.1.0.0/x/solaryzed-exe","depends":["base-4.12.0.0","cnvrtbl-1.1.1.0-69f13ead","przm-3.0.0-1dc68b36","solaryzed-0.1.0.0-inplace","text-1.2.3.1"],"exe-depends":[],"component-name":"exe:solaryzed-exe","bin-file":"/Users/yaesposi/y/solaryzed/dist-newstyle/build/x86_64-osx/ghc-8.6.5/solaryzed-0.1.0.0/x/solaryzed-exe/build/solaryzed-exe/solaryzed-exe"},{"type":"configured","id":"solaryzed-0.1.0.0-inplace-solaryzed-test","pkg-name":"solaryzed","pkg-version":"0.1.0.0","flags":{},"style":"local","pkg-src":{"type":"local","path":"/Users/yaesposi/y/solaryzed/."},"dist-dir":"/Users/yaesposi/y/solaryzed/dist-newstyle/build/x86_64-osx/ghc-8.6.5/solaryzed-0.1.0.0/t/solaryzed-test","depends":["base-4.12.0.0","cnvrtbl-1.1.1.0-69f13ead","przm-3.0.0-1dc68b36","solaryzed-0.1.0.0-inplace","text-1.2.3.1"],"exe-depends":[],"component-name":"test:solaryzed-test","bin-file":"/Users/yaesposi/y/solaryzed/dist-newstyle/build/x86_64-osx/ghc-8.6.5/solaryzed-0.1.0.0/t/solaryzed-test/build/solaryzed-test/solaryzed-test"},{"type":"pre-existing","id":"text-1.2.3.1","pkg-name":"text","pkg-version":"1.2.3.1","depends":["array-0.5.3.0","base-4.12.0.0","binary-0.8.6.0","bytestring-0.10.8.2","deepseq-1.4.4.0","ghc-prim-0.5.3","integer-gmp-1.0.2.0"]},{"type":"pre-existing","id":"time-1.8.0.2","pkg-name":"time","pkg-version":"1.8.0.2","depends":["base-4.12.0.0","deepseq-1.4.4.0"]},{"type":"pre-existing","id":"transformers-0.5.6.2","pkg-name":"transformers","pkg-version":"0.5.6.2","depends":["base-4.12.0.0"]}]} \ No newline at end of file diff --git a/hs/dist-newstyle/cache/solver-plan b/hs/dist-newstyle/cache/solver-plan deleted file mode 100644 index d026c06..0000000 Binary files a/hs/dist-newstyle/cache/solver-plan and /dev/null differ diff --git a/hs/dist-newstyle/cache/source-hashes b/hs/dist-newstyle/cache/source-hashes deleted file mode 100644 index 801465b..0000000 Binary files a/hs/dist-newstyle/cache/source-hashes and /dev/null differ diff --git a/hs/dist-newstyle/cache/up-to-date b/hs/dist-newstyle/cache/up-to-date deleted file mode 100644 index c32d04a..0000000 Binary files a/hs/dist-newstyle/cache/up-to-date and /dev/null differ diff --git a/hs/example.html b/hs/example.html deleted file mode 100644 index 604e40e..0000000 --- a/hs/example.html +++ /dev/null @@ -1,161 +0,0 @@ - - - - - -
-
base03
-
base02
-
base01
-
base00
-
base0
-
base1
-
base2
-
base3
-
magenta
-
red
-
orange
-
yellow
-
green
-
cyan
-
blue
-
violet
-
magenta-d
-
red-d
-
orange-d
-
yellow-d
-
green-d
-
cyan-d
-
blue-d
-
violet-d
-
magenta-l
-
red-l
-
orange-l
-
yellow-l
-
green-l
-
cyan-l
-
blue-l
-
violet-l
-
-
-
base03
-
base02
-
base01
-
base00
-
base0
-
base1
-
base2
-
base3
-
magenta
-
red
-
orange
-
yellow
-
green
-
cyan
-
blue
-
violet
-
magenta-d
-
red-d
-
orange-d
-
yellow-d
-
green-d
-
cyan-d
-
blue-d
-
violet-d
-
magenta-l
-
red-l
-
orange-l
-
yellow-l
-
green-l
-
cyan-l
-
blue-l
-
violet-l
-
- - diff --git a/hs/package.yaml b/hs/package.yaml deleted file mode 100644 index 64bc810..0000000 --- a/hs/package.yaml +++ /dev/null @@ -1,53 +0,0 @@ -name: solaryzed -version: 0.1.0.0 -github: "githubuser/solaryzed" -license: BSD3 -author: "Author name here" -maintainer: "example@example.com" -copyright: "2019 Author name here" - -extra-source-files: -- README.md -- ChangeLog.md - -# Metadata used when publishing your package -# synopsis: Short description of your package -# category: Web - -# To avoid duplicated efforts in documentation and dealing with the -# complications of embedding Haddock markup inside cabal files, it is -# common to point users to the README.md file. -description: Please see the README on GitHub at - -dependencies: -- base >= 4.7 && < 5 -- protolude -- prizm -- convertible -- text -- text-format - -library: - source-dirs: src - -executables: - solaryzed-exe: - main: Main.hs - source-dirs: app - ghc-options: - - -threaded - - -rtsopts - - -with-rtsopts=-N - dependencies: - - solaryzed - -tests: - solaryzed-test: - main: Spec.hs - source-dirs: test - ghc-options: - - -threaded - - -rtsopts - - -with-rtsopts=-N - dependencies: - - solaryzed diff --git a/hs/resources/example.tpl b/hs/resources/example.tpl deleted file mode 100644 index 4ad5a75..0000000 --- a/hs/resources/example.tpl +++ /dev/null @@ -1,130 +0,0 @@ - - - - - -
-
base03
-
base02
-
base01
-
base00
-
base0
-
base1
-
base2
-
base3
-
magenta
-
red
-
orange
-
yellow
-
green
-
cyan
-
blue
-
violet
-
magenta-d
-
red-d
-
orange-d
-
yellow-d
-
green-d
-
cyan-d
-
blue-d
-
violet-d
-
magenta-l
-
red-l
-
orange-l
-
yellow-l
-
green-l
-
cyan-l
-
blue-l
-
violet-l
-
-
-
base03
-
base02
-
base01
-
base00
-
base0
-
base1
-
base2
-
base3
-
magenta
-
red
-
orange
-
yellow
-
green
-
cyan
-
blue
-
violet
-
magenta-d
-
red-d
-
orange-d
-
yellow-d
-
green-d
-
cyan-d
-
blue-d
-
violet-d
-
magenta-l
-
red-l
-
orange-l
-
yellow-l
-
green-l
-
cyan-l
-
blue-l
-
violet-l
-
- - diff --git a/hs/src/Solaryzed.hs b/hs/src/Solaryzed.hs deleted file mode 100644 index 56ca5e6..0000000 --- a/hs/src/Solaryzed.hs +++ /dev/null @@ -1,88 +0,0 @@ -{-# LANGUAGE NoImplicitPrelude #-} -{-# LANGUAGE OverloadedStrings #-} -module Solaryzed - ( genPalette - , paletteLabels - , genExtendedPalette - , extendedPaletteLabels - ) where - -import Protolude - -import Data.Convertible.Base (convert) -import Data.Prizm.Color (HexRGB (..), LAB (..), LCH (..), mkLAB, - mkLCH) -import Data.Prizm.Types (ColorCoord (..)) -import Data.Text (Text) - --- | given the *a *b of the darkest and lightest colors --- generate all the CIE of the solarized needed colors --- from base03 to base3 -genBase :: Double -> Double -> Double -> Double -> [HexRGB] -genBase adark bdark alight blight = - map (convert . (\n -> mkLAB n (ratio n adark alight) (ratio n bdark blight))) - [10.0,15,40,50,60,70,92,97] - where - ratio :: Double -> Double -> Double -> Double - ratio n d l = ((97 - n)*d + (n-15)*l)/82 - -genColors :: HexRGB -> [HexRGB] -genColors exampleColor = - let (ColorCoord (l,c,h)) = unLCH (convert exampleColor) - in map (convert . mkLCH 50 c) [1, 18, 45, 68, 175, 205, 237, 331] - --- | Generate a solarized-like palette given 3 colors --- base03, base3 and a color like yellow -genPalette :: HexRGB -> HexRGB -> HexRGB -> [Text] -genPalette dark light exampleColor = map unHexRGB $ - genBase adark bdark alight blight <> genColors exampleColor - where - (ColorCoord (_,adark,bdark)) = unLAB (convert dark) - (ColorCoord (_,alight,blight)) = unLAB (convert light) - -genExtendedColors :: HexRGB -> [HexRGB] -genExtendedColors exampleColor = - let (ColorCoord (l,c,h)) = unLCH (convert exampleColor) - hues = [1, 18, 45, 68, 175, 205, 237, 331] - -- hues = map (fromIntegral . (`rem` 360) . floor . (h+)) [i * 45 | i <- [0..7]] - in map (convert . mkLCH 60 c) hues - <> map (convert . mkLCH 35 c) hues - <> map (convert . mkLCH 85 c) hues - -genExtendedPalette :: HexRGB -> HexRGB -> HexRGB -> [HexRGB] -genExtendedPalette darkc lightc accentc = - genBase adark bdark alight blight <> genExtendedColors accentc - where - (ColorCoord (_,adark,bdark)) = unLAB (convert darkc) - (ColorCoord (_,alight,blight)) = unLAB (convert lightc) - -baseLabels :: [Text] -baseLabels = [ "base03" - , "base02" - , "base01" - , "base00" - , "base0" - , "base1" - , "base2" - , "base3" - ] - -colorLabels :: [Text] -colorLabels = [ "magenta" - , "red" - , "orange" - , "yellow" - , "green" - , "cyan" - , "blue" - , "violet" - ] - -paletteLabels :: [Text] -paletteLabels = baseLabels - <> colorLabels - -extendedPaletteLabels :: [Text] -extendedPaletteLabels = paletteLabels - <> map (<> "-d") colorLabels - <> map (<> "-l") colorLabels diff --git a/hs/stack.yaml b/hs/stack.yaml deleted file mode 100644 index 80a0028..0000000 --- a/hs/stack.yaml +++ /dev/null @@ -1,68 +0,0 @@ -# This file was automatically generated by 'stack init' -# -# Some commonly used options have been documented as comments in this file. -# For advanced use and comprehensive documentation of the format, please see: -# https://docs.haskellstack.org/en/stable/yaml_configuration/ - -# Resolver to choose a 'specific' stackage snapshot or a compiler version. -# A snapshot resolver dictates the compiler version and the set of packages -# to be used for project dependencies. For example: -# -# resolver: lts-3.5 -# resolver: nightly-2015-09-21 -# resolver: ghc-7.10.2 -# -# The location of a snapshot can be provided as a file or url. Stack assumes -# a snapshot provided as a file might change, whereas a url resource does not. -# -# resolver: ./custom-snapshot.yaml -# resolver: https://example.com/snapshots/2018-01-01.yaml -resolver: lts-14.11 - -# User packages to be built. -# Various formats can be used as shown in the example below. -# -# packages: -# - some-directory -# - https://example.com/foo/bar/baz-0.0.2.tar.gz -# subdirs: -# - auto-update -# - wai -packages: -- . -# Dependency packages to be pulled from upstream that are not in the resolver. -# These entries can reference officially published versions as well as -# forks / in-progress versions pinned to a git hash. For example: -# -# extra-deps: -# - acme-missiles-0.3 -# - git: https://github.com/commercialhaskell/stack.git -# commit: e7b331f14bcffb8367cd58fbfc8b40ec7642100a -# -# extra-deps: [] -extra-deps: -- prizm-3.0.0 - -# Override default flag values for local packages and extra-deps -# flags: {} - -# Extra package databases containing global packages -# extra-package-dbs: [] - -# Control whether we use the GHC we find on the path -# system-ghc: true -# -# Require a specific version of stack, using version ranges -# require-stack-version: -any # Default -# require-stack-version: ">=2.1" -# -# Override the architecture used by stack, especially useful on Windows -# arch: i386 -# arch: x86_64 -# -# Extra directories used by stack for building -# extra-include-dirs: [/path/to/dir] -# extra-lib-dirs: [/path/to/dir] -# -# Allow a newer minor version of GHC than the snapshot specifies -# compiler-check: newer-minor diff --git a/hs/stack.yaml.lock b/hs/stack.yaml.lock deleted file mode 100644 index abe945e..0000000 --- a/hs/stack.yaml.lock +++ /dev/null @@ -1,19 +0,0 @@ -# This file was autogenerated by Stack. -# You should not edit this file by hand. -# For more information, please see the documentation at: -# https://docs.haskellstack.org/en/stable/lock_files - -packages: -- completed: - hackage: prizm-3.0.0@sha256:f7b7c3992c5070b8b2275f04c9a5b321904cbfc9ea85dfeccd4d9a626fcc26e1,2650 - pantry-tree: - size: 1233 - sha256: 0525fee0ef9bacafa4a2eb75cea726ef9e06c1cc050c86e60b127f631c1ed676 - original: - hackage: prizm-3.0.0 -snapshots: -- completed: - size: 524786 - url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/14/11.yaml - sha256: 088bb91b545839510a41ae92fa5feb36779ef3529571a42bd12b9f51eb89ded3 - original: lts-14.11 diff --git a/hs/test/Spec.hs b/hs/test/Spec.hs deleted file mode 100644 index cd4753f..0000000 --- a/hs/test/Spec.hs +++ /dev/null @@ -1,2 +0,0 @@ -main :: IO () -main = putStrLn "Test suite not yet implemented" diff --git a/ui/index.js b/index.js similarity index 100% rename from ui/index.js rename to index.js diff --git a/ui/packages.dhall b/packages.dhall similarity index 100% rename from ui/packages.dhall rename to packages.dhall diff --git a/ui/shell.nix b/shell.nix similarity index 100% rename from ui/shell.nix rename to shell.nix diff --git a/ui/spago.dhall b/spago.dhall similarity index 100% rename from ui/spago.dhall rename to spago.dhall diff --git a/ui/src/Button.purs b/src/Button.purs similarity index 100% rename from ui/src/Button.purs rename to src/Button.purs diff --git a/ui/src/Main.purs b/src/Main.purs similarity index 100% rename from ui/src/Main.purs rename to src/Main.purs diff --git a/ui/src/Solaryzed.purs b/src/Solaryzed.purs similarity index 100% rename from ui/src/Solaryzed.purs rename to src/Solaryzed.purs diff --git a/ui/src/Solaryzed/Palette.purs b/src/Solaryzed/Palette.purs similarity index 100% rename from ui/src/Solaryzed/Palette.purs rename to src/Solaryzed/Palette.purs diff --git a/ui/test/Main.purs b/test/Main.purs similarity index 100% rename from ui/test/Main.purs rename to test/Main.purs diff --git a/ui/.gitignore b/ui/.gitignore deleted file mode 100644 index 123028e..0000000 --- a/ui/.gitignore +++ /dev/null @@ -1,12 +0,0 @@ -/bower_components/ -/node_modules/ -/.pulp-cache/ -/output/ -/generated-docs/ -/.psc-package/ -/.psc* -/.purs* -/.psa* -/.spago -.cache -dist