mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-11-30 16:48:21 +01:00
feat(styles): centralize widget styles in the nova default theme
Manage all built-in widget styles in one stylesheet. `nova` is the default theme; further themes will be added under src/styles.
This commit is contained in:
Generated
+921
-1
File diff suppressed because it is too large
Load Diff
+9
-3
@@ -12,6 +12,9 @@
|
||||
"update-changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
|
||||
"update-copyright": "node scripts/add-copyright.js",
|
||||
"format:check": "node scripts/clang-format-changed.js",
|
||||
"build-styles": "lcui build src/styles/style-nova.css --force --skip-xmake",
|
||||
"doc-viewer:compile-docs": "cd examples/doc-viewer && npm run compile",
|
||||
"doc-viewer:compile-tsx": "cd examples/doc-viewer && lcui build --skip-xmake",
|
||||
"prepare": "husky"
|
||||
},
|
||||
"lint-staged": {
|
||||
@@ -19,11 +22,14 @@
|
||||
"clang-format -i"
|
||||
]
|
||||
},
|
||||
"devDependencies": {
|
||||
"devDependencies": {
|
||||
"@thedutchcoder/postcss-rem-to-px": "^0.0.2",
|
||||
"clang-format-node": "^3.0.6",
|
||||
"husky": "^9.1.7",
|
||||
"lint-staged": "^15.2.10"
|
||||
},
|
||||
"lint-staged": "^15.2.10",
|
||||
"postcss": "^8.5.28",
|
||||
"tailwindcss": "^3.4.17"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/lc-soft/LCUI.git"
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
const formatLcuiCss = {
|
||||
postcssPlugin: "format-lcui-css",
|
||||
OnceExit(root) {
|
||||
root.raws.after = "\n";
|
||||
root.each((node) => {
|
||||
node.raws.before = "\n";
|
||||
node.raws.after = "\n";
|
||||
});
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = {
|
||||
plugins: [
|
||||
require("tailwindcss"),
|
||||
require("@thedutchcoder/postcss-rem-to-px"),
|
||||
formatLcuiCss,
|
||||
],
|
||||
};
|
||||
@@ -10,8 +10,11 @@
|
||||
*/
|
||||
|
||||
#include <LCUI/widgets.h>
|
||||
#include <ui/css.h>
|
||||
#include <ui_router.h>
|
||||
|
||||
#include "styles/style-nova.css.h"
|
||||
|
||||
void lcui_widgets_init(void)
|
||||
{
|
||||
ui_register_portal();
|
||||
@@ -48,6 +51,11 @@ void lcui_widgets_init(void)
|
||||
ui_register_empty();
|
||||
ui_register_dialog();
|
||||
ui_register_alert_dialog();
|
||||
|
||||
/* The theme layer loads last so its rules win over each widget's own
|
||||
* default CSS at equal specificity, letting style-nova.css refine the
|
||||
* look without editing the widget sources. */
|
||||
ui_load_css_string_style_nova_chunks();
|
||||
}
|
||||
|
||||
void lcui_widgets_destroy(void)
|
||||
|
||||
@@ -0,0 +1,736 @@
|
||||
* {
|
||||
@apply border-border;
|
||||
font-family: "Noto Sans SC", sans-serif;
|
||||
}
|
||||
|
||||
a {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
button {
|
||||
cursor: pointer;
|
||||
box-sizing: border-box;
|
||||
@apply inline-flex items-center gap-1.5 text-center rounded-lg border border-border bg-background px-2.5 py-[5px] text-sm font-medium text-foreground;
|
||||
}
|
||||
|
||||
button:hover {
|
||||
@apply bg-muted text-foreground;
|
||||
}
|
||||
|
||||
button:outline {
|
||||
@apply border-border bg-background text-foreground;
|
||||
}
|
||||
|
||||
button:outline:hover {
|
||||
@apply bg-muted text-foreground;
|
||||
}
|
||||
|
||||
button:primary {
|
||||
@apply border-transparent bg-primary text-primary-foreground;
|
||||
}
|
||||
|
||||
button:primary:hover {
|
||||
@apply bg-neutral-600 text-primary-foreground;
|
||||
}
|
||||
|
||||
button:secondary {
|
||||
@apply border-secondary bg-secondary text-secondary-foreground;
|
||||
}
|
||||
|
||||
button:secondary:hover {
|
||||
@apply bg-neutral-200 text-secondary-foreground;
|
||||
}
|
||||
|
||||
button:ghost {
|
||||
@apply border-transparent bg-transparent text-foreground;
|
||||
}
|
||||
|
||||
button:ghost:hover {
|
||||
@apply bg-muted text-foreground;
|
||||
}
|
||||
|
||||
button:destructive {
|
||||
@apply border-transparent bg-destructive-muted text-destructive;
|
||||
}
|
||||
|
||||
button:destructive:hover {
|
||||
@apply bg-red-100 text-destructive;
|
||||
}
|
||||
|
||||
button:link {
|
||||
@apply border-transparent bg-transparent text-primary;
|
||||
}
|
||||
|
||||
button:link:hover {
|
||||
@apply bg-transparent text-primary;
|
||||
}
|
||||
|
||||
button:link,
|
||||
button:link text {
|
||||
@apply underline-offset-4;
|
||||
}
|
||||
|
||||
button:link:hover,
|
||||
button:link:hover text {
|
||||
@apply underline;
|
||||
}
|
||||
|
||||
button:xs {
|
||||
@apply gap-1 rounded-[6px] px-2 py-[3px] text-xs;
|
||||
}
|
||||
|
||||
button:sm {
|
||||
@apply rounded-[6px] px-2 py-[5px] text-xs;
|
||||
}
|
||||
|
||||
button:lg {
|
||||
@apply py-[5px] text-base;
|
||||
}
|
||||
|
||||
button:icon {
|
||||
@apply justify-center h-8 w-8 p-0;
|
||||
}
|
||||
|
||||
button:icon-xs {
|
||||
@apply justify-center h-6 w-6 rounded-[6px] p-0 text-xs;
|
||||
}
|
||||
|
||||
button:icon-sm {
|
||||
@apply justify-center h-7 w-7 rounded-[6px] p-0 text-xs;
|
||||
}
|
||||
|
||||
button:icon-lg {
|
||||
@apply justify-center h-9 w-9 p-0;
|
||||
}
|
||||
|
||||
button:disabled {
|
||||
@apply opacity-50 pointer-events-none;
|
||||
}
|
||||
|
||||
button:active {
|
||||
@apply relative top-px bg-neutral-300;
|
||||
}
|
||||
|
||||
button:outline:active {
|
||||
@apply bg-neutral-300;
|
||||
}
|
||||
|
||||
button:primary:active {
|
||||
@apply bg-neutral-700 text-primary-foreground;
|
||||
}
|
||||
|
||||
button:secondary:active {
|
||||
@apply bg-neutral-300 text-secondary-foreground;
|
||||
}
|
||||
|
||||
button:ghost:active {
|
||||
@apply bg-neutral-200 text-foreground;
|
||||
}
|
||||
|
||||
button:destructive:active {
|
||||
@apply bg-red-200 text-destructive;
|
||||
}
|
||||
|
||||
button:link:active {
|
||||
@apply bg-transparent text-primary underline;
|
||||
}
|
||||
|
||||
button .fui-icon {
|
||||
@apply text-base;
|
||||
}
|
||||
|
||||
button text {
|
||||
@apply text-sm;
|
||||
}
|
||||
|
||||
button:xs text,
|
||||
button:icon-xs text {
|
||||
@apply text-xs;
|
||||
}
|
||||
|
||||
button:sm text,
|
||||
button:icon-sm text {
|
||||
@apply text-xs;
|
||||
}
|
||||
|
||||
button:lg text,
|
||||
button:icon-lg text {
|
||||
@apply text-base;
|
||||
}
|
||||
|
||||
button:xs .fui-icon,
|
||||
button:icon-xs .fui-icon {
|
||||
@apply text-xs;
|
||||
}
|
||||
|
||||
button:sm .fui-icon,
|
||||
button:icon-sm .fui-icon {
|
||||
@apply text-sm;
|
||||
}
|
||||
|
||||
button:lg .fui-icon,
|
||||
button:icon-lg .fui-icon {
|
||||
@apply text-base;
|
||||
}
|
||||
|
||||
badge {
|
||||
box-sizing: border-box;
|
||||
@apply inline-flex items-center gap-1 h-5 rounded-full border border-primary bg-primary px-2 text-xs font-medium leading-[18px] text-primary-foreground;
|
||||
}
|
||||
|
||||
badge icon {
|
||||
@apply text-xs leading-none;
|
||||
}
|
||||
|
||||
badge:secondary {
|
||||
@apply border-secondary bg-secondary text-secondary-foreground;
|
||||
}
|
||||
|
||||
badge:destructive {
|
||||
@apply border-destructive-muted bg-destructive-muted text-destructive;
|
||||
}
|
||||
|
||||
badge:outline {
|
||||
@apply border-border bg-transparent text-foreground;
|
||||
}
|
||||
|
||||
badge:ghost {
|
||||
@apply border-transparent bg-transparent text-foreground;
|
||||
}
|
||||
|
||||
badge:disabled {
|
||||
@apply opacity-50;
|
||||
}
|
||||
|
||||
.badge-color-blue {
|
||||
@apply border-blue-100 bg-blue-50 text-blue-700;
|
||||
}
|
||||
|
||||
.badge-color-green {
|
||||
@apply border-green-100 bg-green-50 text-green-700;
|
||||
}
|
||||
|
||||
.badge-color-sky {
|
||||
@apply border-sky-100 bg-sky-50 text-sky-700;
|
||||
}
|
||||
|
||||
.badge-color-purple {
|
||||
@apply border-purple-100 bg-purple-50 text-purple-700;
|
||||
}
|
||||
|
||||
.badge-color-red {
|
||||
@apply border-red-100 bg-red-50 text-red-700;
|
||||
}
|
||||
|
||||
alert {
|
||||
@apply flex items-start gap-2 text-sm px-2.5 py-2 bg-card text-card-foreground rounded-lg border;
|
||||
}
|
||||
|
||||
alert icon {
|
||||
margin-top: 2px;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
alert-content {
|
||||
@apply flex flex-1 flex-col gap-0.5;
|
||||
}
|
||||
|
||||
alert-title {
|
||||
@apply block font-medium;
|
||||
}
|
||||
|
||||
alert-description {
|
||||
@apply block text-muted-foreground;
|
||||
}
|
||||
|
||||
alert-action {
|
||||
@apply ml-auto flex;
|
||||
}
|
||||
|
||||
alert:success {
|
||||
@apply border-green-200 bg-green-50 text-green-800;
|
||||
}
|
||||
|
||||
alert:warning {
|
||||
@apply border-yellow-300 bg-yellow-50 text-yellow-900;
|
||||
}
|
||||
|
||||
alert:destructive {
|
||||
@apply text-destructive;
|
||||
}
|
||||
alert:destructive alert-description {
|
||||
@apply text-destructive/90;
|
||||
}
|
||||
|
||||
empty {
|
||||
@apply flex flex-col items-center gap-4 rounded-xl p-6 text-center;
|
||||
}
|
||||
|
||||
empty-header {
|
||||
@apply flex flex-col items-center gap-2;
|
||||
}
|
||||
|
||||
empty-media {
|
||||
@apply mb-2;
|
||||
}
|
||||
|
||||
empty-media:icon {
|
||||
@apply flex h-8 w-8 items-center justify-center rounded-lg bg-muted text-foreground;
|
||||
}
|
||||
|
||||
empty-title {
|
||||
@apply block text-sm font-medium;
|
||||
}
|
||||
|
||||
empty-description {
|
||||
@apply block text-sm leading-relaxed text-muted-foreground;
|
||||
}
|
||||
|
||||
empty-content {
|
||||
@apply flex flex-col gap-2.5 text-sm;
|
||||
}
|
||||
|
||||
empty-action {
|
||||
@apply flex flex-row justify-center gap-2;
|
||||
}
|
||||
|
||||
item {
|
||||
@apply flex items-center gap-2.5 rounded-lg border border-transparent px-3 py-2.5 text-sm;
|
||||
}
|
||||
|
||||
item:sm {
|
||||
@apply gap-2.5 px-3 py-2.5;
|
||||
}
|
||||
|
||||
item:xs {
|
||||
@apply gap-2 px-2.5 py-2;
|
||||
}
|
||||
|
||||
item:outline {
|
||||
@apply border-border;
|
||||
}
|
||||
|
||||
item:muted {
|
||||
@apply border-transparent bg-muted/50;
|
||||
}
|
||||
|
||||
item-content {
|
||||
@apply flex flex-1 flex-col gap-1;
|
||||
}
|
||||
|
||||
item:xs item-content {
|
||||
@apply gap-0;
|
||||
}
|
||||
|
||||
item-media,
|
||||
item-actions {
|
||||
@apply flex;
|
||||
}
|
||||
|
||||
item-media {
|
||||
@apply gap-2;
|
||||
}
|
||||
|
||||
item-media:icon {
|
||||
@apply flex items-center justify-center;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
item-media:image {
|
||||
@apply h-10 w-10 rounded-sm;
|
||||
}
|
||||
|
||||
item:sm item-media:image {
|
||||
@apply h-8 w-8;
|
||||
}
|
||||
|
||||
item:xs item-media:image {
|
||||
@apply h-6 w-6;
|
||||
}
|
||||
|
||||
item-title {
|
||||
@apply block text-sm font-medium leading-snug;
|
||||
}
|
||||
|
||||
item-description {
|
||||
@apply block text-sm leading-normal text-muted-foreground;
|
||||
}
|
||||
|
||||
item:xs item-description {
|
||||
@apply text-xs;
|
||||
}
|
||||
|
||||
item:interactive:hover {
|
||||
@apply bg-neutral-100;
|
||||
}
|
||||
|
||||
item:interactive:active {
|
||||
@apply bg-neutral-200;
|
||||
}
|
||||
|
||||
item:disabled {
|
||||
@apply opacity-50;
|
||||
}
|
||||
|
||||
/* progress: structural rules live in src/widgets/progress.c */
|
||||
|
||||
progress {
|
||||
@apply flex gap-3 w-full;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
progress-track {
|
||||
@apply w-full h-1 rounded-full bg-muted;
|
||||
}
|
||||
|
||||
progress-indicator {
|
||||
@apply h-full rounded-full bg-primary;
|
||||
}
|
||||
|
||||
progress-label {
|
||||
@apply text-sm font-medium;
|
||||
}
|
||||
|
||||
progress-value {
|
||||
@apply text-sm text-muted-foreground ml-auto;
|
||||
}
|
||||
|
||||
/* radio-group: structural rules live in src/widgets/radio_group.c */
|
||||
|
||||
radio-group {
|
||||
@apply flex flex-col items-stretch gap-2;
|
||||
}
|
||||
|
||||
radio-group-item:checked {
|
||||
@apply border-primary bg-primary;
|
||||
}
|
||||
|
||||
radio-group-item .indicator {
|
||||
@apply bg-primary-foreground;
|
||||
}
|
||||
|
||||
radio-group-item:disabled {
|
||||
@apply opacity-50;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
/* dialog / alert-dialog: structural rules (display, positioning, layout) live
|
||||
* in src/widgets/dialog.c; keep only visual refinements here. */
|
||||
|
||||
dialog-overlay,
|
||||
alert-dialog-overlay {
|
||||
background-color: rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
dialog-content,
|
||||
alert-dialog-content {
|
||||
@apply p-4 rounded-xl bg-popover text-popover-foreground;
|
||||
border: 1px solid #e5e5e5;
|
||||
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
dialog-footer,
|
||||
alert-dialog-footer {
|
||||
@apply bg-muted/50 -mx-4 -mb-4 rounded-b-xl border-t p-4;
|
||||
}
|
||||
|
||||
dialog-title,
|
||||
alert-dialog-title {
|
||||
@apply font-medium;
|
||||
font-size: 16px;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
dialog-description,
|
||||
alert-dialog-description {
|
||||
@apply text-sm text-muted-foreground;
|
||||
}
|
||||
|
||||
alert-dialog-content:sm alert-dialog-header {
|
||||
@apply text-center;
|
||||
}
|
||||
|
||||
alert-dialog-media {
|
||||
@apply rounded-md bg-muted;
|
||||
}
|
||||
|
||||
alert-dialog-cancel,
|
||||
alert-dialog-action {
|
||||
@apply inline-flex items-center gap-1.5 text-center rounded-lg border border-border bg-background px-2.5 py-[5px] text-sm font-medium text-foreground;
|
||||
}
|
||||
|
||||
alert-dialog-cancel:hover,
|
||||
alert-dialog-action:hover {
|
||||
@apply bg-muted text-foreground;
|
||||
}
|
||||
|
||||
alert-dialog-action:primary {
|
||||
@apply border-transparent bg-primary text-primary-foreground;
|
||||
}
|
||||
|
||||
alert-dialog-action:primary:hover {
|
||||
@apply bg-neutral-600 text-primary-foreground;
|
||||
}
|
||||
|
||||
alert-dialog-action:destructive {
|
||||
@apply border-transparent bg-destructive-muted text-destructive;
|
||||
}
|
||||
|
||||
alert-dialog-action:destructive:hover {
|
||||
@apply bg-red-100 text-destructive;
|
||||
}
|
||||
|
||||
alert-dialog-content:sm {
|
||||
max-width: 320px;
|
||||
}
|
||||
|
||||
/* select: structural rules live in src/widgets/select.c; visual refinements
|
||||
* follow the shadcn "nova" base style here. The trigger reuses the shared
|
||||
* `button` rule as-is so it keeps the same metrics as sibling buttons;
|
||||
* shadcn's data attribute, focus-visible, ring and animation variants that
|
||||
* LCUI cannot express are approximated with :hover/:focus, plain :disabled
|
||||
* rules and a hand-written box-shadow. */
|
||||
|
||||
select-arrow {
|
||||
@apply text-muted-foreground;
|
||||
}
|
||||
|
||||
select-value {
|
||||
white-space: nowrap;
|
||||
@apply font-normal;
|
||||
}
|
||||
|
||||
select-arrow.fui-icon {
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
select-content {
|
||||
@apply border border-border bg-popover p-1 rounded-lg text-popover-foreground;
|
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
select-label {
|
||||
@apply text-muted-foreground px-1.5 py-1 text-xs;
|
||||
}
|
||||
|
||||
select-separator {
|
||||
@apply bg-border my-1;
|
||||
height: 1px;
|
||||
}
|
||||
|
||||
select-item {
|
||||
@apply rounded-md gap-1.5 py-1 pl-1.5 pr-8 text-sm;
|
||||
cursor: pointer;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
select-item:hover {
|
||||
@apply bg-muted text-foreground;
|
||||
}
|
||||
|
||||
select-item:active {
|
||||
@apply bg-neutral-200;
|
||||
}
|
||||
|
||||
select-item:checked {
|
||||
@apply bg-muted text-foreground;
|
||||
}
|
||||
|
||||
select-item:highlighted {
|
||||
@apply bg-muted text-foreground;
|
||||
}
|
||||
|
||||
select-item .select-item-indicator {
|
||||
position: absolute;
|
||||
right: 8px;
|
||||
top: 4px;
|
||||
font-size: 16px;
|
||||
line-height: 20px;
|
||||
display: none;
|
||||
}
|
||||
|
||||
select-item:checked .select-item-indicator {
|
||||
display: block;
|
||||
}
|
||||
|
||||
select:disabled button,
|
||||
select:disabled button:hover,
|
||||
select:disabled button:active,
|
||||
select-item:disabled,
|
||||
select-item:disabled:hover {
|
||||
@apply opacity-50;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
select-item:disabled:hover,
|
||||
select-item:disabled:active {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
select:disabled button {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
select:disabled select-trigger {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
/* checkbox: structural rules live in src/widgets/checkbox.c */
|
||||
|
||||
checkbox {
|
||||
@apply rounded-[4px] border border-border;
|
||||
cursor: pointer;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
checkbox:checked,
|
||||
checkbox:indeterminate {
|
||||
@apply border-primary bg-primary text-primary-foreground;
|
||||
}
|
||||
|
||||
checkbox:disabled {
|
||||
@apply opacity-50;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
/* field family: structural rules live in src/widgets/field.c */
|
||||
|
||||
field {
|
||||
@apply gap-2;
|
||||
}
|
||||
|
||||
field-set {
|
||||
/* Spacing between the set's children is provided by their own margins (the
|
||||
* legend must stay tight to the text below it, which a flex gap cannot
|
||||
* express since LCUI has no <legend> special layout). */
|
||||
@apply gap-0;
|
||||
}
|
||||
|
||||
field-set field-group {
|
||||
@apply mt-3;
|
||||
}
|
||||
|
||||
field-group {
|
||||
@apply gap-5;
|
||||
}
|
||||
|
||||
field-group field-group {
|
||||
@apply gap-4 mt-0;
|
||||
}
|
||||
|
||||
field-set.has-radio-group radio-group {
|
||||
@apply mt-3;
|
||||
}
|
||||
|
||||
field-legend {
|
||||
@apply text-base font-medium;
|
||||
}
|
||||
|
||||
field-label {
|
||||
@apply gap-2 text-sm font-medium;
|
||||
line-height: 1.375;
|
||||
}
|
||||
|
||||
field-content {
|
||||
@apply gap-0.5;
|
||||
line-height: 1.375;
|
||||
}
|
||||
|
||||
field-title {
|
||||
@apply text-sm font-medium;
|
||||
line-height: 1.375;
|
||||
}
|
||||
|
||||
field-description {
|
||||
@apply text-sm font-normal text-muted-foreground;
|
||||
line-height: 1.5;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
field-separator {
|
||||
height: 1px;
|
||||
background-color: #e5e5e5;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
field-label.has-field {
|
||||
@apply rounded-lg border border-border;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
/* Workaround: the renderer clips children to the parent's padding box, so a
|
||||
* control's focus ring (3px) is clipped at every ancestor. A matching padding
|
||||
* and negative margin keeps the content in place while giving the ring room.
|
||||
* Apply `.clip-safe` to any other container that needs the same gutter. */
|
||||
.clip-safe,
|
||||
field,
|
||||
field-group,
|
||||
field-set {
|
||||
box-sizing: border-box;
|
||||
padding: 4px;
|
||||
margin: -4px;
|
||||
}
|
||||
|
||||
/* Vertical fields make their controls fill the field width (that mirrors the
|
||||
* `*:w-full` shadcn applies to vertical fields). Flex stretch already widens
|
||||
* block-level children; composite controls need their inner trigger widened
|
||||
* too. Horizontal fields keep intrinsic widths, like shadcn's w-auto. */
|
||||
field select {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
field select-trigger {
|
||||
display: block;
|
||||
}
|
||||
|
||||
field select-trigger button {
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
field:horizontal select {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
field:horizontal select-trigger {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
field-label.has-field:hover {
|
||||
background-color: rgba(245, 245, 245, 0.5);
|
||||
}
|
||||
|
||||
field-label.has-checked {
|
||||
background-color: rgba(34, 34, 34, 0.05);
|
||||
border-color: rgba(34, 34, 34, 0.3);
|
||||
}
|
||||
|
||||
field:disabled,
|
||||
field-set:disabled,
|
||||
field-legend:disabled,
|
||||
field-group:disabled,
|
||||
field-label:disabled,
|
||||
field-description:disabled,
|
||||
field-content:disabled,
|
||||
field-title:disabled,
|
||||
field-separator:disabled {
|
||||
@apply opacity-50;
|
||||
}
|
||||
|
||||
/* textinput: structural rules live in src/widgets/textinput.c; the visual
|
||||
* style is applied here (like shadcn's input). */
|
||||
|
||||
textinput {
|
||||
@apply h-8 rounded-lg border border-border bg-background px-2.5 py-1 text-sm text-foreground;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
textinput:focus {
|
||||
@apply border-foreground;
|
||||
box-shadow: 0 0 0 3px rgba(34, 34, 34, 0.1);
|
||||
}
|
||||
|
||||
textinput:disabled {
|
||||
@apply opacity-50;
|
||||
}
|
||||
@@ -0,0 +1,901 @@
|
||||
/** Generated from: style-nova.css */
|
||||
#include <stddef.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
static const struct {
|
||||
const char *chunk;
|
||||
size_t length;
|
||||
} css_str_style_nova_chunks[] = {
|
||||
{ "\n", 1 },
|
||||
{ "* {\n", 4 },
|
||||
{ " border-color: #e5e5e5;\n", 25 },
|
||||
{ " font-family: \"Noto Sans SC\", sans-serif;\n", 43 },
|
||||
{ "}\n", 2 },
|
||||
{ "a {\n", 4 },
|
||||
{ " cursor: pointer;\n", 19 },
|
||||
{ "}\n", 2 },
|
||||
{ "button {\n", 9 },
|
||||
{ " cursor: pointer;\n", 19 },
|
||||
{ " box-sizing: border-box;\n", 26 },
|
||||
{ " display: inline-flex;\n", 24 },
|
||||
{ " align-items: center;\n", 23 },
|
||||
{ " gap: 6px;\n", 12 },
|
||||
{ " border-radius: 8px;\n", 22 },
|
||||
{ " border-width: 1px;\n", 21 },
|
||||
{ " border-color: #e5e5e5;\n", 25 },
|
||||
{ " background-color: #fff;\n", 26 },
|
||||
{ " padding-left: 10px;\n", 22 },
|
||||
{ " padding-right: 10px;\n", 23 },
|
||||
{ " padding-top: 5px;\n", 20 },
|
||||
{ " padding-bottom: 5px;\n", 23 },
|
||||
{ " text-align: center;\n", 22 },
|
||||
{ " font-size: 14px;\n", 19 },
|
||||
{ " line-height: 20px;\n", 21 },
|
||||
{ " font-weight: 500;\n", 20 },
|
||||
{ " color: #000;\n", 15 },
|
||||
{ "}\n", 2 },
|
||||
{ "button:hover {\n", 15 },
|
||||
{ " background-color: #f5f5f5;\n", 29 },
|
||||
{ " color: #000;\n", 15 },
|
||||
{ "}\n", 2 },
|
||||
{ "button:outline {\n", 17 },
|
||||
{ " border-color: #e5e5e5;\n", 25 },
|
||||
{ " background-color: #fff;\n", 26 },
|
||||
{ " color: #000;\n", 15 },
|
||||
{ "}\n", 2 },
|
||||
{ "button:outline:hover {\n", 23 },
|
||||
{ " background-color: #f5f5f5;\n", 29 },
|
||||
{ " color: #000;\n", 15 },
|
||||
{ "}\n", 2 },
|
||||
{ "button:primary {\n", 17 },
|
||||
{ " border-color: transparent;\n", 29 },
|
||||
{ " background-color: #222222;\n", 29 },
|
||||
{ " color: #ffffff;\n", 18 },
|
||||
{ "}\n", 2 },
|
||||
{ "button:primary:hover {\n", 23 },
|
||||
{ " background-color: #525252;\n", 29 },
|
||||
{ " color: #ffffff;\n", 18 },
|
||||
{ "}\n", 2 },
|
||||
{ "button:secondary {\n", 19 },
|
||||
{ " border-color: #f5f5f5;\n", 25 },
|
||||
{ " background-color: #f5f5f5;\n", 29 },
|
||||
{ " color: #222222;\n", 18 },
|
||||
{ "}\n", 2 },
|
||||
{ "button:secondary:hover {\n", 25 },
|
||||
{ " background-color: #e5e5e5;\n", 29 },
|
||||
{ " color: #222222;\n", 18 },
|
||||
{ "}\n", 2 },
|
||||
{ "button:ghost {\n", 15 },
|
||||
{ " border-color: transparent;\n", 29 },
|
||||
{ " background-color: transparent;\n", 33 },
|
||||
{ " color: #000;\n", 15 },
|
||||
{ "}\n", 2 },
|
||||
{ "button:ghost:hover {\n", 21 },
|
||||
{ " background-color: #f5f5f5;\n", 29 },
|
||||
{ " color: #000;\n", 15 },
|
||||
{ "}\n", 2 },
|
||||
{ "button:destructive {\n", 21 },
|
||||
{ " border-color: transparent;\n", 29 },
|
||||
{ " background-color: #ffe8e9;\n", 29 },
|
||||
{ " color: #e7000b;\n", 18 },
|
||||
{ "}\n", 2 },
|
||||
{ "button:destructive:hover {\n", 27 },
|
||||
{ " background-color: #fee2e2;\n", 29 },
|
||||
{ " color: #e7000b;\n", 18 },
|
||||
{ "}\n", 2 },
|
||||
{ "button:link {\n", 14 },
|
||||
{ " border-color: transparent;\n", 29 },
|
||||
{ " background-color: transparent;\n", 33 },
|
||||
{ " color: #222222;\n", 18 },
|
||||
{ "}\n", 2 },
|
||||
{ "button:link:hover {\n", 20 },
|
||||
{ " background-color: transparent;\n", 33 },
|
||||
{ " color: #222222;\n", 18 },
|
||||
{ "}\n", 2 },
|
||||
{ "button:link,\n", 13 },
|
||||
{ "button:link text {\n", 19 },
|
||||
{ " text-underline-offset: 4px;\n", 30 },
|
||||
{ "}\n", 2 },
|
||||
{ "button:link:hover,\n", 19 },
|
||||
{ "button:link:hover text {\n", 25 },
|
||||
{ " text-decoration-line: underline;\n", 35 },
|
||||
{ "}\n", 2 },
|
||||
{ "button:xs {\n", 12 },
|
||||
{ " gap: 4px;\n", 12 },
|
||||
{ " border-radius: 6px;\n", 22 },
|
||||
{ " padding-left: 8px;\n", 21 },
|
||||
{ " padding-right: 8px;\n", 22 },
|
||||
{ " padding-top: 3px;\n", 20 },
|
||||
{ " padding-bottom: 3px;\n", 23 },
|
||||
{ " font-size: 12px;\n", 19 },
|
||||
{ " line-height: 16px;\n", 21 },
|
||||
{ "}\n", 2 },
|
||||
{ "button:sm {\n", 12 },
|
||||
{ " border-radius: 6px;\n", 22 },
|
||||
{ " padding-left: 8px;\n", 21 },
|
||||
{ " padding-right: 8px;\n", 22 },
|
||||
{ " padding-top: 5px;\n", 20 },
|
||||
{ " padding-bottom: 5px;\n", 23 },
|
||||
{ " font-size: 12px;\n", 19 },
|
||||
{ " line-height: 16px;\n", 21 },
|
||||
{ "}\n", 2 },
|
||||
{ "button:lg {\n", 12 },
|
||||
{ " padding-top: 5px;\n", 20 },
|
||||
{ " padding-bottom: 5px;\n", 23 },
|
||||
{ " font-size: 16px;\n", 19 },
|
||||
{ " line-height: 24px;\n", 21 },
|
||||
{ "}\n", 2 },
|
||||
{ "button:icon {\n", 14 },
|
||||
{ " height: 32px;\n", 16 },
|
||||
{ " width: 32px;\n", 15 },
|
||||
{ " justify-content: center;\n", 27 },
|
||||
{ " padding: 0px;\n", 16 },
|
||||
{ "}\n", 2 },
|
||||
{ "button:icon-xs {\n", 17 },
|
||||
{ " height: 24px;\n", 16 },
|
||||
{ " width: 24px;\n", 15 },
|
||||
{ " justify-content: center;\n", 27 },
|
||||
{ " border-radius: 6px;\n", 22 },
|
||||
{ " padding: 0px;\n", 16 },
|
||||
{ " font-size: 12px;\n", 19 },
|
||||
{ " line-height: 16px;\n", 21 },
|
||||
{ "}\n", 2 },
|
||||
{ "button:icon-sm {\n", 17 },
|
||||
{ " height: 28px;\n", 16 },
|
||||
{ " width: 28px;\n", 15 },
|
||||
{ " justify-content: center;\n", 27 },
|
||||
{ " border-radius: 6px;\n", 22 },
|
||||
{ " padding: 0px;\n", 16 },
|
||||
{ " font-size: 12px;\n", 19 },
|
||||
{ " line-height: 16px;\n", 21 },
|
||||
{ "}\n", 2 },
|
||||
{ "button:icon-lg {\n", 17 },
|
||||
{ " height: 36px;\n", 16 },
|
||||
{ " width: 36px;\n", 15 },
|
||||
{ " justify-content: center;\n", 27 },
|
||||
{ " padding: 0px;\n", 16 },
|
||||
{ "}\n", 2 },
|
||||
{ "button:disabled {\n", 18 },
|
||||
{ " pointer-events: none;\n", 24 },
|
||||
{ " opacity: 0.5;\n", 16 },
|
||||
{ "}\n", 2 },
|
||||
{ "button:active {\n", 16 },
|
||||
{ " position: relative;\n", 22 },
|
||||
{ " top: 1px;\n", 12 },
|
||||
{ " background-color: #d4d4d4;\n", 29 },
|
||||
{ "}\n", 2 },
|
||||
{ "button:outline:active {\n", 24 },
|
||||
{ " background-color: #d4d4d4;\n", 29 },
|
||||
{ "}\n", 2 },
|
||||
{ "button:primary:active {\n", 24 },
|
||||
{ " background-color: #404040;\n", 29 },
|
||||
{ " color: #ffffff;\n", 18 },
|
||||
{ "}\n", 2 },
|
||||
{ "button:secondary:active {\n", 26 },
|
||||
{ " background-color: #d4d4d4;\n", 29 },
|
||||
{ " color: #222222;\n", 18 },
|
||||
{ "}\n", 2 },
|
||||
{ "button:ghost:active {\n", 22 },
|
||||
{ " background-color: #e5e5e5;\n", 29 },
|
||||
{ " color: #000;\n", 15 },
|
||||
{ "}\n", 2 },
|
||||
{ "button:destructive:active {\n", 28 },
|
||||
{ " background-color: #fecaca;\n", 29 },
|
||||
{ " color: #e7000b;\n", 18 },
|
||||
{ "}\n", 2 },
|
||||
{ "button:link:active {\n", 21 },
|
||||
{ " background-color: transparent;\n", 33 },
|
||||
{ " color: #222222;\n", 18 },
|
||||
{ " text-decoration-line: underline;\n", 35 },
|
||||
{ "}\n", 2 },
|
||||
{ "button .fui-icon {\n", 19 },
|
||||
{ " font-size: 16px;\n", 19 },
|
||||
{ " line-height: 24px;\n", 21 },
|
||||
{ "}\n", 2 },
|
||||
{ "button text {\n", 14 },
|
||||
{ " font-size: 14px;\n", 19 },
|
||||
{ " line-height: 20px;\n", 21 },
|
||||
{ "}\n", 2 },
|
||||
{ "button:xs text,\n", 16 },
|
||||
{ "button:icon-xs text {\n", 22 },
|
||||
{ " font-size: 12px;\n", 19 },
|
||||
{ " line-height: 16px;\n", 21 },
|
||||
{ "}\n", 2 },
|
||||
{ "button:sm text,\n", 16 },
|
||||
{ "button:icon-sm text {\n", 22 },
|
||||
{ " font-size: 12px;\n", 19 },
|
||||
{ " line-height: 16px;\n", 21 },
|
||||
{ "}\n", 2 },
|
||||
{ "button:lg text,\n", 16 },
|
||||
{ "button:icon-lg text {\n", 22 },
|
||||
{ " font-size: 16px;\n", 19 },
|
||||
{ " line-height: 24px;\n", 21 },
|
||||
{ "}\n", 2 },
|
||||
{ "button:xs .fui-icon,\n", 21 },
|
||||
{ "button:icon-xs .fui-icon {\n", 27 },
|
||||
{ " font-size: 12px;\n", 19 },
|
||||
{ " line-height: 16px;\n", 21 },
|
||||
{ "}\n", 2 },
|
||||
{ "button:sm .fui-icon,\n", 21 },
|
||||
{ "button:icon-sm .fui-icon {\n", 27 },
|
||||
{ " font-size: 14px;\n", 19 },
|
||||
{ " line-height: 20px;\n", 21 },
|
||||
{ "}\n", 2 },
|
||||
{ "button:lg .fui-icon,\n", 21 },
|
||||
{ "button:icon-lg .fui-icon {\n", 27 },
|
||||
{ " font-size: 16px;\n", 19 },
|
||||
{ " line-height: 24px;\n", 21 },
|
||||
{ "}\n", 2 },
|
||||
{ "badge {\n", 8 },
|
||||
{ " box-sizing: border-box;\n", 26 },
|
||||
{ " display: inline-flex;\n", 24 },
|
||||
{ " height: 20px;\n", 16 },
|
||||
{ " align-items: center;\n", 23 },
|
||||
{ " gap: 4px;\n", 12 },
|
||||
{ " border-radius: 9999px;\n", 25 },
|
||||
{ " border-width: 1px;\n", 21 },
|
||||
{ " border-color: #222222;\n", 25 },
|
||||
{ " background-color: #222222;\n", 29 },
|
||||
{ " padding-left: 8px;\n", 21 },
|
||||
{ " padding-right: 8px;\n", 22 },
|
||||
{ " font-size: 12px;\n", 19 },
|
||||
{ " line-height: 16px;\n", 21 },
|
||||
{ " font-weight: 500;\n", 20 },
|
||||
{ " line-height: 18px;\n", 21 },
|
||||
{ " color: #ffffff;\n", 18 },
|
||||
{ "}\n", 2 },
|
||||
{ "badge icon {\n", 13 },
|
||||
{ " font-size: 12px;\n", 19 },
|
||||
{ " line-height: 16px;\n", 21 },
|
||||
{ " line-height: 1;\n", 18 },
|
||||
{ "}\n", 2 },
|
||||
{ "badge:secondary {\n", 18 },
|
||||
{ " border-color: #f5f5f5;\n", 25 },
|
||||
{ " background-color: #f5f5f5;\n", 29 },
|
||||
{ " color: #222222;\n", 18 },
|
||||
{ "}\n", 2 },
|
||||
{ "badge:destructive {\n", 20 },
|
||||
{ " border-color: #ffe8e9;\n", 25 },
|
||||
{ " background-color: #ffe8e9;\n", 29 },
|
||||
{ " color: #e7000b;\n", 18 },
|
||||
{ "}\n", 2 },
|
||||
{ "badge:outline {\n", 16 },
|
||||
{ " border-color: #e5e5e5;\n", 25 },
|
||||
{ " background-color: transparent;\n", 33 },
|
||||
{ " color: #000;\n", 15 },
|
||||
{ "}\n", 2 },
|
||||
{ "badge:ghost {\n", 14 },
|
||||
{ " border-color: transparent;\n", 29 },
|
||||
{ " background-color: transparent;\n", 33 },
|
||||
{ " color: #000;\n", 15 },
|
||||
{ "}\n", 2 },
|
||||
{ "badge:disabled {\n", 17 },
|
||||
{ " opacity: 0.5;\n", 16 },
|
||||
{ "}\n", 2 },
|
||||
{ ".badge-color-blue {\n", 20 },
|
||||
{ " border-color: #dbeafe;\n", 25 },
|
||||
{ " background-color: #eff6ff;\n", 29 },
|
||||
{ " color: #1d4ed8;\n", 18 },
|
||||
{ "}\n", 2 },
|
||||
{ ".badge-color-green {\n", 21 },
|
||||
{ " border-color: #dcfce7;\n", 25 },
|
||||
{ " background-color: #f0fdf4;\n", 29 },
|
||||
{ " color: #15803d;\n", 18 },
|
||||
{ "}\n", 2 },
|
||||
{ ".badge-color-sky {\n", 19 },
|
||||
{ " border-color: #e0f2fe;\n", 25 },
|
||||
{ " background-color: #f0f9ff;\n", 29 },
|
||||
{ " color: #0369a1;\n", 18 },
|
||||
{ "}\n", 2 },
|
||||
{ ".badge-color-purple {\n", 22 },
|
||||
{ " border-color: #f3e8ff;\n", 25 },
|
||||
{ " background-color: #faf5ff;\n", 29 },
|
||||
{ " color: #7e22ce;\n", 18 },
|
||||
{ "}\n", 2 },
|
||||
{ ".badge-color-red {\n", 19 },
|
||||
{ " border-color: #fee2e2;\n", 25 },
|
||||
{ " background-color: #fef2f2;\n", 29 },
|
||||
{ " color: #b91c1c;\n", 18 },
|
||||
{ "}\n", 2 },
|
||||
{ "alert {\n", 8 },
|
||||
{ " display: flex;\n", 17 },
|
||||
{ " align-items: flex-start;\n", 27 },
|
||||
{ " gap: 8px;\n", 12 },
|
||||
{ " border-radius: 8px;\n", 22 },
|
||||
{ " border-width: 1px;\n", 21 },
|
||||
{ " background-color: #fff;\n", 26 },
|
||||
{ " padding-left: 10px;\n", 22 },
|
||||
{ " padding-right: 10px;\n", 23 },
|
||||
{ " padding-top: 8px;\n", 20 },
|
||||
{ " padding-bottom: 8px;\n", 23 },
|
||||
{ " font-size: 14px;\n", 19 },
|
||||
{ " line-height: 20px;\n", 21 },
|
||||
{ " color: #000;\n", 15 },
|
||||
{ "}\n", 2 },
|
||||
{ "alert icon {\n", 13 },
|
||||
{ " margin-top: 2px;\n", 19 },
|
||||
{ " font-size: 16px;\n", 19 },
|
||||
{ "}\n", 2 },
|
||||
{ "alert-content {\n", 16 },
|
||||
{ " display: flex;\n", 17 },
|
||||
{ " flex: 1 1 0%;\n", 16 },
|
||||
{ " flex-direction: column;\n", 26 },
|
||||
{ " gap: 2px;\n", 12 },
|
||||
{ "}\n", 2 },
|
||||
{ "alert-title {\n", 14 },
|
||||
{ " display: block;\n", 18 },
|
||||
{ " font-weight: 500;\n", 20 },
|
||||
{ "}\n", 2 },
|
||||
{ "alert-description {\n", 20 },
|
||||
{ " display: block;\n", 18 },
|
||||
{ " color: #666666;\n", 18 },
|
||||
{ "}\n", 2 },
|
||||
{ "alert-action {\n", 15 },
|
||||
{ " margin-left: auto;\n", 21 },
|
||||
{ " display: flex;\n", 17 },
|
||||
{ "}\n", 2 },
|
||||
{ "alert:success {\n", 16 },
|
||||
{ " border-color: #bbf7d0;\n", 25 },
|
||||
{ " background-color: #f0fdf4;\n", 29 },
|
||||
{ " color: #166534;\n", 18 },
|
||||
{ "}\n", 2 },
|
||||
{ "alert:warning {\n", 16 },
|
||||
{ " border-color: #fde047;\n", 25 },
|
||||
{ " background-color: #fefce8;\n", 29 },
|
||||
{ " color: #713f12;\n", 18 },
|
||||
{ "}\n", 2 },
|
||||
{ "alert:destructive {\n", 20 },
|
||||
{ " color: #e7000b;\n", 18 },
|
||||
{ "}\n", 2 },
|
||||
{ "alert:destructive alert-description {\n", 38 },
|
||||
{ " color: rgb(231 0 11 / 0.9);\n", 30 },
|
||||
{ "}\n", 2 },
|
||||
{ "empty {\n", 8 },
|
||||
{ " display: flex;\n", 17 },
|
||||
{ " flex-direction: column;\n", 26 },
|
||||
{ " align-items: center;\n", 23 },
|
||||
{ " gap: 16px;\n", 13 },
|
||||
{ " border-radius: 12px;\n", 23 },
|
||||
{ " padding: 24px;\n", 17 },
|
||||
{ " text-align: center;\n", 22 },
|
||||
{ "}\n", 2 },
|
||||
{ "empty-header {\n", 15 },
|
||||
{ " display: flex;\n", 17 },
|
||||
{ " flex-direction: column;\n", 26 },
|
||||
{ " align-items: center;\n", 23 },
|
||||
{ " gap: 8px;\n", 12 },
|
||||
{ "}\n", 2 },
|
||||
{ "empty-media {\n", 14 },
|
||||
{ " margin-bottom: 8px;\n", 22 },
|
||||
{ "}\n", 2 },
|
||||
{ "empty-media:icon {\n", 19 },
|
||||
{ " display: flex;\n", 17 },
|
||||
{ " height: 32px;\n", 16 },
|
||||
{ " width: 32px;\n", 15 },
|
||||
{ " align-items: center;\n", 23 },
|
||||
{ " justify-content: center;\n", 27 },
|
||||
{ " border-radius: 8px;\n", 22 },
|
||||
{ " background-color: #f5f5f5;\n", 29 },
|
||||
{ " color: #000;\n", 15 },
|
||||
{ "}\n", 2 },
|
||||
{ "empty-title {\n", 14 },
|
||||
{ " display: block;\n", 18 },
|
||||
{ " font-size: 14px;\n", 19 },
|
||||
{ " line-height: 20px;\n", 21 },
|
||||
{ " font-weight: 500;\n", 20 },
|
||||
{ "}\n", 2 },
|
||||
{ "empty-description {\n", 20 },
|
||||
{ " display: block;\n", 18 },
|
||||
{ " font-size: 14px;\n", 19 },
|
||||
{ " line-height: 20px;\n", 21 },
|
||||
{ " line-height: 1.625;\n", 22 },
|
||||
{ " color: #666666;\n", 18 },
|
||||
{ "}\n", 2 },
|
||||
{ "empty-content {\n", 16 },
|
||||
{ " display: flex;\n", 17 },
|
||||
{ " flex-direction: column;\n", 26 },
|
||||
{ " gap: 10px;\n", 13 },
|
||||
{ " font-size: 14px;\n", 19 },
|
||||
{ " line-height: 20px;\n", 21 },
|
||||
{ "}\n", 2 },
|
||||
{ "empty-action {\n", 15 },
|
||||
{ " display: flex;\n", 17 },
|
||||
{ " flex-direction: row;\n", 23 },
|
||||
{ " justify-content: center;\n", 27 },
|
||||
{ " gap: 8px;\n", 12 },
|
||||
{ "}\n", 2 },
|
||||
{ "item {\n", 7 },
|
||||
{ " display: flex;\n", 17 },
|
||||
{ " align-items: center;\n", 23 },
|
||||
{ " gap: 10px;\n", 13 },
|
||||
{ " border-radius: 8px;\n", 22 },
|
||||
{ " border-width: 1px;\n", 21 },
|
||||
{ " border-color: transparent;\n", 29 },
|
||||
{ " padding-left: 12px;\n", 22 },
|
||||
{ " padding-right: 12px;\n", 23 },
|
||||
{ " padding-top: 10px;\n", 21 },
|
||||
{ " padding-bottom: 10px;\n", 24 },
|
||||
{ " font-size: 14px;\n", 19 },
|
||||
{ " line-height: 20px;\n", 21 },
|
||||
{ "}\n", 2 },
|
||||
{ "item:sm {\n", 10 },
|
||||
{ " gap: 10px;\n", 13 },
|
||||
{ " padding-left: 12px;\n", 22 },
|
||||
{ " padding-right: 12px;\n", 23 },
|
||||
{ " padding-top: 10px;\n", 21 },
|
||||
{ " padding-bottom: 10px;\n", 24 },
|
||||
{ "}\n", 2 },
|
||||
{ "item:xs {\n", 10 },
|
||||
{ " gap: 8px;\n", 12 },
|
||||
{ " padding-left: 10px;\n", 22 },
|
||||
{ " padding-right: 10px;\n", 23 },
|
||||
{ " padding-top: 8px;\n", 20 },
|
||||
{ " padding-bottom: 8px;\n", 23 },
|
||||
{ "}\n", 2 },
|
||||
{ "item:outline {\n", 15 },
|
||||
{ " border-color: #e5e5e5;\n", 25 },
|
||||
{ "}\n", 2 },
|
||||
{ "item:muted {\n", 13 },
|
||||
{ " border-color: transparent;\n", 29 },
|
||||
{ " background-color: rgb(245 245 245 / 0.5);\n", 44 },
|
||||
{ "}\n", 2 },
|
||||
{ "item-content {\n", 15 },
|
||||
{ " display: flex;\n", 17 },
|
||||
{ " flex: 1 1 0%;\n", 16 },
|
||||
{ " flex-direction: column;\n", 26 },
|
||||
{ " gap: 4px;\n", 12 },
|
||||
{ "}\n", 2 },
|
||||
{ "item:xs item-content {\n", 23 },
|
||||
{ " gap: 0px;\n", 12 },
|
||||
{ "}\n", 2 },
|
||||
{ "item-media,\n", 12 },
|
||||
{ "item-actions {\n", 15 },
|
||||
{ " display: flex;\n", 17 },
|
||||
{ "}\n", 2 },
|
||||
{ "item-media {\n", 13 },
|
||||
{ " gap: 8px;\n", 12 },
|
||||
{ "}\n", 2 },
|
||||
{ "item-media:icon {\n", 18 },
|
||||
{ " display: flex;\n", 17 },
|
||||
{ " align-items: center;\n", 23 },
|
||||
{ " justify-content: center;\n", 27 },
|
||||
{ " font-size: 16px;\n", 19 },
|
||||
{ "}\n", 2 },
|
||||
{ "item-media:image {\n", 19 },
|
||||
{ " height: 40px;\n", 16 },
|
||||
{ " width: 40px;\n", 15 },
|
||||
{ " border-radius: 2px;\n", 22 },
|
||||
{ "}\n", 2 },
|
||||
{ "item:sm item-media:image {\n", 27 },
|
||||
{ " height: 32px;\n", 16 },
|
||||
{ " width: 32px;\n", 15 },
|
||||
{ "}\n", 2 },
|
||||
{ "item:xs item-media:image {\n", 27 },
|
||||
{ " height: 24px;\n", 16 },
|
||||
{ " width: 24px;\n", 15 },
|
||||
{ "}\n", 2 },
|
||||
{ "item-title {\n", 13 },
|
||||
{ " display: block;\n", 18 },
|
||||
{ " font-size: 14px;\n", 19 },
|
||||
{ " line-height: 20px;\n", 21 },
|
||||
{ " font-weight: 500;\n", 20 },
|
||||
{ " line-height: 1.375;\n", 22 },
|
||||
{ "}\n", 2 },
|
||||
{ "item-description {\n", 19 },
|
||||
{ " display: block;\n", 18 },
|
||||
{ " font-size: 14px;\n", 19 },
|
||||
{ " line-height: 20px;\n", 21 },
|
||||
{ " line-height: 1.5;\n", 20 },
|
||||
{ " color: #666666;\n", 18 },
|
||||
{ "}\n", 2 },
|
||||
{ "item:xs item-description {\n", 27 },
|
||||
{ " font-size: 12px;\n", 19 },
|
||||
{ " line-height: 16px;\n", 21 },
|
||||
{ "}\n", 2 },
|
||||
{ "item:interactive:hover {\n", 25 },
|
||||
{ " background-color: #f5f5f5;\n", 29 },
|
||||
{ "}\n", 2 },
|
||||
{ "item:interactive:active {\n", 26 },
|
||||
{ " background-color: #e5e5e5;\n", 29 },
|
||||
{ "}\n", 2 },
|
||||
{ "item:disabled {\n", 16 },
|
||||
{ " opacity: 0.5;\n", 16 },
|
||||
{ "}\n", 2 },
|
||||
{ "\n", 1 },
|
||||
{ "progress {\n", 11 },
|
||||
{ " display: flex;\n", 17 },
|
||||
{ " width: 100%;\n", 15 },
|
||||
{ " gap: 12px;\n", 13 },
|
||||
{ " flex-wrap: wrap;\n", 19 },
|
||||
{ "}\n", 2 },
|
||||
{ "progress-track {\n", 17 },
|
||||
{ " height: 4px;\n", 15 },
|
||||
{ " width: 100%;\n", 15 },
|
||||
{ " border-radius: 9999px;\n", 25 },
|
||||
{ " background-color: #f5f5f5;\n", 29 },
|
||||
{ "}\n", 2 },
|
||||
{ "progress-indicator {\n", 21 },
|
||||
{ " height: 100%;\n", 16 },
|
||||
{ " border-radius: 9999px;\n", 25 },
|
||||
{ " background-color: #222222;\n", 29 },
|
||||
{ "}\n", 2 },
|
||||
{ "progress-label {\n", 17 },
|
||||
{ " font-size: 14px;\n", 19 },
|
||||
{ " line-height: 20px;\n", 21 },
|
||||
{ " font-weight: 500;\n", 20 },
|
||||
{ "}\n", 2 },
|
||||
{ "progress-value {\n", 17 },
|
||||
{ " margin-left: auto;\n", 21 },
|
||||
{ " font-size: 14px;\n", 19 },
|
||||
{ " line-height: 20px;\n", 21 },
|
||||
{ " color: #666666;\n", 18 },
|
||||
{ "}\n", 2 },
|
||||
{ "\n", 1 },
|
||||
{ "radio-group {\n", 14 },
|
||||
{ " display: flex;\n", 17 },
|
||||
{ " flex-direction: column;\n", 26 },
|
||||
{ " align-items: stretch;\n", 24 },
|
||||
{ " gap: 8px;\n", 12 },
|
||||
{ "}\n", 2 },
|
||||
{ "radio-group-item:checked {\n", 27 },
|
||||
{ " border-color: #222222;\n", 25 },
|
||||
{ " background-color: #222222;\n", 29 },
|
||||
{ "}\n", 2 },
|
||||
{ "radio-group-item .indicator {\n", 30 },
|
||||
{ " background-color: #ffffff;\n", 29 },
|
||||
{ "}\n", 2 },
|
||||
{ "radio-group-item:disabled {\n", 28 },
|
||||
{ " opacity: 0.5;\n", 16 },
|
||||
{ " cursor: not-allowed;\n", 23 },
|
||||
{ "}\n", 2 },
|
||||
{ "\n", 1 },
|
||||
{ "dialog-overlay,\n", 16 },
|
||||
{ "alert-dialog-overlay {\n", 23 },
|
||||
{ " background-color: rgba(0, 0, 0, 0.1);\n", 40 },
|
||||
{ "}\n", 2 },
|
||||
{ "dialog-content,\n", 16 },
|
||||
{ "alert-dialog-content {\n", 23 },
|
||||
{ " border-radius: 12px;\n", 23 },
|
||||
{ " background-color: #fff;\n", 26 },
|
||||
{ " padding: 16px;\n", 17 },
|
||||
{ " color: #222222;\n", 18 },
|
||||
{ " border: 1px solid #e5e5e5;\n", 29 },
|
||||
{ " box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);\n", 47 },
|
||||
{ " font-size: 14px;\n", 19 },
|
||||
{ "}\n", 2 },
|
||||
{ "dialog-footer,\n", 15 },
|
||||
{ "alert-dialog-footer {\n", 22 },
|
||||
{ " margin-left: -16px;\n", 22 },
|
||||
{ " margin-right: -16px;\n", 23 },
|
||||
{ " margin-bottom: -16px;\n", 24 },
|
||||
{ " border-bottom-right-radius: 12px;\n", 36 },
|
||||
{ " border-bottom-left-radius: 12px;\n", 35 },
|
||||
{ " border-top-width: 1px;\n", 25 },
|
||||
{ " background-color: rgb(245 245 245 / 0.5);\n", 44 },
|
||||
{ " padding: 16px;\n", 17 },
|
||||
{ "}\n", 2 },
|
||||
{ "dialog-title,\n", 14 },
|
||||
{ "alert-dialog-title {\n", 21 },
|
||||
{ " font-weight: 500;\n", 20 },
|
||||
{ " font-size: 16px;\n", 19 },
|
||||
{ " line-height: 1;\n", 18 },
|
||||
{ "}\n", 2 },
|
||||
{ "dialog-description,\n", 20 },
|
||||
{ "alert-dialog-description {\n", 27 },
|
||||
{ " font-size: 14px;\n", 19 },
|
||||
{ " line-height: 20px;\n", 21 },
|
||||
{ " color: #666666;\n", 18 },
|
||||
{ "}\n", 2 },
|
||||
{ "alert-dialog-content:sm alert-dialog-header {\n", 46 },
|
||||
{ " text-align: center;\n", 22 },
|
||||
{ "}\n", 2 },
|
||||
{ "alert-dialog-media {\n", 21 },
|
||||
{ " border-radius: 6px;\n", 22 },
|
||||
{ " background-color: #f5f5f5;\n", 29 },
|
||||
{ "}\n", 2 },
|
||||
{ "alert-dialog-cancel,\n", 21 },
|
||||
{ "alert-dialog-action {\n", 22 },
|
||||
{ " display: inline-flex;\n", 24 },
|
||||
{ " align-items: center;\n", 23 },
|
||||
{ " gap: 6px;\n", 12 },
|
||||
{ " border-radius: 8px;\n", 22 },
|
||||
{ " border-width: 1px;\n", 21 },
|
||||
{ " border-color: #e5e5e5;\n", 25 },
|
||||
{ " background-color: #fff;\n", 26 },
|
||||
{ " padding-left: 10px;\n", 22 },
|
||||
{ " padding-right: 10px;\n", 23 },
|
||||
{ " padding-top: 5px;\n", 20 },
|
||||
{ " padding-bottom: 5px;\n", 23 },
|
||||
{ " text-align: center;\n", 22 },
|
||||
{ " font-size: 14px;\n", 19 },
|
||||
{ " line-height: 20px;\n", 21 },
|
||||
{ " font-weight: 500;\n", 20 },
|
||||
{ " color: #000;\n", 15 },
|
||||
{ "}\n", 2 },
|
||||
{ "alert-dialog-cancel:hover,\n", 27 },
|
||||
{ "alert-dialog-action:hover {\n", 28 },
|
||||
{ " background-color: #f5f5f5;\n", 29 },
|
||||
{ " color: #000;\n", 15 },
|
||||
{ "}\n", 2 },
|
||||
{ "alert-dialog-action:primary {\n", 30 },
|
||||
{ " border-color: transparent;\n", 29 },
|
||||
{ " background-color: #222222;\n", 29 },
|
||||
{ " color: #ffffff;\n", 18 },
|
||||
{ "}\n", 2 },
|
||||
{ "alert-dialog-action:primary:hover {\n", 36 },
|
||||
{ " background-color: #525252;\n", 29 },
|
||||
{ " color: #ffffff;\n", 18 },
|
||||
{ "}\n", 2 },
|
||||
{ "alert-dialog-action:destructive {\n", 34 },
|
||||
{ " border-color: transparent;\n", 29 },
|
||||
{ " background-color: #ffe8e9;\n", 29 },
|
||||
{ " color: #e7000b;\n", 18 },
|
||||
{ "}\n", 2 },
|
||||
{ "alert-dialog-action:destructive:hover {\n", 40 },
|
||||
{ " background-color: #fee2e2;\n", 29 },
|
||||
{ " color: #e7000b;\n", 18 },
|
||||
{ "}\n", 2 },
|
||||
{ "alert-dialog-content:sm {\n", 26 },
|
||||
{ " max-width: 320px;\n", 20 },
|
||||
{ "}\n", 2 },
|
||||
{ "\n", 1 },
|
||||
{ "select-arrow {\n", 15 },
|
||||
{ " color: #666666;\n", 18 },
|
||||
{ "}\n", 2 },
|
||||
{ "select-value {\n", 15 },
|
||||
{ " white-space: nowrap;\n", 23 },
|
||||
{ " font-weight: 400;\n", 20 },
|
||||
{ "}\n", 2 },
|
||||
{ "select-arrow.fui-icon {\n", 24 },
|
||||
{ " line-height: 1;\n", 18 },
|
||||
{ "}\n", 2 },
|
||||
{ "select-content {\n", 17 },
|
||||
{ " border-radius: 8px;\n", 22 },
|
||||
{ " border-width: 1px;\n", 21 },
|
||||
{ " border-color: #e5e5e5;\n", 25 },
|
||||
{ " background-color: #fff;\n", 26 },
|
||||
{ " padding: 4px;\n", 16 },
|
||||
{ " color: #222222;\n", 18 },
|
||||
{ " box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);\n", 45 },
|
||||
{ "}\n", 2 },
|
||||
{ "select-label {\n", 15 },
|
||||
{ " padding-left: 6px;\n", 21 },
|
||||
{ " padding-right: 6px;\n", 22 },
|
||||
{ " padding-top: 4px;\n", 20 },
|
||||
{ " padding-bottom: 4px;\n", 23 },
|
||||
{ " font-size: 12px;\n", 19 },
|
||||
{ " line-height: 16px;\n", 21 },
|
||||
{ " color: #666666;\n", 18 },
|
||||
{ "}\n", 2 },
|
||||
{ "select-separator {\n", 19 },
|
||||
{ " margin-top: 4px;\n", 19 },
|
||||
{ " margin-bottom: 4px;\n", 22 },
|
||||
{ " background-color: #e5e5e5;\n", 29 },
|
||||
{ " height: 1px;\n", 15 },
|
||||
{ "}\n", 2 },
|
||||
{ "select-item {\n", 14 },
|
||||
{ " gap: 6px;\n", 12 },
|
||||
{ " border-radius: 6px;\n", 22 },
|
||||
{ " padding-top: 4px;\n", 20 },
|
||||
{ " padding-bottom: 4px;\n", 23 },
|
||||
{ " padding-left: 6px;\n", 21 },
|
||||
{ " padding-right: 32px;\n", 23 },
|
||||
{ " font-size: 14px;\n", 19 },
|
||||
{ " line-height: 20px;\n", 21 },
|
||||
{ " cursor: pointer;\n", 19 },
|
||||
{ " white-space: nowrap;\n", 23 },
|
||||
{ "}\n", 2 },
|
||||
{ "select-item:hover {\n", 20 },
|
||||
{ " background-color: #f5f5f5;\n", 29 },
|
||||
{ " color: #000;\n", 15 },
|
||||
{ "}\n", 2 },
|
||||
{ "select-item:active {\n", 21 },
|
||||
{ " background-color: #e5e5e5;\n", 29 },
|
||||
{ "}\n", 2 },
|
||||
{ "select-item:checked {\n", 22 },
|
||||
{ " background-color: #f5f5f5;\n", 29 },
|
||||
{ " color: #000;\n", 15 },
|
||||
{ "}\n", 2 },
|
||||
{ "select-item:highlighted {\n", 26 },
|
||||
{ " background-color: #f5f5f5;\n", 29 },
|
||||
{ " color: #000;\n", 15 },
|
||||
{ "}\n", 2 },
|
||||
{ "select-item .select-item-indicator {\n", 37 },
|
||||
{ " position: absolute;\n", 22 },
|
||||
{ " right: 8px;\n", 14 },
|
||||
{ " top: 4px;\n", 12 },
|
||||
{ " font-size: 16px;\n", 19 },
|
||||
{ " line-height: 20px;\n", 21 },
|
||||
{ " display: none;\n", 17 },
|
||||
{ "}\n", 2 },
|
||||
{ "select-item:checked .select-item-indicator {\n", 45 },
|
||||
{ " display: block;\n", 18 },
|
||||
{ "}\n", 2 },
|
||||
{ "select:disabled button,\n", 24 },
|
||||
{ "select:disabled button:hover,\n", 30 },
|
||||
{ "select:disabled button:active,\n", 31 },
|
||||
{ "select-item:disabled,\n", 22 },
|
||||
{ "select-item:disabled:hover {\n", 29 },
|
||||
{ " opacity: 0.5;\n", 16 },
|
||||
{ " cursor: not-allowed;\n", 23 },
|
||||
{ "}\n", 2 },
|
||||
{ "select-item:disabled:hover,\n", 28 },
|
||||
{ "select-item:disabled:active {\n", 30 },
|
||||
{ " background-color: transparent;\n", 33 },
|
||||
{ "}\n", 2 },
|
||||
{ "select:disabled button {\n", 25 },
|
||||
{ " pointer-events: none;\n", 24 },
|
||||
{ "}\n", 2 },
|
||||
{ "select:disabled select-trigger {\n", 33 },
|
||||
{ " cursor: not-allowed;\n", 23 },
|
||||
{ "}\n", 2 },
|
||||
{ "\n", 1 },
|
||||
{ "checkbox {\n", 11 },
|
||||
{ " border-radius: 4px;\n", 22 },
|
||||
{ " border-width: 1px;\n", 21 },
|
||||
{ " border-color: #e5e5e5;\n", 25 },
|
||||
{ " cursor: pointer;\n", 19 },
|
||||
{ " font-size: 14px;\n", 19 },
|
||||
{ "}\n", 2 },
|
||||
{ "checkbox:checked,\n", 18 },
|
||||
{ "checkbox:indeterminate {\n", 25 },
|
||||
{ " border-color: #222222;\n", 25 },
|
||||
{ " background-color: #222222;\n", 29 },
|
||||
{ " color: #ffffff;\n", 18 },
|
||||
{ "}\n", 2 },
|
||||
{ "checkbox:disabled {\n", 20 },
|
||||
{ " opacity: 0.5;\n", 16 },
|
||||
{ " cursor: not-allowed;\n", 23 },
|
||||
{ "}\n", 2 },
|
||||
{ "\n", 1 },
|
||||
{ "field {\n", 8 },
|
||||
{ " gap: 8px;\n", 12 },
|
||||
{ "}\n", 2 },
|
||||
{ "field-set {\n", 12 },
|
||||
{ " \n", 3 },
|
||||
{ " gap: 0px;\n", 12 },
|
||||
{ "}\n", 2 },
|
||||
{ "field-set field-group {\n", 24 },
|
||||
{ " margin-top: 12px;\n", 20 },
|
||||
{ "}\n", 2 },
|
||||
{ "field-group {\n", 14 },
|
||||
{ " gap: 20px;\n", 13 },
|
||||
{ "}\n", 2 },
|
||||
{ "field-group field-group {\n", 26 },
|
||||
{ " margin-top: 0px;\n", 19 },
|
||||
{ " gap: 16px;\n", 13 },
|
||||
{ "}\n", 2 },
|
||||
{ "field-set.has-radio-group radio-group {\n", 40 },
|
||||
{ " margin-top: 12px;\n", 20 },
|
||||
{ "}\n", 2 },
|
||||
{ "field-legend {\n", 15 },
|
||||
{ " font-size: 16px;\n", 19 },
|
||||
{ " line-height: 24px;\n", 21 },
|
||||
{ " font-weight: 500;\n", 20 },
|
||||
{ "}\n", 2 },
|
||||
{ "field-label {\n", 14 },
|
||||
{ " gap: 8px;\n", 12 },
|
||||
{ " font-size: 14px;\n", 19 },
|
||||
{ " line-height: 20px;\n", 21 },
|
||||
{ " font-weight: 500;\n", 20 },
|
||||
{ " line-height: 1.375;\n", 22 },
|
||||
{ "}\n", 2 },
|
||||
{ "field-content {\n", 16 },
|
||||
{ " gap: 2px;\n", 12 },
|
||||
{ " line-height: 1.375;\n", 22 },
|
||||
{ "}\n", 2 },
|
||||
{ "field-title {\n", 14 },
|
||||
{ " font-size: 14px;\n", 19 },
|
||||
{ " line-height: 20px;\n", 21 },
|
||||
{ " font-weight: 500;\n", 20 },
|
||||
{ " line-height: 1.375;\n", 22 },
|
||||
{ "}\n", 2 },
|
||||
{ "field-description {\n", 20 },
|
||||
{ " font-size: 14px;\n", 19 },
|
||||
{ " line-height: 20px;\n", 21 },
|
||||
{ " font-weight: 400;\n", 20 },
|
||||
{ " color: #666666;\n", 18 },
|
||||
{ " line-height: 1.5;\n", 20 },
|
||||
{ " text-align: left;\n", 20 },
|
||||
{ "}\n", 2 },
|
||||
{ "field-separator {\n", 18 },
|
||||
{ " height: 1px;\n", 15 },
|
||||
{ " background-color: #e5e5e5;\n", 29 },
|
||||
{ " margin: 0;\n", 13 },
|
||||
{ "}\n", 2 },
|
||||
{ "field-label.has-field {\n", 24 },
|
||||
{ " border-radius: 8px;\n", 22 },
|
||||
{ " border-width: 1px;\n", 21 },
|
||||
{ " border-color: #e5e5e5;\n", 25 },
|
||||
{ " padding: 10px;\n", 17 },
|
||||
{ "}\n", 2 },
|
||||
{ "\n", 1 },
|
||||
{ ".clip-safe,\n", 12 },
|
||||
{ "field,\n", 7 },
|
||||
{ "field-group,\n", 13 },
|
||||
{ "field-set {\n", 12 },
|
||||
{ " box-sizing: border-box;\n", 26 },
|
||||
{ " padding: 4px;\n", 16 },
|
||||
{ " margin: -4px;\n", 16 },
|
||||
{ "}\n", 2 },
|
||||
{ "\n", 1 },
|
||||
{ "field select {\n", 15 },
|
||||
{ " width: 100%;\n", 15 },
|
||||
{ "}\n", 2 },
|
||||
{ "field select-trigger {\n", 23 },
|
||||
{ " display: block;\n", 18 },
|
||||
{ "}\n", 2 },
|
||||
{ "field select-trigger button {\n", 30 },
|
||||
{ " width: 100%;\n", 15 },
|
||||
{ " min-width: 0;\n", 16 },
|
||||
{ "}\n", 2 },
|
||||
{ "field:horizontal select {\n", 26 },
|
||||
{ " width: auto;\n", 15 },
|
||||
{ "}\n", 2 },
|
||||
{ "field:horizontal select-trigger {\n", 34 },
|
||||
{ " display: inline-block;\n", 25 },
|
||||
{ "}\n", 2 },
|
||||
{ "field-label.has-field:hover {\n", 30 },
|
||||
{ " background-color: rgba(245, 245, 245, 0.5);\n", 46 },
|
||||
{ "}\n", 2 },
|
||||
{ "field-label.has-checked {\n", 26 },
|
||||
{ " background-color: rgba(34, 34, 34, 0.05);\n", 44 },
|
||||
{ " border-color: rgba(34, 34, 34, 0.3);\n", 39 },
|
||||
{ "}\n", 2 },
|
||||
{ "field:disabled,\n", 16 },
|
||||
{ "field-set:disabled,\n", 20 },
|
||||
{ "field-legend:disabled,\n", 23 },
|
||||
{ "field-group:disabled,\n", 22 },
|
||||
{ "field-label:disabled,\n", 22 },
|
||||
{ "field-description:disabled,\n", 28 },
|
||||
{ "field-content:disabled,\n", 24 },
|
||||
{ "field-title:disabled,\n", 22 },
|
||||
{ "field-separator:disabled {\n", 27 },
|
||||
{ " opacity: 0.5;\n", 16 },
|
||||
{ "}\n", 2 },
|
||||
{ "\n", 1 },
|
||||
{ "textinput {\n", 12 },
|
||||
{ " height: 32px;\n", 16 },
|
||||
{ " border-radius: 8px;\n", 22 },
|
||||
{ " border-width: 1px;\n", 21 },
|
||||
{ " border-color: #e5e5e5;\n", 25 },
|
||||
{ " background-color: #fff;\n", 26 },
|
||||
{ " padding-left: 10px;\n", 22 },
|
||||
{ " padding-right: 10px;\n", 23 },
|
||||
{ " padding-top: 4px;\n", 20 },
|
||||
{ " padding-bottom: 4px;\n", 23 },
|
||||
{ " font-size: 14px;\n", 19 },
|
||||
{ " line-height: 20px;\n", 21 },
|
||||
{ " color: #000;\n", 15 },
|
||||
{ " box-sizing: border-box;\n", 26 },
|
||||
{ "}\n", 2 },
|
||||
{ "textinput:focus {\n", 18 },
|
||||
{ " border-color: #000;\n", 22 },
|
||||
{ " box-shadow: 0 0 0 3px rgba(34, 34, 34, 0.1);\n", 47 },
|
||||
{ "}\n", 2 },
|
||||
{ "textinput:disabled {\n", 21 },
|
||||
{ " opacity: 0.5;\n", 16 },
|
||||
{ "}\n", 2 },
|
||||
};
|
||||
static const size_t css_str_style_nova_total_length = 15138;
|
||||
static inline void ui_load_css_string_style_nova_chunks(void)
|
||||
{
|
||||
size_t i;
|
||||
char *css = malloc(css_str_style_nova_total_length + 1);
|
||||
char *dest;
|
||||
|
||||
if (!css) {
|
||||
return;
|
||||
}
|
||||
dest = css;
|
||||
for (i = 0; i < sizeof(css_str_style_nova_chunks) /
|
||||
sizeof(css_str_style_nova_chunks[0]);
|
||||
++i) {
|
||||
memcpy(dest, css_str_style_nova_chunks[i].chunk,
|
||||
css_str_style_nova_chunks[i].length);
|
||||
dest += css_str_style_nova_chunks[i].length;
|
||||
}
|
||||
css[css_str_style_nova_total_length] = 0;
|
||||
ui_load_css_string(css, "style-nova.css");
|
||||
free(css);
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
/** @type {import('tailwindcss').Config} */
|
||||
module.exports = {
|
||||
content: ["./src/**/*.{c,h,css}"],
|
||||
theme: {
|
||||
extend: {
|
||||
colors: {
|
||||
background: "#fff",
|
||||
primary: "#222222",
|
||||
"primary-foreground": "#ffffff",
|
||||
secondary: "#f5f5f5",
|
||||
"secondary-foreground": "#222222",
|
||||
foreground: "#000",
|
||||
border: "#e5e5e5",
|
||||
destructive: "#e7000b",
|
||||
"destructive-muted": "#ffe8e9",
|
||||
muted: "#f5f5f5",
|
||||
"muted-foreground": "#666666",
|
||||
card: "#fff",
|
||||
"card-foreground": "#000",
|
||||
popover: "#fff",
|
||||
"popover-foreground": "#222222",
|
||||
},
|
||||
},
|
||||
},
|
||||
corePlugins: [
|
||||
"display",
|
||||
"flexDirection",
|
||||
"flex",
|
||||
"alignItems",
|
||||
"justifyContent",
|
||||
"width",
|
||||
"height",
|
||||
"padding",
|
||||
"margin",
|
||||
"gap",
|
||||
"borderRadius",
|
||||
"borderWidth",
|
||||
"borderColor",
|
||||
"backgroundColor",
|
||||
"textColor",
|
||||
"fontSize",
|
||||
"fontWeight",
|
||||
"lineHeight",
|
||||
"textAlign",
|
||||
"position",
|
||||
"inset",
|
||||
"pointerEvents",
|
||||
"textDecoration",
|
||||
"textUnderlineOffset",
|
||||
"opacity",
|
||||
],
|
||||
};
|
||||
Reference in New Issue
Block a user