@rokkit/themes 1.0.0-next.99 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +118 -9
- package/build.mjs +254 -0
- package/dist/ant-design.css +2129 -0
- package/dist/base.css +6378 -0
- package/dist/bits-ui.css +2113 -0
- package/dist/carbon.css +2123 -0
- package/dist/daisy-ui.css +2138 -0
- package/dist/frosted.css +1953 -0
- package/dist/grada-ui.css +1915 -0
- package/dist/index.css +27231 -0
- package/dist/material.css +1924 -0
- package/dist/minimal.css +1978 -0
- package/dist/rokkit.css +2471 -0
- package/dist/shadcn.css +2099 -0
- package/package.json +221 -48
- package/src/ant-design/button.css +190 -0
- package/src/ant-design/card.css +100 -0
- package/src/ant-design/chart.css +34 -0
- package/src/ant-design/connector.css +11 -0
- package/src/ant-design/dropdown.css +50 -0
- package/src/ant-design/floating-action.css +63 -0
- package/src/ant-design/floating-navigation.css +70 -0
- package/src/ant-design/grid.css +46 -0
- package/src/ant-design/index.css +35 -0
- package/src/ant-design/input.css +151 -0
- package/src/ant-design/list.css +126 -0
- package/src/ant-design/menu.css +88 -0
- package/src/ant-design/message.css +35 -0
- package/src/ant-design/range.css +61 -0
- package/src/ant-design/search-filter.css +49 -0
- package/src/ant-design/select.css +158 -0
- package/src/ant-design/status-list.css +66 -0
- package/src/ant-design/step-indicator.css +38 -0
- package/src/ant-design/switch.css +29 -0
- package/src/ant-design/table.css +91 -0
- package/src/ant-design/tabs.css +153 -0
- package/src/ant-design/timeline.css +45 -0
- package/src/ant-design/toc.css +18 -0
- package/src/ant-design/toggle.css +48 -0
- package/src/ant-design/toolbar.css +85 -0
- package/src/ant-design/tree.css +137 -0
- package/src/ant-design/upload-progress.css +102 -0
- package/src/ant-design/upload-target.css +50 -0
- package/src/base/alert-list.css +91 -0
- package/src/base/avatar.css +82 -0
- package/src/base/badge.css +41 -0
- package/src/base/breadcrumbs.css +47 -0
- package/src/base/button.css +254 -0
- package/src/base/card.css +39 -0
- package/src/base/carousel.css +122 -12
- package/src/base/chart.css +94 -0
- package/src/base/connector.css +92 -0
- package/src/base/density.css +51 -0
- package/src/base/display.css +91 -0
- package/src/base/divider.css +49 -0
- package/src/base/dropdown.css +167 -0
- package/src/base/floating-action.css +388 -0
- package/src/base/floating-navigation.css +405 -0
- package/src/base/graph-paper.css +83 -0
- package/src/base/grid.css +93 -0
- package/src/base/index.css +57 -0
- package/src/base/input.css +290 -0
- package/src/base/item.css +78 -0
- package/src/base/list.css +188 -0
- package/src/base/menu.css +277 -0
- package/src/base/message.css +62 -0
- package/src/base/nav-content.css +48 -0
- package/src/base/pill.css +57 -0
- package/src/base/progress.css +34 -0
- package/src/base/range.css +121 -0
- package/src/base/rating.css +42 -0
- package/src/base/responsive-grid.css +8 -0
- package/src/base/reveal.css +37 -0
- package/src/base/search-filter.css +132 -0
- package/src/base/select.css +413 -0
- package/src/base/shine.css +14 -0
- package/src/base/stack.css +76 -0
- package/src/base/status-list.css +19 -0
- package/src/base/step-indicator.css +74 -0
- package/src/base/stepper.css +140 -0
- package/src/base/swatch.css +85 -0
- package/src/base/switch.css +152 -0
- package/src/base/table.css +193 -33
- package/src/base/tabs.css +171 -0
- package/src/base/tilt.css +14 -0
- package/src/base/timeline.css +84 -0
- package/src/base/toc.css +50 -0
- package/src/base/toggle.css +138 -0
- package/src/base/toolbar.css +341 -0
- package/src/base/tooltip.css +64 -0
- package/src/base/tree.css +228 -11
- package/src/base/typography.css +31 -0
- package/src/base/upload-progress.css +155 -0
- package/src/base/upload-target.css +77 -0
- package/src/bits-ui/button.css +176 -0
- package/src/bits-ui/card.css +99 -0
- package/src/bits-ui/chart.css +34 -0
- package/src/bits-ui/connector.css +11 -0
- package/src/bits-ui/dropdown.css +50 -0
- package/src/bits-ui/floating-action.css +63 -0
- package/src/bits-ui/floating-navigation.css +70 -0
- package/src/bits-ui/grid.css +46 -0
- package/src/bits-ui/index.css +35 -0
- package/src/bits-ui/input.css +154 -0
- package/src/bits-ui/list.css +126 -0
- package/src/bits-ui/menu.css +88 -0
- package/src/bits-ui/message.css +35 -0
- package/src/bits-ui/range.css +61 -0
- package/src/bits-ui/search-filter.css +49 -0
- package/src/bits-ui/select.css +158 -0
- package/src/bits-ui/status-list.css +66 -0
- package/src/bits-ui/step-indicator.css +40 -0
- package/src/bits-ui/switch.css +29 -0
- package/src/bits-ui/table.css +89 -0
- package/src/bits-ui/tabs.css +151 -0
- package/src/bits-ui/timeline.css +45 -0
- package/src/bits-ui/toc.css +18 -0
- package/src/bits-ui/toggle.css +48 -0
- package/src/bits-ui/toolbar.css +85 -0
- package/src/bits-ui/tree.css +135 -0
- package/src/bits-ui/upload-progress.css +102 -0
- package/src/bits-ui/upload-target.css +50 -0
- package/src/carbon/button.css +186 -0
- package/src/carbon/card.css +97 -0
- package/src/carbon/chart.css +34 -0
- package/src/carbon/connector.css +11 -0
- package/src/carbon/dropdown.css +50 -0
- package/src/carbon/floating-action.css +63 -0
- package/src/carbon/floating-navigation.css +70 -0
- package/src/carbon/grid.css +46 -0
- package/src/carbon/index.css +34 -0
- package/src/carbon/input.css +148 -0
- package/src/carbon/list.css +124 -0
- package/src/carbon/menu.css +88 -0
- package/src/carbon/message.css +37 -0
- package/src/carbon/range.css +61 -0
- package/src/carbon/search-filter.css +49 -0
- package/src/carbon/select.css +158 -0
- package/src/carbon/status-list.css +66 -0
- package/src/carbon/step-indicator.css +40 -0
- package/src/carbon/switch.css +31 -0
- package/src/carbon/table.css +93 -0
- package/src/carbon/tabs.css +151 -0
- package/src/carbon/timeline.css +45 -0
- package/src/carbon/toc.css +22 -0
- package/src/carbon/toggle.css +48 -0
- package/src/carbon/toolbar.css +84 -0
- package/src/carbon/tree.css +135 -0
- package/src/carbon/upload-progress.css +102 -0
- package/src/carbon/upload-target.css +50 -0
- package/src/daisy-ui/button.css +196 -0
- package/src/daisy-ui/card.css +99 -0
- package/src/daisy-ui/chart.css +34 -0
- package/src/daisy-ui/connector.css +11 -0
- package/src/daisy-ui/dropdown.css +50 -0
- package/src/daisy-ui/floating-action.css +63 -0
- package/src/daisy-ui/floating-navigation.css +70 -0
- package/src/daisy-ui/grid.css +46 -0
- package/src/daisy-ui/index.css +34 -0
- package/src/daisy-ui/input.css +148 -0
- package/src/daisy-ui/list.css +127 -0
- package/src/daisy-ui/menu.css +88 -0
- package/src/daisy-ui/message.css +37 -0
- package/src/daisy-ui/range.css +61 -0
- package/src/daisy-ui/search-filter.css +49 -0
- package/src/daisy-ui/select.css +158 -0
- package/src/daisy-ui/status-list.css +66 -0
- package/src/daisy-ui/step-indicator.css +37 -0
- package/src/daisy-ui/switch.css +31 -0
- package/src/daisy-ui/table.css +91 -0
- package/src/daisy-ui/tabs.css +153 -0
- package/src/daisy-ui/timeline.css +45 -0
- package/src/daisy-ui/toc.css +22 -0
- package/src/daisy-ui/toggle.css +48 -0
- package/src/daisy-ui/toolbar.css +85 -0
- package/src/daisy-ui/tree.css +137 -0
- package/src/daisy-ui/upload-progress.css +102 -0
- package/src/daisy-ui/upload-target.css +50 -0
- package/src/frosted/button.css +224 -0
- package/src/frosted/card.css +130 -0
- package/src/frosted/chart.css +38 -0
- package/src/frosted/dropdown.css +66 -0
- package/src/frosted/floating-action.css +61 -0
- package/src/frosted/floating-navigation.css +74 -0
- package/src/frosted/index.css +31 -0
- package/src/frosted/input.css +135 -0
- package/src/frosted/list.css +122 -0
- package/src/frosted/menu.css +108 -0
- package/src/frosted/message.css +35 -0
- package/src/frosted/range.css +61 -0
- package/src/frosted/search-filter.css +49 -0
- package/src/frosted/select.css +178 -0
- package/src/frosted/status-list.css +66 -0
- package/src/frosted/step-indicator.css +41 -0
- package/src/frosted/swatch.css +21 -0
- package/src/frosted/switch.css +43 -0
- package/src/frosted/table.css +106 -0
- package/src/frosted/tabs.css +58 -0
- package/src/frosted/timeline.css +46 -0
- package/src/frosted/toc.css +18 -0
- package/src/frosted/toggle.css +48 -0
- package/src/frosted/toolbar.css +84 -0
- package/src/frosted/tree.css +110 -0
- package/src/grada-ui/button.css +249 -0
- package/src/grada-ui/card.css +96 -0
- package/src/grada-ui/chart.css +34 -0
- package/src/grada-ui/dropdown.css +58 -0
- package/src/grada-ui/floating-action.css +66 -0
- package/src/grada-ui/floating-navigation.css +69 -0
- package/src/grada-ui/index.css +56 -0
- package/src/grada-ui/input.css +154 -0
- package/src/grada-ui/list.css +124 -0
- package/src/grada-ui/menu.css +81 -0
- package/src/grada-ui/message.css +48 -0
- package/src/grada-ui/range.css +59 -0
- package/src/grada-ui/search-filter.css +47 -0
- package/src/grada-ui/select.css +190 -0
- package/src/grada-ui/status-list.css +66 -0
- package/src/grada-ui/step-indicator.css +37 -0
- package/src/grada-ui/switch.css +35 -0
- package/src/grada-ui/table.css +79 -0
- package/src/grada-ui/tabs.css +59 -0
- package/src/grada-ui/timeline.css +46 -0
- package/src/grada-ui/toc.css +24 -0
- package/src/grada-ui/toggle.css +47 -0
- package/src/grada-ui/toolbar.css +91 -0
- package/src/grada-ui/tree.css +100 -0
- package/src/index.css +18 -0
- package/src/index.js +25 -3
- package/src/material/button.css +178 -0
- package/src/material/card.css +99 -0
- package/src/material/chart.css +38 -0
- package/src/material/dropdown.css +50 -0
- package/src/material/floating-action.css +64 -0
- package/src/material/floating-navigation.css +74 -0
- package/src/material/index.css +31 -0
- package/src/material/input.css +139 -40
- package/src/material/list.css +94 -64
- package/src/material/menu.css +92 -0
- package/src/material/message.css +35 -0
- package/src/material/range.css +62 -0
- package/src/material/search-filter.css +49 -0
- package/src/material/select.css +177 -0
- package/src/material/status-list.css +66 -0
- package/src/material/step-indicator.css +41 -0
- package/src/material/swatch.css +21 -0
- package/src/material/switch.css +28 -0
- package/src/material/table.css +110 -0
- package/src/material/tabs.css +88 -0
- package/src/material/timeline.css +46 -0
- package/src/material/toc.css +18 -0
- package/src/material/toggle.css +48 -0
- package/src/material/toolbar.css +85 -0
- package/src/material/tree.css +134 -0
- package/src/minimal/button.css +176 -0
- package/src/minimal/card.css +99 -0
- package/src/minimal/chart.css +38 -0
- package/src/minimal/dropdown.css +50 -0
- package/src/minimal/floating-action.css +63 -0
- package/src/minimal/floating-navigation.css +70 -0
- package/src/minimal/index.css +31 -0
- package/src/minimal/input.css +137 -120
- package/src/minimal/list.css +96 -104
- package/src/minimal/menu.css +88 -0
- package/src/minimal/message.css +35 -0
- package/src/minimal/range.css +61 -0
- package/src/minimal/search-filter.css +49 -0
- package/src/minimal/select.css +170 -0
- package/src/minimal/status-list.css +66 -0
- package/src/minimal/step-indicator.css +40 -0
- package/src/minimal/swatch.css +21 -0
- package/src/minimal/switch.css +32 -0
- package/src/minimal/table.css +108 -0
- package/src/minimal/tabs.css +135 -28
- package/src/minimal/timeline.css +45 -0
- package/src/minimal/toc.css +18 -0
- package/src/minimal/toggle.css +48 -0
- package/src/minimal/toolbar.css +85 -0
- package/src/minimal/tree.css +135 -0
- package/src/palette.css +2 -20
- package/src/rokkit/avatar.css +29 -0
- package/src/rokkit/badge.css +29 -0
- package/src/rokkit/button.css +290 -0
- package/src/rokkit/card.css +102 -0
- package/src/rokkit/chart.css +38 -0
- package/src/rokkit/connector.css +11 -0
- package/src/rokkit/divider.css +26 -0
- package/src/rokkit/dropdown.css +70 -0
- package/src/rokkit/floating-action.css +65 -0
- package/src/rokkit/floating-navigation.css +83 -0
- package/src/rokkit/grid.css +46 -0
- package/src/rokkit/index.css +40 -0
- package/src/rokkit/input.css +124 -26
- package/src/rokkit/list.css +177 -0
- package/src/rokkit/menu.css +93 -0
- package/src/rokkit/message.css +44 -0
- package/src/rokkit/range.css +62 -0
- package/src/rokkit/search-filter.css +49 -0
- package/src/rokkit/select.css +190 -0
- package/src/rokkit/stack.css +6 -0
- package/src/rokkit/status-list.css +68 -0
- package/src/rokkit/step-indicator.css +41 -0
- package/src/rokkit/swatch.css +20 -0
- package/src/rokkit/switch.css +29 -0
- package/src/rokkit/table.css +88 -37
- package/src/rokkit/tabs.css +111 -0
- package/src/rokkit/timeline.css +46 -0
- package/src/rokkit/toc.css +18 -0
- package/src/rokkit/toggle.css +41 -11
- package/src/rokkit/toolbar.css +90 -0
- package/src/rokkit/tooltip.css +7 -0
- package/src/rokkit/tree.css +149 -0
- package/src/rokkit/upload-progress.css +102 -0
- package/src/rokkit/upload-target.css +50 -0
- package/src/shadcn/button.css +175 -0
- package/src/shadcn/card.css +99 -0
- package/src/shadcn/chart.css +34 -0
- package/src/shadcn/connector.css +11 -0
- package/src/shadcn/dropdown.css +50 -0
- package/src/shadcn/floating-action.css +63 -0
- package/src/shadcn/floating-navigation.css +70 -0
- package/src/shadcn/grid.css +46 -0
- package/src/shadcn/index.css +35 -0
- package/src/shadcn/input.css +143 -0
- package/src/shadcn/list.css +124 -0
- package/src/shadcn/menu.css +88 -0
- package/src/shadcn/message.css +35 -0
- package/src/shadcn/range.css +61 -0
- package/src/shadcn/search-filter.css +49 -0
- package/src/shadcn/select.css +158 -0
- package/src/shadcn/status-list.css +66 -0
- package/src/shadcn/step-indicator.css +37 -0
- package/src/shadcn/switch.css +31 -0
- package/src/shadcn/table.css +89 -0
- package/src/shadcn/tabs.css +151 -0
- package/src/shadcn/timeline.css +45 -0
- package/src/shadcn/toc.css +20 -0
- package/src/shadcn/toggle.css +48 -0
- package/src/shadcn/toolbar.css +84 -0
- package/src/shadcn/tree.css +135 -0
- package/src/shadcn/upload-progress.css +102 -0
- package/src/shadcn/upload-target.css +50 -0
- package/LICENSE +0 -21
- package/src/base/alert.css +0 -30
- package/src/base/animation.css +0 -22
- package/src/base/atoms.css +0 -58
- package/src/base/core.css +0 -92
- package/src/base/layout.css +0 -65
- package/src/base/molecules.css +0 -126
- package/src/base/organisms.css +0 -26
- package/src/base/scrollbar.css +0 -16
- package/src/base.css +0 -11
- package/src/constants.js +0 -8
- package/src/markdown.css +0 -955
- package/src/material/base.css +0 -12
- package/src/material/form.css +0 -30
- package/src/material.css +0 -9
- package/src/minimal/base.css +0 -8
- package/src/minimal/form.css +0 -87
- package/src/minimal.css +0 -11
- package/src/mixins/mixins.scss +0 -66
- package/src/mixins/palette.scss +0 -48
- package/src/prism.css +0 -102
- package/src/rokkit/alert.css +0 -4
- package/src/rokkit/atoms.css +0 -69
- package/src/rokkit/carousel.css +0 -19
- package/src/rokkit/layout.css +0 -17
- package/src/rokkit/molecules.css +0 -119
- package/src/rokkit/organisms.css +0 -315
- package/src/rokkit.css +0 -11
package/src/material/base.css
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
@import '../base.css';
|
|
2
|
-
|
|
3
|
-
.material icon[role='button'] {
|
|
4
|
-
@apply text-neutral-muted focus:rounded hover:text-primary focus:outline-primary focus:m-1px;
|
|
5
|
-
}
|
|
6
|
-
.material icon.disabled[role='button'] {
|
|
7
|
-
@apply text-neutral-subtle hover:text-neutral-subtle cursor-not-allowed;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.material * {
|
|
11
|
-
@apply focus:outline-primary-400;
|
|
12
|
-
}
|
package/src/material/form.css
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
.material field-layout.vertical {
|
|
2
|
-
@apply gap-5;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.material button,
|
|
6
|
-
.material .button {
|
|
7
|
-
@apply py-2 px-4 rounded bg-neutral-subtle uppercase;
|
|
8
|
-
}
|
|
9
|
-
.material button-group {
|
|
10
|
-
@apply flex justify-center rounded-sm shadow;
|
|
11
|
-
}
|
|
12
|
-
.material .is-primary {
|
|
13
|
-
@apply bg-primary text-white;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.material button-group > button {
|
|
17
|
-
@apply border-neutral-400 border-none rounded-none;
|
|
18
|
-
@apply bg-neutral-subtle focus:outline-none;
|
|
19
|
-
@apply uppercase text-sm text-neutral-800;
|
|
20
|
-
}
|
|
21
|
-
.material button-group > button:not(:last-child) {
|
|
22
|
-
@apply border-r;
|
|
23
|
-
}
|
|
24
|
-
.material button-group > button.active {
|
|
25
|
-
@apply bg-primary text-white;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.material field > toggle-switch {
|
|
29
|
-
@apply mx-2 mt-1 mb-2;
|
|
30
|
-
}
|
package/src/material.css
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
@import './material/base.css';
|
|
2
|
-
/* @import './base/tabs.css'; */
|
|
3
|
-
/* @import './base/dropdown.css'; */
|
|
4
|
-
/* @import './base/states.css'; */
|
|
5
|
-
/* @import './base/calendar.css'; */
|
|
6
|
-
@import './material/input.css';
|
|
7
|
-
@import './material/list.css';
|
|
8
|
-
@import './material/form.css';
|
|
9
|
-
/* @import './base/outline.css'; */
|
package/src/minimal/base.css
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/* @import '../base.css'; */
|
|
2
|
-
|
|
3
|
-
.minimal icon[role='button'] {
|
|
4
|
-
@apply text-neutral-muted focus:rounded hover:text-secondary-600 focus:outline-secondary-600 focus:m-1px;
|
|
5
|
-
}
|
|
6
|
-
.minimal icon.disabled[role='button'] {
|
|
7
|
-
@apply text-neutral-subtle hover:text-neutral-subtle cursor-not-allowed;
|
|
8
|
-
}
|
package/src/minimal/form.css
DELETED
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
.minimal button {
|
|
2
|
-
@apply rounded leading-loose select-none px-4;
|
|
3
|
-
@apply bg-neutral-muted border border-neutral-muted;
|
|
4
|
-
}
|
|
5
|
-
.minimal button icon-left,
|
|
6
|
-
.minimal button icon-right {
|
|
7
|
-
@apply flex flex-col items-center justify-center h-10 aspect-square;
|
|
8
|
-
}
|
|
9
|
-
.minimal button icon {
|
|
10
|
-
@apply text-2xl;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.minimal .is-primary {
|
|
14
|
-
@apply bg-secondary text-white;
|
|
15
|
-
}
|
|
16
|
-
.minimal button p {
|
|
17
|
-
@apply px-2 flex flex-grow;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.minimal button-group {
|
|
21
|
-
@apply flex justify-center rounded-sm gap-1px;
|
|
22
|
-
}
|
|
23
|
-
.minimal button-group button {
|
|
24
|
-
@apply border-neutral-400 border-none rounded-none;
|
|
25
|
-
@apply bg-neutral-subtle shadow focus:outline-none;
|
|
26
|
-
@apply uppercase text-sm text-neutral-800 leading-8 px-2;
|
|
27
|
-
}
|
|
28
|
-
.minimal button-group button:not(:last-child) {
|
|
29
|
-
@apply border-r;
|
|
30
|
-
}
|
|
31
|
-
.minimal button-group button.active {
|
|
32
|
-
@apply bg-secondary text-white;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.minimal button-group button:first-child {
|
|
36
|
-
@apply rounded-l-sm;
|
|
37
|
-
}
|
|
38
|
-
.minimal button-group button:last-child {
|
|
39
|
-
@apply rounded-r-sm;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.minimal input-select {
|
|
43
|
-
@apply focus:outline-none;
|
|
44
|
-
}
|
|
45
|
-
.minimal input-select > selected-item {
|
|
46
|
-
@apply leading-8 gap-4 items-center pl-2 min-h-8 cursor-pointer select-none;
|
|
47
|
-
@apply border-b-2 border-b-neutral-muted;
|
|
48
|
-
@apply focus:border-b-secondary-600;
|
|
49
|
-
}
|
|
50
|
-
.minimal input-select:focus > selected-item {
|
|
51
|
-
@apply border-b-secondary-600 text-secondary-600;
|
|
52
|
-
}
|
|
53
|
-
.minimal input-select:focus square-icon {
|
|
54
|
-
@apply text-secondary-600;
|
|
55
|
-
}
|
|
56
|
-
.minimal input-select > selected-item > items {
|
|
57
|
-
@apply flex-grow flex-wrap gap-2;
|
|
58
|
-
}
|
|
59
|
-
.minimal pill {
|
|
60
|
-
@apply gap-2 rounded-full border border-neutral-400 px-2;
|
|
61
|
-
}
|
|
62
|
-
.minimal pill > item {
|
|
63
|
-
@apply gap-2 leading-6;
|
|
64
|
-
}
|
|
65
|
-
.minimal pill > item > img {
|
|
66
|
-
@apply w-4 h-4;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.minimal pill > icon {
|
|
70
|
-
@apply text-sm;
|
|
71
|
-
}
|
|
72
|
-
.minimal input-select scroll {
|
|
73
|
-
@apply mt-1 shadow-lg;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.minimal button[role='switch'] {
|
|
77
|
-
@apply rounded-full p-0 min-h-6 h-8 w-16;
|
|
78
|
-
@apply bg-neutral-subtle border border-neutral-subtle;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.minimal button[role='switch'] > mark {
|
|
82
|
-
@apply rounded-full w-6 h-6 bg-secondary top-0.75;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.minimal progress-bar value-bar {
|
|
86
|
-
@apply bg-secondary;
|
|
87
|
-
}
|
package/src/minimal.css
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
@import './base.css';
|
|
2
|
-
|
|
3
|
-
@import './minimal/base.css';
|
|
4
|
-
/* @import './base/states.css'; */
|
|
5
|
-
/* @import './base/calendar.css'; */
|
|
6
|
-
|
|
7
|
-
@import './minimal/input.css';
|
|
8
|
-
@import './minimal/list.css';
|
|
9
|
-
@import './minimal/tabs.css';
|
|
10
|
-
@import './minimal/form.css';
|
|
11
|
-
/* @import './base/outline.css'; */
|
package/src/mixins/mixins.scss
DELETED
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
@mixin set-theme-colors($theme-colors, $mode, $values: null) {
|
|
2
|
-
@each $name, $color in $theme-colors {
|
|
3
|
-
$hue: hue($color);
|
|
4
|
-
$saturation: saturation($color);
|
|
5
|
-
@if $values !== null {
|
|
6
|
-
$start: if($mode === 'dark', length($values), 1);
|
|
7
|
-
$offset: if($mode === 'dark', -1, 1);
|
|
8
|
-
@for $i from 0 to length($values) - 1 {
|
|
9
|
-
$index: $start + $offset * $i;
|
|
10
|
-
$lightness: nth($values, $index);
|
|
11
|
-
$variable: '--#{$name}-#{50 + ($i) * 100}';
|
|
12
|
-
#{$variable}: hsl($hue, $saturation, $lightness);
|
|
13
|
-
}
|
|
14
|
-
} @else {
|
|
15
|
-
@for $i from 0 to 9 {
|
|
16
|
-
$lightness: if($mode === 'dark', $i * 10%, 100 - $i * 10%);
|
|
17
|
-
$variable: '--#{$name}-#{50 + ($i) * 100}';
|
|
18
|
-
#{$variable}: hsl($hue, $saturation, $lightness);
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
/* light theme syntax colors */
|
|
25
|
-
@mixin light-mode-syntax-colors {
|
|
26
|
-
--code-bg: #f3f4f6;
|
|
27
|
-
--code-fill: #f3f4f6;
|
|
28
|
-
--code-normal: #333333; /*hsl(45, 7%, 45%)*/
|
|
29
|
-
--code-string: hsl(41, 37%, 45%); /*#183691 */
|
|
30
|
-
--code-number: hsl(102, 27%, 50%); /* #0086b3;*/
|
|
31
|
-
--code-atrule: var(--code-string);
|
|
32
|
-
--code-keyword: hsl(204, 58%, 45%); /* #795da3;*/
|
|
33
|
-
--code-comment: #969896; /*hsl(210, 25%, 60%)*/
|
|
34
|
-
--code-property: #63a35c;
|
|
35
|
-
--code-selector: var(--code-keyword);
|
|
36
|
-
--code-operator: hsl(19, 67%, 45%);
|
|
37
|
-
--code-function: hsl(19, 67%, 45%); /* #a71d5d; */
|
|
38
|
-
|
|
39
|
-
--code-gutter-marker: black;
|
|
40
|
-
--code-gutter-subtle: #999;
|
|
41
|
-
--code-cursor: #24292e;
|
|
42
|
-
--code-cursor-block: rgba(20, 255, 20, 0.5);
|
|
43
|
-
--code-linenumbers: rgba(27, 31, 35, 0.3);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
/* one dark theme syntax colors */
|
|
47
|
-
@mixin dark-mode-syntax-colors {
|
|
48
|
-
--code-bg: #282c34;
|
|
49
|
-
--code-fill: #282c34;
|
|
50
|
-
--code-normal: #e06c75; /*#ABB2BF;*/
|
|
51
|
-
--code-string: #98c379;
|
|
52
|
-
--code-number: #d19a66;
|
|
53
|
-
--code-atrule: #61afef;
|
|
54
|
-
--code-keyword: #c678dd;
|
|
55
|
-
--code-comment: #5c6370;
|
|
56
|
-
--code-property: #d19a66;
|
|
57
|
-
--code-selector: #e06c75;
|
|
58
|
-
--code-operator: #56b6c2;
|
|
59
|
-
--code-function: #61afef;
|
|
60
|
-
|
|
61
|
-
--code-gutter-marker: black;
|
|
62
|
-
--code-gutter-subtle: #999;
|
|
63
|
-
--code-cursor: #24292e;
|
|
64
|
-
--code-cursor-block: rgba(20, 255, 20, 0.5);
|
|
65
|
-
--code-linenumbers: rgba(27, 31, 35, 0.3);
|
|
66
|
-
}
|
package/src/mixins/palette.scss
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
@import './mixins.scss';
|
|
2
|
-
|
|
3
|
-
$theme-colors: (
|
|
4
|
-
primary: #fb923c,
|
|
5
|
-
secondary: #ef5da8,
|
|
6
|
-
accent: #eb479c,
|
|
7
|
-
neutral: #262730
|
|
8
|
-
);
|
|
9
|
-
|
|
10
|
-
$lightness: (95%, 90%, 85%, 80%, 70%, 60%, 50%, 40%, 30%, 20%);
|
|
11
|
-
|
|
12
|
-
@layer base {
|
|
13
|
-
:root {
|
|
14
|
-
--primary-hue: 25;
|
|
15
|
-
--primary-saturation: 95%;
|
|
16
|
-
--secondary-hue: 329;
|
|
17
|
-
--secondary-saturation: 80%;
|
|
18
|
-
--accent-hue: 329;
|
|
19
|
-
--accent-saturation: 80%;
|
|
20
|
-
--neutral-hue: 233;
|
|
21
|
-
--neutral-saturation: 11.9%;
|
|
22
|
-
|
|
23
|
-
--tab-size: 2;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.light {
|
|
27
|
-
@include set-theme-colors($theme-colors, 'light', $lightness);
|
|
28
|
-
@include light-mode-syntax-colors();
|
|
29
|
-
}
|
|
30
|
-
.dark {
|
|
31
|
-
@include set-theme-colors($theme-colors, 'dark', $lightness);
|
|
32
|
-
@include dark-mode-syntax-colors();
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
@media (prefers-color-scheme: light) {
|
|
36
|
-
body:not(.dark) {
|
|
37
|
-
@include set-theme-colors($theme-colors, 'light', $lightness);
|
|
38
|
-
@include light-mode-syntax-colors();
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
@media (prefers-color-scheme: dark) {
|
|
43
|
-
body:not(.light) {
|
|
44
|
-
@include set-theme-colors($theme-colors, 'dark', $lightness);
|
|
45
|
-
@include dark-mode-syntax-colors();
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
package/src/prism.css
DELETED
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
code,
|
|
2
|
-
code[class*='language-'],
|
|
3
|
-
pre[class*='language-'] {
|
|
4
|
-
background-color: var(--code-fill);
|
|
5
|
-
color: var(--code-normal);
|
|
6
|
-
text-align: left;
|
|
7
|
-
white-space: pre;
|
|
8
|
-
word-spacing: normal;
|
|
9
|
-
tab-size: 2;
|
|
10
|
-
hyphens: none;
|
|
11
|
-
font-variant-ligatures: common-lig-values; /* common-ligatures; */
|
|
12
|
-
line-height: 1.4;
|
|
13
|
-
direction: ltr;
|
|
14
|
-
cursor: text;
|
|
15
|
-
@apply font-mono text-xs;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
pre[class*='language-'] {
|
|
19
|
-
overflow: auto;
|
|
20
|
-
padding: 1.2em;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
/* p code,
|
|
24
|
-
li code,
|
|
25
|
-
table code {
|
|
26
|
-
margin: 0;
|
|
27
|
-
padding: 0.2em 0;
|
|
28
|
-
} */
|
|
29
|
-
p code:before,
|
|
30
|
-
p code:after,
|
|
31
|
-
li code:before,
|
|
32
|
-
li code:after,
|
|
33
|
-
table code:before,
|
|
34
|
-
table code:after {
|
|
35
|
-
letter-spacing: -0.2em;
|
|
36
|
-
content: '\00a0';
|
|
37
|
-
@apply rounded-sm;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
:not(pre) > code {
|
|
41
|
-
@apply rounded-md p-1;
|
|
42
|
-
}
|
|
43
|
-
:not(pre) > code[class*='language-'] {
|
|
44
|
-
@apply rounded-sm;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.token.comment,
|
|
48
|
-
.token.prolog,
|
|
49
|
-
.token.doctype,
|
|
50
|
-
.token.cdata {
|
|
51
|
-
color: var(--code-comment);
|
|
52
|
-
font-style: oblique;
|
|
53
|
-
}
|
|
54
|
-
.token.punctuation,
|
|
55
|
-
.token.string,
|
|
56
|
-
.token.attr-value {
|
|
57
|
-
color: var(--code-string);
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.token.property,
|
|
61
|
-
.token.tag {
|
|
62
|
-
color: var(--code-property);
|
|
63
|
-
}
|
|
64
|
-
.token.boolean,
|
|
65
|
-
.token.number {
|
|
66
|
-
color: var(--code-number);
|
|
67
|
-
}
|
|
68
|
-
.token.selector,
|
|
69
|
-
.token.attr-name,
|
|
70
|
-
.token.attr-value .punctuation:first-child,
|
|
71
|
-
.token.regex,
|
|
72
|
-
.token.important {
|
|
73
|
-
color: var(--code-selector);
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.token.operator,
|
|
77
|
-
.token.entity,
|
|
78
|
-
.token.url,
|
|
79
|
-
.language-css .token.string {
|
|
80
|
-
color: var(--code-operator);
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.token.atrule {
|
|
84
|
-
color: var(--code-atrule);
|
|
85
|
-
}
|
|
86
|
-
.token.keyword {
|
|
87
|
-
color: var(--code-keyword);
|
|
88
|
-
font-style: italic;
|
|
89
|
-
}
|
|
90
|
-
.token.function {
|
|
91
|
-
color: var(--code-function);
|
|
92
|
-
}
|
|
93
|
-
.token.entity {
|
|
94
|
-
cursor: help;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.token.italic {
|
|
98
|
-
font-style: italic;
|
|
99
|
-
}
|
|
100
|
-
.namespace {
|
|
101
|
-
opacity: 0.7;
|
|
102
|
-
}
|
package/src/rokkit/alert.css
DELETED
package/src/rokkit/atoms.css
DELETED
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
/* General styles */
|
|
2
|
-
.rokkit {
|
|
3
|
-
@apply select-none;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
/* Zebra styles */
|
|
7
|
-
.rokkit .zebra item {
|
|
8
|
-
@apply even:bg-neutral-zebra hover:bg-neutral-50;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
/* Styles for 'icon' class */
|
|
12
|
-
.rokkit icon:not([role='button']) {
|
|
13
|
-
@apply focus:outline-none text-neutral-700;
|
|
14
|
-
}
|
|
15
|
-
.rokkit icon[role='button'] {
|
|
16
|
-
@apply text-neutral-700 focus:rounded hover:text-secondary rounded-md;
|
|
17
|
-
}
|
|
18
|
-
.rokkit icon[role='button']:focus {
|
|
19
|
-
@apply outline-none bg-gradient-to-r from-primary to-secondary text-neutral-200 dark:text-neutral-800;
|
|
20
|
-
}
|
|
21
|
-
.rokkit icon.disabled[role='button'] {
|
|
22
|
-
@apply text-neutral-subtle hover:text-neutral-subtle cursor-not-allowed;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
/* Styles for input[type='number'] */
|
|
26
|
-
.rokkit input[type='number'] {
|
|
27
|
-
@apply text-right;
|
|
28
|
-
}
|
|
29
|
-
.rokkit input[type='number']::-webkit-inner-spin-button,
|
|
30
|
-
.rokkit input[type='number']::-webkit-outer-spin-button {
|
|
31
|
-
-webkit-appearance: none;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.rokkit progress-bar value-bar {
|
|
35
|
-
@apply bg-gradient-to-r from-primary to-secondary text-neutral-subtle dark:text-neutral-800;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/* Styles for 'searchable' class */
|
|
39
|
-
.searchable input {
|
|
40
|
-
@apply border border-neutral-subtle;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.rokkit a {
|
|
44
|
-
@apply text-primary-800 cursor-pointer underline underline-offset-4;
|
|
45
|
-
/* text-underline-offset: 0.25rem; */
|
|
46
|
-
}
|
|
47
|
-
.rokkit a:hover {
|
|
48
|
-
@apply text-secondary-700 cursor-pointer;
|
|
49
|
-
}
|
|
50
|
-
.rokkit a:visited {
|
|
51
|
-
@apply text-primary-700;
|
|
52
|
-
}
|
|
53
|
-
.rokkit a:focus {
|
|
54
|
-
@apply outline-none;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.rokkit [aria-current='true'] a {
|
|
58
|
-
@apply text-primary-100;
|
|
59
|
-
}
|
|
60
|
-
.rokkit [aria-current='true'] a:visited {
|
|
61
|
-
@apply text-primary-100;
|
|
62
|
-
}
|
|
63
|
-
.rokkit [aria-current='true'] a:hover {
|
|
64
|
-
@apply text-primary-100;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.rokkit.dark ::-webkit-calendar-picker-indicator {
|
|
68
|
-
filter: invert(1);
|
|
69
|
-
}
|
package/src/rokkit/carousel.css
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
carousel slide {
|
|
2
|
-
@apply items-center min-h-100 gap-3 px-12;
|
|
3
|
-
}
|
|
4
|
-
carousel slide > img {
|
|
5
|
-
@apply w-80 h-80 object-cover;
|
|
6
|
-
}
|
|
7
|
-
carousel slide > p {
|
|
8
|
-
@apply text-2xl text-center;
|
|
9
|
-
}
|
|
10
|
-
carousel dot-nav {
|
|
11
|
-
@apply flex h-4 w-full gap-2 justify-center;
|
|
12
|
-
}
|
|
13
|
-
carousel dot {
|
|
14
|
-
/* @apply block h-4 w-4 p-0 m-0 text-xs rounded-full bg-neutral-subtle cursor-pointer focus:outline-none; */
|
|
15
|
-
@apply bg-gradient-to-r from-neutral-subtle to-neutral-subtle;
|
|
16
|
-
}
|
|
17
|
-
carousel dot[aria-checked='true'] {
|
|
18
|
-
@apply bg-gradient-to-r from-primary to-secondary;
|
|
19
|
-
}
|
package/src/rokkit/layout.css
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/* Styles for 'toggle-switch' */
|
|
2
|
-
.rokkit field toggle-switch:focus-within {
|
|
3
|
-
@apply outline-none;
|
|
4
|
-
}
|
|
5
|
-
.rokkit field toggle-switch {
|
|
6
|
-
@apply min-h-10 items-center justify-center px-1 border-none rounded-sm;
|
|
7
|
-
}
|
|
8
|
-
.rokkit field toggle-switch item {
|
|
9
|
-
@apply leading-loose rounded-sm;
|
|
10
|
-
}
|
|
11
|
-
.rokkit field toggle-switch item p {
|
|
12
|
-
@apply justify-center;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.rokkit .horizontal > field radio-group {
|
|
16
|
-
@apply md:flex-row md:gap-4;
|
|
17
|
-
}
|
package/src/rokkit/molecules.css
DELETED
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
/* Styles for 'input-range' class */
|
|
2
|
-
.rokkit input-range range-track {
|
|
3
|
-
@apply h-2 mt-2 relative;
|
|
4
|
-
}
|
|
5
|
-
.rokkit input-range range-track range-track-bar {
|
|
6
|
-
@apply bg-neutral-muted border box-border border-neutral-muted rounded-full;
|
|
7
|
-
}
|
|
8
|
-
.rokkit input-range range-track selected-bar {
|
|
9
|
-
@apply border top-0px bottom-0px bg-gradient-to-r from-primary to-secondary border-secondary rounded-full;
|
|
10
|
-
}
|
|
11
|
-
.rokkit input-range range-track thumb {
|
|
12
|
-
@apply rounded-sm focus:outline-none;
|
|
13
|
-
}
|
|
14
|
-
/* .rokkit input-range tick p {
|
|
15
|
-
@apply text-neutral-800;
|
|
16
|
-
} */
|
|
17
|
-
.rokkit .bookend range-track range-track-bar::before,
|
|
18
|
-
.rokkit .bookend range-track range-track-bar::after {
|
|
19
|
-
content: '';
|
|
20
|
-
@apply absolute w-1px rounded-full -top-2 -bottom-2 bg-gray-300;
|
|
21
|
-
}
|
|
22
|
-
.rokkit .bookend range-track range-track-bar::before {
|
|
23
|
-
@apply -left-1px;
|
|
24
|
-
}
|
|
25
|
-
.rokkit .bookend range-track range-track-bar::after {
|
|
26
|
-
@apply -right-2px;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
/* Styles for 'tick' class */
|
|
30
|
-
/* .rokkit tick {
|
|
31
|
-
@apply h-6;
|
|
32
|
-
} */
|
|
33
|
-
.rokkit tick tick-bar {
|
|
34
|
-
@apply border-neutral h-full;
|
|
35
|
-
}
|
|
36
|
-
.rokkit tick p {
|
|
37
|
-
@apply items-top text-neutral-600;
|
|
38
|
-
font-size: 8px;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
/* Styles for 'thumb' class */
|
|
42
|
-
.rokkit thumb {
|
|
43
|
-
@apply bg-gradient-to-r from-primary to-secondary border-secondary shadow-xl border;
|
|
44
|
-
}
|
|
45
|
-
.rokkit thumb.sliding::before {
|
|
46
|
-
content: '';
|
|
47
|
-
@apply absolute left-0 top-0 right-0 bottom-0 bg-secondary opacity-30 rounded-sm;
|
|
48
|
-
transform: scale(2, 2);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
/* Styles for 'button[role='switch']' class */
|
|
52
|
-
.rokkit button[role='switch'] {
|
|
53
|
-
@apply rounded-full p-0 min-h-6 h-8 w-16;
|
|
54
|
-
@apply bg-neutral-subtle border border-neutral-subtle;
|
|
55
|
-
}
|
|
56
|
-
.rokkit button[role='switch'] > mark {
|
|
57
|
-
@apply rounded-full w-6 h-6 top-0.75;
|
|
58
|
-
@apply bg-gradient-to-r from-primary to-secondary;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
/* Styles for 'rating' class */
|
|
62
|
-
.rokkit rating {
|
|
63
|
-
@apply text-neutral-600 text-xl h-9 justify-center rounded focus:outline focus:outline-secondary;
|
|
64
|
-
}
|
|
65
|
-
.rokkit rating > icon {
|
|
66
|
-
@apply w-8;
|
|
67
|
-
}
|
|
68
|
-
.rokkit rating:focus-within icon[aria-checked='true'] {
|
|
69
|
-
@apply text-primary;
|
|
70
|
-
}
|
|
71
|
-
.rokkit rating icon.hovering > i {
|
|
72
|
-
@apply text-secondary;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
/* Pill styles */
|
|
76
|
-
.rokkit .pill {
|
|
77
|
-
@apply rounded-full bg-neutral-inset border-neutral-subtle border px-2 py-1 flex-grow-0;
|
|
78
|
-
}
|
|
79
|
-
.rokkit .pill > icon[role='button'] {
|
|
80
|
-
@apply rounded-full w-5 h-5 hover:bg-neutral-muted hover:text-current focus:rounded-full focus:m-0;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.rokkit .pill > item {
|
|
84
|
-
@apply gap-2 leading-6 px-2;
|
|
85
|
-
}
|
|
86
|
-
.rokkit .pill > item > img {
|
|
87
|
-
@apply w-4 h-4;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
/* Styles for 'item' class */
|
|
91
|
-
.rokkit item {
|
|
92
|
-
@apply flex flex-shrink items-center gap-1;
|
|
93
|
-
}
|
|
94
|
-
.rokkit item > p {
|
|
95
|
-
@apply flex-shrink text-ellipsis;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
/* Image and link styles */
|
|
99
|
-
.rokkit item > img,
|
|
100
|
-
.rokkit item > a > img {
|
|
101
|
-
@apply w-6 h-6;
|
|
102
|
-
}
|
|
103
|
-
.rokkit item > a {
|
|
104
|
-
@apply gap-2;
|
|
105
|
-
}
|
|
106
|
-
.rokkit node item {
|
|
107
|
-
@apply px-1 gap-2;
|
|
108
|
-
}
|
|
109
|
-
/* Crumbs styles */
|
|
110
|
-
.rokkit crumbs {
|
|
111
|
-
@apply flex-grow gap-1;
|
|
112
|
-
}
|
|
113
|
-
.rokkit crumbs crumb.is-selected {
|
|
114
|
-
@apply text-secondary-700;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
.rokkit day-of-month[aria-selected='true'] {
|
|
118
|
-
@apply bg-gradient-to-r from-primary to-secondary text-neutral-200 dark:text-neutral-800;
|
|
119
|
-
}
|