Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions form.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "style-forge.form",
"version": "2025.1.18",
"version": "2025.1.22",
"description": "Style-Forge.Form: versatile library for easy form creation, validation, styling, and submission in web apps.",
"type": "module",
"main": "form.css",
Expand Down
2 changes: 1 addition & 1 deletion src/button.css
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ html.var .sf-button:not([class*='sf-c-']) {
color: hsl(0, 0%, 10%);
background: hsla(0, 0%, 100%, 0.2);
}
html.var .sf-button:not(.bdc\:i) { border-color: hsla(0, 0%, 10%, 0.2) }
html.var .sf-button:not(.bd\:c\:ii) { border-color: hsla(0, 0%, 10%, 0.2) }

html.var a.sf-button:not([href]),
html.var .sf-button:disabled
Expand Down
2 changes: 1 addition & 1 deletion src/input.css
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ html.var .sf-input:not([class*='sf-c-']) {
color: hsl(0, 0%, 10%);
background: hsla(0, 0%, 90%, 0.2);
}
html.var .sf-input:not(.bdc\:i) { border-color: hsla(0, 0%, 10%, 0.2) }
html.var .sf-input:not(.bd\:c\:ii) { border-color: hsla(0, 0%, 10%, 0.2) }

html.var .sf-input::placeholder { color: hsla(0, 0%, 10%, 0.4) }
html.var .sf-input:placeholder-shown { border-color: hsla(0, 0%, 10%, 0.2) }
Expand Down
2 changes: 1 addition & 1 deletion src/select.css
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,6 @@ html.var .sf-select:not([class*='sf-c-']) {
color: hsl(0, 0%, 10%);
background: hsla(0, 0%, 90%, 0.2);
}
html.var .sf-select:not(.bdc\:i) { border-color: hsla(0, 0%, 10%, 0.2) }
html.var .sf-select:not(.bd\:c\:ii) { border-color: hsla(0, 0%, 10%, 0.2) }

html.var .sf-select:disabled { opacity: 0.4 }
2 changes: 1 addition & 1 deletion src/textarea.css
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ html.var .sf-textarea:not([class*='sf-c-']) {
color: hsl(0, 0%, 10%);
background: hsla(0, 0%, 90%, 0.2);
}
html.var .sf-textarea:not(.bdc\:i) { border-color: hsla(0, 0%, 10%, 0.2) }
html.var .sf-textarea:not(.bd\:c\:ii) { border-color: hsla(0, 0%, 10%, 0.2) }

html.var .sf-textarea::placeholder { color: hsla(0, 0%, 10%, 0.4) }
html.var .sf-textarea:disabled { opacity: 0.4 }
Expand Down
16 changes: 8 additions & 8 deletions src/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ html.var.dark option
}

/* reset color */
html.var[data-theme='dark'] .sf-button:not(.bdc\:i),
html.var[data-theme='dark'] .sf-input:not(.bdc\:i),
html.var[data-theme='dark'] .sf-textarea:not(.bdc\:i),
html.var[data-theme='dark'] .sf-select:not(.bdc\:i),
html.var[data-theme='dark'] .sf-button:not(.bd\:c\:ii),
html.var[data-theme='dark'] .sf-input:not(.bd\:c\:ii),
html.var[data-theme='dark'] .sf-textarea:not(.bd\:c\:ii),
html.var[data-theme='dark'] .sf-select:not(.bd\:c\:ii),
html.var[data-theme='dark'] option,
html.var.dark .sf-button:not(.bdc\:i),
html.var.dark .sf-input:not(.bdc\:i),
html.var.dark .sf-textarea:not(.bdc\:i),
html.var.dark .sf-select:not(.bdc\:i),
html.var.dark .sf-button:not(.bd\:c\:ii),
html.var.dark .sf-input:not(.bd\:c\:ii),
html.var.dark .sf-textarea:not(.bd\:c\:ii),
html.var.dark .sf-select:not(.bd\:c\:ii),
html.var.dark option
{ border-color: hsla(0, 0%, 100%, 0.2) }

Expand Down
4 changes: 2 additions & 2 deletions src/validate.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
padding: 0 0 0.5em;
}

html .sf-description, html .sf-invalid, html .sf-valid { display: none }
html .sf-description { display: block }
.sf-description, .sf-invalid, .sf-valid { display: none }
.sf-description { display: block }

.sf-invalid { color: hsl(var(--sf-c-form-error)) }
.sf-valid:not(.sf-description) { color: hsl(var(--sf-c-form-txt)) }
Expand Down
Loading