You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
-184Lines changed: 0 additions & 184 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,187 +4,3 @@ Web View
4
4
## DEPRECATED
5
5
6
6
This package has been renamed to [atomic-css](http://github.com/seanhess/atomic-css), focusing on css utilities. `View` features like `context` have been moved to [hyperbole](https://github.com/seanhess/hyperbole)
We can apply styles when certain states apply. For example, to change the background on hover:
67
-
68
-
```haskell
69
-
button (bg Primary. hover (bg PrimaryLight)) "Hover Me"
70
-
```
71
-
72
-
Media states allow us to create responsive designs
73
-
74
-
```haskell
75
-
el (width 100. media (MinWidth800) (width 400))
76
-
"Big if window > 800"
77
-
```
78
-
79
-
### Try Example Project with Nix
80
-
81
-
If you want to get a feel for web-view without cloning the project run `nix run github:seanhess/web-view` to run the example webserver locally
82
-
83
-
Import Flake
84
-
------------
85
-
86
-
You can import this flake's overlay to add `web-view` to `overriddenHaskellPackages` and which provides a ghc966 and ghc982 package set that satisfy `web-view`'s dependencies.
If you want to work on both the web-view library and example code, this `ghcid` command will run and reload the examples server as you change any non-testing code.
Follow these [instructions](https://nixos.org/manual/nixpkgs/unstable/#haskell-packaging-helpers)
160
-
161
-
#### Dependencies Incorrect
162
-
163
-
You will need to update the overlay, look for where it says `"${packageName}" = hfinal.callCabal2nix packageName src { };` and add a line like `Diff = hfinal.callHackage "Diff" "0.5" { };` with the package and version you need.
164
-
165
-
#### Missing Files
166
-
167
-
Check the `include` inside the `nix-filter.lib` to see if all files needed by cabal are there.
Copy file name to clipboardExpand all lines: web-view.cabal
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ cabal-version: 2.2
5
5
-- see: https://github.com/sol/hpack
6
6
7
7
name: web-view
8
-
version: 0.7.0
8
+
version: 0.7.1
9
9
synopsis: Type-safe HTML and CSS with intuitive layouts and composable styles.
10
10
description: Type-safe HTML and CSS with intuitive layouts and composable styles. Inspired by Tailwindcss and Elm-UI . See documentation for the @Web.View@ module below
0 commit comments