Skip to content

Commit

Permalink
refine tag colors; tag 0.5.7
Browse files Browse the repository at this point in the history
  • Loading branch information
tiye committed Dec 10, 2023
1 parent 84b8b9e commit 9312ad4
Show file tree
Hide file tree
Showing 5 changed files with 299 additions and 262 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/upload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ jobs:

- uses: supplypike/setup-bin@v3
with:
uri: 'https://github.com/calcit-lang/calcit/releases/download/0.8.13/cr'
uri: 'https://github.com/calcit-lang/calcit/releases/download/0.8.14/cr'
name: 'cr'
version: '0.8.13'
version: '0.8.14'

- uses: supplypike/setup-bin@v3
with:
uri: 'https://github.com/calcit-lang/calcit/releases/download/0.8.13/caps'
uri: 'https://github.com/calcit-lang/calcit/releases/download/0.8.14/caps'
name: 'caps'
version: '0.8.13'
version: '0.8.14'

- name: "compiles to js"
run: >
Expand Down
64 changes: 46 additions & 18 deletions calcit.cirru

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 16 additions & 13 deletions compact.cirru
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

{} (:package |respo-ui)
:configs $ {} (:init-fn |respo-ui.main/main!) (:reload-fn |respo-ui.main/reload!) (:version |0.5.6)
:configs $ {} (:init-fn |respo-ui.main/main!) (:reload-fn |respo-ui.main/reload!) (:version |0.5.7)
:modules $ [] |respo.calcit/ |lilac/ |memof/ |respo-router.calcit/ |respo-markdown.calcit/
:entries $ {}
:files $ {}
Expand Down Expand Up @@ -117,7 +117,8 @@
case-default kind nil (:info style-tag-info) (:success style-tag-success) (:warning style-tag-warning) (:error style-tag-error)
:class-name options
:style $ :style options
:on-click $ :on-click options
:on-click $ either (:on-click options)
fn $ e d!
<> content
|comp-time $ %{} :CodeEntry (:doc "|pass a time in string(internally handled by dayjs)\n\nif is today, just show the time of today.\nif not today, only show date and week.\n\nneed to be extended in future...")
:code $ quote
Expand Down Expand Up @@ -177,7 +178,7 @@
|style-copy-outline $ %{} :CodeEntry (:doc |)
:code $ quote
defstyle style-copy-outline $ {}
"\"&" $ {} (:position :absolute) (:top 10) (:right 10) (:width 13) (:height 13) (:border-radius "\"2px")
"\"&" $ {} (:position :absolute) (:top 10) (:right 10) (:width 12) (:height 12) (:border-radius "\"2px")
:border $ str "\"1.5px solid " (hsl 0 0 80)
:cursor :pointer
:outline "\"1px solid white"
Expand Down Expand Up @@ -206,7 +207,7 @@
:line-height "\"20px"
:font-size 12
:padding "\"0px 8px"
:color $ hsl 0 0 56
:color $ hsl 0 0 64
:cursor :default
"\"&:hover" $ {}
:background-color $ hsl 0 0 94
Expand All @@ -215,30 +216,32 @@
:code $ quote
defstyle style-tag-error $ {}
"\"div&" $ {} (:color :white) (:border :none)
:background-color $ hsl 0 90 80
:background-color $ hsl 0 90 76
"\"div&:hover" $ {}
:background-color $ hsl 0 90 74
:background-color $ hsl 0 90 72
|style-tag-info $ %{} :CodeEntry (:doc |)
:code $ quote
defstyle style-tag-info $ {}
"\"div&" $ {} (:color :white) (:border :none)
:background-color $ hsl 240 99 85
:background-color $ hsl 240 99 86
"\"div&:hover" $ {}
:background-color $ hsl 240 99 80
:background-color $ hsl 240 99 84
|style-tag-success $ %{} :CodeEntry (:doc |)
:code $ quote
defstyle style-tag-success $ {}
"\"div&" $ {} (:color :white) (:border :none)
:background-color $ hsl 120 99 85
:color $ hsl 120 99 40
:background-color $ hsl 120 99 92
"\"div&:hover" $ {}
:background-color $ hsl 120 99 80
:background-color $ hsl 120 99 88
|style-tag-warning $ %{} :CodeEntry (:doc |)
:code $ quote
defstyle style-tag-warning $ {}
"\"div&" $ {} (:color :white) (:border :none)
:background-color $ hsl 56 98 60
:color $ hsl 60 90 30
:background-color $ hsl 60 98 58
"\"div&:hover" $ {}
:background-color $ hsl 56 98 48
:background-color $ hsl 60 98 49
:ns $ %{} :CodeEntry (:doc |)
:code $ quote
ns respo-ui.comp $ :require
Expand Down Expand Up @@ -411,7 +414,7 @@
:class-name $ str-spaced css/flex css/row
:style $ {} (:gap "\"8px")
comp-tag :info "\"info demo"
comp-tag :success "\"info demo"
comp-tag :success "\"success demo"
comp-tag :warning "\"warning demo"
comp-tag :error "\"error demo"
comp-tag :default "\"default demo"
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"version": "0.5.6",
"version": "0.5.7",
"dependencies": {
"@calcit/procs": "^0.8.13",
"@calcit/procs": "^0.8.14",
"copy-text-to-clipboard": "^3.2.0",
"dayjs": "^1.11.10"
},
"devDependencies": {
"bottom-tip": "^0.1.5",
"cirru-color": "^0.2.3",
"vite": "^5.0.4"
"cirru-color": "^0.2.4",
"vite": "^5.0.7"
}
}
Loading

0 comments on commit 9312ad4

Please sign in to comment.