Skip to content

Commit 8d4bb9f

Browse files
authored
Fixing divide and adding box-content and user select (#15)
Co-authored-by: Robert Geršak <[email protected]>
1 parent a23b244 commit 8d4bb9f

File tree

1 file changed

+20
-8
lines changed

1 file changed

+20
-8
lines changed

src/main/shadow/css/aliases.edn

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,11 @@
357357
:shadow-sm {:box-shadow "0 1px 2px 0 rgb(0 0 0 / 0.05)"}
358358
:shadow-xl {:box-shadow "0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)"}
359359

360+
361+
;; box sizing
362+
:box-border {:box-sizing "border-box"}
363+
:box-content {:box-sizing "box-content"}
364+
360365
;; outline
361366
:outline {:outline-style "solid"}
362367
:outline-dashed {:outline-style "dashed"}
@@ -516,6 +521,13 @@
516521
:cursor-zoom-in {:cursor "zoom-in"}
517522
:cursor-zoom-out {:cursor "zoom-out"}
518523

524+
525+
;; select
526+
:select-none {:user-select "none"}
527+
:select-text {:user-select "text"}
528+
:select-all {:user-select "all"}
529+
:select-auto {:user-select "auto"}
530+
519531
;; pointer events
520532
:pointer-events-none {:pointer-events "none"}
521533
:pointer-events-auto {:pointer-events "auto"}
@@ -623,16 +635,16 @@
623635
:divide-none [["& > * + *" {:border-style "none"}]]
624636
:divide-solid [["& > * + *" {:border-style "solid"}]]
625637

626-
:divide-x [["& > * + *" {:border-right-width "1px", :border-left-width "0px"}]]
638+
:divide-x [["& > * + *" {:border-right-width "0px", :border-left-width "1px"}]]
627639
:divide-x-0 [["& > * + *" {:border-right-width "0px", :border-left-width "0px"}]]
628-
:divide-x-2 [["& > * + *" {:border-right-width "2px", :border-left-width "0px"}]]
629-
:divide-x-4 [["& > * + *" {:border-right-width "4px", :border-left-width "0px"}]]
630-
:divide-x-8 [["& > * + *" {:border-right-width "8px", :border-left-width "0px"}]]
631-
:divide-y [["& > * + *" {:border-top-width "0px", :border-bottom-width "1px"}]]
640+
:divide-x-2 [["& > * + *" {:border-right-width "0px", :border-left-width "2px"}]]
641+
:divide-x-4 [["& > * + *" {:border-right-width "0px", :border-left-width "4px"}]]
642+
:divide-x-8 [["& > * + *" {:border-right-width "0px", :border-left-width "8px"}]]
643+
:divide-y [["& > * + *" {:border-top-width "1px", :border-bottom-width "0px"}]]
632644
:divide-y-0 [["& > * + *" {:border-top-width "0px", :border-bottom-width "0px"}]]
633-
:divide-y-2 [["& > * + *" {:border-top-width "0px", :border-bottom-width "2px"}]]
634-
:divide-y-4 [["& > * + *" {:border-top-width "0px", :border-bottom-width "4px"}]]
635-
:divide-y-8 [["& > * + *" {:border-top-width "0px", :border-bottom-width "8px"}]]
645+
:divide-y-2 [["& > * + *" {:border-top-width "2px", :border-bottom-width "0px"}]]
646+
:divide-y-4 [["& > * + *" {:border-top-width "4px", :border-bottom-width "0px"}]]
647+
:divide-y-8 [["& > * + *" {:border-top-width "8px", :border-bottom-width "0px"}]]
636648

637649
;; visibility
638650
:visible {:visibility "visible"}

0 commit comments

Comments
 (0)