diff options
author | bptato <nincsnevem662@gmail.com> | 2021-11-19 22:01:31 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2021-11-19 22:01:31 +0100 |
commit | 8579619813e6c65f9bfe52f3429292b661838f38 (patch) | |
tree | be70fb0d0030c655800a9d4f0bf1559b6673e540 /src/layout | |
parent | 8bbff1f79920fa8175da7425f8f23ad08b97f79e (diff) | |
download | chawan-8579619813e6c65f9bfe52f3429292b661838f38.tar.gz |
Refactor cascading logic and css values
applyStylesheets is now in style.nim and computed values etc in values.nim
Diffstat (limited to 'src/layout')
-rw-r--r-- | src/layout/box.nim | 2 | ||||
-rw-r--r-- | src/layout/engine.nim | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/layout/box.nim b/src/layout/box.nim index 07bc5f5b..ca385336 100644 --- a/src/layout/box.nim +++ b/src/layout/box.nim @@ -1,5 +1,5 @@ import types/enums -import css/style +import css/values import html/dom type diff --git a/src/layout/engine.nim b/src/layout/engine.nim index 71dab4c2..4f0c6a58 100644 --- a/src/layout/engine.nim +++ b/src/layout/engine.nim @@ -3,7 +3,7 @@ import unicode import layout/box import types/enums import html/dom -import css/style +import css/values import utils/twtstr func newContext*(box: CSSBox): Context = |