diff --git a/src/index.js b/src/index.js index f72e144..737b6bb 100644 --- a/src/index.js +++ b/src/index.js @@ -1,3 +1,2 @@ import './router.imba' -import './main.imba' -R.url_changed() // the best if you move it right before imba.mount \ No newline at end of file +import './main.imba' \ No newline at end of file diff --git a/src/main.imba b/src/main.imba index 104c1e4..2db5eba 100644 --- a/src/main.imba +++ b/src/main.imba @@ -1,13 +1,16 @@ -css +global css html, body m:0 p:0 body ff:mono bgc:gray9 a c:violet6 td:none td@hover:underline - .active, .activated filter:brightness(130%) + .active filter:brightness(130%) + .activated bgc:violet3 + .disabled, .disabled@hover filter:grayscale(100%) + .zoomed scale:1.05 .button d:inline-block m:2px bgc:none c:violet7 td:none bxs:sm us:none - .button@hover, .button.active bxs:md filter:hue-rotate(5deg) ml:0px pl:12px td:none + .button@hover, .button.active bxs:md filter:hue-rotate(5deg) mb:0px pt:12px td:none .button, code, .bordered p:10px bd:2px solid violet5 rd:10px d:inline-block .bordered p:2.5px bw:1.5px c:violet9 - .night filter:invert(100%) + .night filter:invert(20%) .gradient bg:linear-gradient(to right,violet7,blue6,violet7) fw:normal @@ -19,12 +22,12 @@ tag App d:bbox mx:auto my:50px bgc:white p:40px rd:5px maw:1024px of:auto @lt-xs m:0 px:0 rd:0 - + "pro-router-imba2: Imba2 integration with pro-router" <[d:flex flw:wrap w:100% jc:space-between]> - - + + ### "b/project/2" "c/book/3" @@ -32,104 +35,26 @@ tag App ### -tag Menu - +tag app-menu + v.toUpperCase! for v in R.views - ### - 'WRONG WAY!' - -