ui-style-kit-css 1.2.1 → 2.0.1

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.
@@ -1,64 +0,0 @@
1
- # Code of Conduct
2
-
3
- ## Our Pledge
4
-
5
- We are committed to making participation in this project a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity or expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
6
-
7
- We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
8
-
9
- ## Our Standards
10
-
11
- Examples of behavior that contributes to a positive environment include:
12
-
13
- - Using welcoming and inclusive language
14
- - Respecting different viewpoints and experiences
15
- - Giving and accepting constructive feedback
16
- - Focusing on what is best for the community and the project
17
- - Showing empathy and kindness toward other community members
18
-
19
- Examples of unacceptable behavior include:
20
-
21
- - Sexualized language or imagery, and unwelcome sexual attention or advances
22
- - Trolling, insulting or derogatory comments, and personal or political attacks
23
- - Public or private harassment
24
- - Publishing others' private information, such as a physical or email address, without explicit permission
25
- - Other conduct that could reasonably be considered inappropriate in a professional setting
26
-
27
- ## Enforcement Responsibilities
28
-
29
- Project maintainers are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to behavior they deem inappropriate, threatening, offensive, or harmful.
30
-
31
- Maintainers may remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned with this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
32
-
33
- ## Scope
34
-
35
- This Code of Conduct applies within all project spaces and also applies when an individual is officially representing the project in public spaces. Examples include using an official project email address, posting via official social channels, or acting as an appointed representative at events.
36
-
37
- ## Reporting
38
-
39
- If you experience or witness unacceptable behavior, report it to the maintainers as soon as possible.
40
-
41
- - Preferred contact: [Foscat](https://github.com/Foscat) or [Email Me](mailto:fosterkyle6456@gmail.com)
42
- - Alternative: open a private report through repository maintainers on GitHub
43
-
44
- All reports will be reviewed promptly and handled with care and discretion. Maintainers will respect the privacy and security of the reporter to the extent possible.
45
-
46
- ## Enforcement Guidelines
47
-
48
- Maintainers may follow these Community Impact Guidelines when determining consequences:
49
-
50
- 1. Correction
51
- For minor or first-time issues, maintainers may provide a private written warning with clarification of expected behavior.
52
-
53
- 2. Warning
54
- For a violation involving a single incident or a pattern of behavior, maintainers may issue a warning with clear consequences for continued behavior.
55
-
56
- 3. Temporary Ban
57
- For serious or repeated violations, maintainers may impose a temporary ban from community interaction and project participation.
58
-
59
- 4. Permanent Ban
60
- For sustained inappropriate behavior, harassment, or threats to community safety, maintainers may impose a permanent ban from any sort of public interaction within the project.
61
-
62
- ## Attribution
63
-
64
- This Code of Conduct is informed by the Contributor Covenant and common open source community moderation practices.
package/index.html DELETED
@@ -1,234 +0,0 @@
1
- <!doctype html>
2
- <html lang="en-US">
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta http-equiv="x-ua-compatible" content="IE=edge" />
6
- <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
7
- <title>UI Style Kit CSS Demo | 11 UI Systems, 10 Themes, Light/Dark/Contrast</title>
8
- <meta
9
- name="description"
10
- content="Interactive demo for UI Style Kit CSS: a CSS-only style library with 11 visual UI systems, 10 shared color themes, light/dark/contrast modes, and accessibility-focused native HTML coverage."
11
- />
12
- <meta
13
- name="keywords"
14
- content="ui style kit, css design system, css theme library, ui components css, accessible css, minimal saas, bento ui, neumorphism, cyberpunk css, y2k ui"
15
- />
16
- <meta name="title" content="UI Style Kit CSS Demo | 11 UI Systems, 10 Themes, Light/Dark/Contrast" />
17
- <meta name="subject" content="CSS UI style library demo" />
18
- <meta name="copyright" content="Kyle Foster" />
19
- <meta name="url" content="https://foscat.github.io/ui-style-kit-css/" />
20
- <meta name="identifier-URL" content="https://foscat.github.io/ui-style-kit-css/" />
21
- <meta name="category" content="technology" />
22
- <meta name="coverage" content="Worldwide" />
23
- <meta name="target" content="all" />
24
- <meta name="author" content="Kyle Foster" />
25
- <meta name="creator" content="Kyle Foster" />
26
- <meta name="publisher" content="UI Style Kit CSS" />
27
- <meta name="application-name" content="UI Style Kit CSS Demo" />
28
- <meta name="generator" content="UI Style Kit CSS" />
29
- <meta name="referrer" content="strict-origin-when-cross-origin" />
30
- <meta name="robots" content="index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1" />
31
- <meta name="googlebot" content="index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1" />
32
- <meta name="bingbot" content="index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1" />
33
- <meta name="format-detection" content="telephone=no, date=no, email=no, address=no" />
34
- <meta name="rating" content="general" />
35
- <meta name="distribution" content="global" />
36
- <meta name="language" content="English" />
37
- <meta http-equiv="content-language" content="en-US" />
38
- <meta name="revisit-after" content="7 days" />
39
- <meta name="HandheldFriendly" content="true" />
40
- <meta name="apple-touch-fullscreen" content="yes" />
41
- <meta name="color-scheme" content="light dark" />
42
- <meta name="theme-color" content="#0b0f19" />
43
- <meta name="theme-color" media="(prefers-color-scheme: light)" content="#f5f7ff" />
44
- <meta name="theme-color" media="(prefers-color-scheme: dark)" content="#0b0f19" />
45
- <link rel="canonical" href="https://foscat.github.io/ui-style-kit-css/" />
46
- <link rel="shortlink" href="https://foscat.github.io/ui-style-kit-css/" />
47
- <link rel="alternate" href="https://foscat.github.io/ui-style-kit-css/" hreflang="en" />
48
- <link rel="alternate" href="https://foscat.github.io/ui-style-kit-css/" hreflang="x-default" />
49
- <link rel="license" href="https://github.com/Foscat/ui-style-kit-css/blob/main/LICENSE" />
50
- <link rel="manifest" href="site.webmanifest" />
51
- <link rel="stylesheet" href="styles/minimal-saas.css" />
52
- <link rel="stylesheet" href="styles/bento.css" />
53
- <link rel="stylesheet" href="styles/maximalist.css" />
54
- <link rel="stylesheet" href="styles/bauhaus.css" />
55
- <link rel="stylesheet" href="styles/tactile.css" />
56
- <link rel="stylesheet" href="styles/neumorphism.css" />
57
- <link rel="stylesheet" href="styles/retrofuturism.css" />
58
- <link rel="stylesheet" href="styles/brutalism.css" />
59
- <link rel="stylesheet" href="styles/cyberpunk.css" />
60
- <link rel="stylesheet" href="styles/y2k.css" />
61
- <link rel="stylesheet" href="styles/retro-glass.css" />
62
- <link rel="icon" href="logo.png" type="image/png" sizes="1254x1254" />
63
- <link rel="apple-touch-icon" href="logo.png" />
64
- <meta name="apple-mobile-web-app-capable" content="yes" />
65
- <meta name="apple-mobile-web-app-title" content="UI Style Kit CSS" />
66
- <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
67
- <meta name="mobile-web-app-capable" content="yes" />
68
- <meta name="msapplication-TileColor" content="#0b0f19" />
69
- <meta name="msapplication-config" content="browserconfig.xml" />
70
- <meta name="msapplication-starturl" content="/ui-style-kit-css/" />
71
- <meta name="msapplication-navbutton-color" content="#0b0f19" />
72
- <meta property="og:type" content="website" />
73
- <meta property="og:locale" content="en_US" />
74
- <meta property="og:site_name" content="UI Style Kit CSS" />
75
- <meta property="og:title" content="UI Style Kit CSS Demo | 11 UI Systems, 10 Themes" />
76
- <meta
77
- property="og:description"
78
- content="Try every UI Style Kit CSS visual system, switch shared themes and modes, and preview native element coverage."
79
- />
80
- <meta property="og:url" content="https://foscat.github.io/ui-style-kit-css/" />
81
- <meta property="og:image" content="https://foscat.github.io/ui-style-kit-css/assets/seo/social-card.png" />
82
- <meta property="og:image:secure_url" content="https://foscat.github.io/ui-style-kit-css/assets/seo/social-card.png" />
83
- <meta property="og:image:type" content="image/png" />
84
- <meta property="og:image:alt" content="UI Style Kit CSS social preview image" />
85
- <meta name="twitter:card" content="summary_large_image" />
86
- <meta name="twitter:title" content="UI Style Kit CSS Demo | 11 UI Systems, 10 Themes" />
87
- <meta
88
- name="twitter:description"
89
- content="CSS-only UI style library demo with multi-style switching, shared themes, and accessibility-focused native HTML coverage."
90
- />
91
- <meta name="twitter:image" content="https://foscat.github.io/ui-style-kit-css/assets/seo/social-card.png" />
92
- <meta name="twitter:image:alt" content="UI Style Kit CSS social preview image" />
93
- <script type="application/ld+json">
94
- {
95
- "@context": "https://schema.org",
96
- "@graph": [
97
- {
98
- "@type": "WebSite",
99
- "name": "UI Style Kit CSS",
100
- "url": "https://foscat.github.io/ui-style-kit-css/",
101
- "description": "A CSS-only UI style library with 11 visual systems, 10 themes, and light/dark/contrast modes.",
102
- "inLanguage": "en-US",
103
- "publisher": {
104
- "@type": "Person",
105
- "name": "Kyle Foster"
106
- }
107
- },
108
- {
109
- "@type": "SoftwareSourceCode",
110
- "name": "UI Style Kit CSS",
111
- "codeRepository": "https://github.com/Foscat/ui-style-kit-css",
112
- "url": "https://foscat.github.io/ui-style-kit-css/",
113
- "license": "https://github.com/Foscat/ui-style-kit-css/blob/main/LICENSE",
114
- "programmingLanguage": "CSS",
115
- "description": "CSS-only visual style and color theme library for modern web interfaces.",
116
- "keywords": "css, ui, style-kit, design-system, accessibility, themes"
117
- }
118
- ]
119
- }
120
- </script>
121
- <style>
122
- .demo-controls { position: sticky; top: 0; z-index: 1000; display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: .75rem; padding: 1rem; background: Canvas; color: CanvasText; border-bottom: 1px solid color-mix(in srgb, CanvasText 20%, transparent); }
123
- .demo-controls label { display: grid; gap: .25rem; font: 700 .85rem system-ui; }
124
- .demo-controls select { min-height: 2.5rem; padding: .5rem; font: inherit; }
125
- </style>
126
- </head>
127
- <body data-ui="minimal-saas" data-theme="arctic-indigo" data-mode="light">
128
- <a id="skip" class="saas-skip-link" href="#main">Skip to content</a>
129
- <aside class="demo-controls" aria-label="Demo controls">
130
- <label>UI Style<select id="uiSelect"><option value="minimal-saas" data-prefix="saas">Minimal SaaS</option><option value="bento" data-prefix="bento">Bento UI</option><option value="maximalist" data-prefix="max">Maximalist / Playful</option><option value="bauhaus" data-prefix="bau">Bauhaus / Swiss Modern</option><option value="tactile" data-prefix="tactile">Skeuomorphic / Tactile</option><option value="neumorphism" data-prefix="neo">Neumorphism</option><option value="retrofuturism" data-prefix="retro">Retrofuturism</option><option value="brutalism" data-prefix="brutal">Brutalism</option><option value="cyberpunk" data-prefix="cyber">Cyberpunk</option><option value="y2k" data-prefix="y2k">Y2K</option><option value="retro-glass" data-prefix="rg">Retro Glass</option></select></label>
131
- <label>Color Theme<select id="themeSelect"><option value="midnight-gold">midnight-gold</option><option value="ocean-steel">ocean-steel</option><option value="forest-moss">forest-moss</option><option value="sunset-ember">sunset-ember</option><option value="royal-plum">royal-plum</option><option value="graphite-cyan">graphite-cyan</option><option value="desert-sage">desert-sage</option><option value="rose-quartz">rose-quartz</option><option value="cyber-lime">cyber-lime</option><option value="arctic-indigo">arctic-indigo</option></select></label>
132
- <label>Mode<select id="modeSelect"><option value="light">light</option><option value="dark">dark</option><option value="contrast">contrast</option></select></label>
133
- </aside>
134
- <main id="main"></main>
135
- <script>
136
- const stylePrefixes = {"minimal-saas": "saas", "bento": "bento", "maximalist": "max", "bauhaus": "bau", "tactile": "tactile", "neumorphism": "neo", "retrofuturism": "retro", "brutalism": "brutal", "cyberpunk": "cyber", "y2k": "y2k", "retro-glass": "rg"};
137
- const styleTitles = {"minimal-saas": "Minimal SaaS", "bento": "Bento UI", "maximalist": "Maximalist / Playful", "bauhaus": "Bauhaus / Swiss Modern", "tactile": "Skeuomorphic / Tactile", "neumorphism": "Neumorphism", "retrofuturism": "Retrofuturism", "brutalism": "Brutalism", "cyberpunk": "Cyberpunk", "y2k": "Y2K", "retro-glass": "Retro Glass"};
138
- const uiSelect = document.getElementById('uiSelect');
139
- const themeSelect = document.getElementById('themeSelect');
140
- const modeSelect = document.getElementById('modeSelect');
141
- const main = document.getElementById('main');
142
- const skip = document.getElementById('skip');
143
-
144
- function render() {
145
- const ui = uiSelect.value;
146
- const p = stylePrefixes[ui];
147
- const title = styleTitles[ui];
148
- document.body.dataset.ui = ui;
149
- document.body.dataset.theme = themeSelect.value;
150
- document.body.dataset.mode = modeSelect.value;
151
- skip.className = `${p}-skip-link`;
152
- main.innerHTML = `
153
- <section class="${p}-page">
154
- <div class="${p}-container ${p}-stack">
155
- <nav class="${p}-nav" aria-label="Primary">
156
- <a class="${p}-nav-link is-active" href="#">Overview</a>
157
- <a class="${p}-nav-link" href="#components">Components</a>
158
- <a class="${p}-nav-link" href="#native">Native HTML</a>
159
- <a class="${p}-nav-link" href="#table">Table</a>
160
- </nav>
161
-
162
- <article class="${p}-card ${p}-hover-lift">
163
- <p class="${p}-kicker">${title}</p>
164
- <h1 class="${p}-title">UI Style Kit CSS</h1>
165
- <p class="${p}-subtitle">A CSS-only style kit with multiple UI systems, 10 shared color themes, light/dark/contrast modes, and native HTML coverage.</p>
166
- <div class="${p}-cluster">
167
- <button class="${p}-button ${p}-button-primary">Primary</button>
168
- <button class="${p}-button ${p}-button-secondary">Secondary</button>
169
- <button class="${p}-button">Neutral</button>
170
- <button class="${p}-icon-button" aria-label="Icon button">&#9733;</button>
171
- <span class="${p}-badge ${p}-badge-primary">Primary</span>
172
- <span class="${p}-badge ${p}-badge-warning">Warning</span>
173
- </div>
174
- </article>
175
-
176
- <section id="components" class="${p}-grid">
177
- <article class="${p}-card">
178
- <p class="${p}-kicker">Controls</p>
179
- <h2 class="${p}-heading">Form Components</h2>
180
- <label class="${p}-field"><span class="${p}-label">Project Name</span><input class="${p}-input" placeholder="Golden Goose Website" /></label>
181
- <label class="${p}-field"><span class="${p}-label">Message</span><textarea class="${p}-textarea" placeholder="Write something useful..."></textarea></label>
182
- <label class="${p}-switch"><input type="checkbox" checked><span class="${p}-switch-track"><span class="${p}-switch-thumb"></span></span><span>Enabled</span></label>
183
- </article>
184
-
185
- <article class="${p}-card">
186
- <p class="${p}-kicker">Status</p>
187
- <h2 class="${p}-heading">Alerts + Progress</h2>
188
- <div class="${p}-alert ${p}-alert-success"><p class="${p}-alert-title">Success</p><p class="${p}-alert-body">The package stylesheet is loaded.</p></div>
189
- <div class="${p}-progress" aria-label="Progress"><div class="${p}-progress-bar" style="--${p}-progress-value: 68%"></div></div>
190
- <div class="${p}-cluster"><span class="${p}-badge ${p}-badge-success">Success</span><span class="${p}-badge ${p}-badge-danger">Danger</span></div>
191
- </article>
192
-
193
- <article class="${p}-well">
194
- <h2 class="${p}-heading">Surface Well</h2>
195
- <p class="${p}-copy">This inset/soft surface demonstrates secondary containers and grouped content.</p>
196
- <hr class="${p}-divider" />
197
- <p><code>data-ui="${ui}"</code> <code>data-theme="${themeSelect.value}"</code> <code>data-mode="${modeSelect.value}"</code></p>
198
- </article>
199
- </section>
200
-
201
- <section id="native" class="${p}-card">
202
- <h2>Native HTML Coverage</h2>
203
- <p>This paragraph, <a href="#native">link</a>, <mark>marked text</mark>, <code>inline code</code>, <kbd>Ctrl</kbd> + <kbd>S</kbd>, and <abbr title="Accessible Rich Internet Applications">ARIA</abbr> abbreviation are styled without utility classes.</p>
204
- <blockquote>CSS can improve presentation accessibility, but semantic HTML and keyboard-safe JavaScript are still required.</blockquote>
205
- <ul><li>Unordered list item</li><li>Another item</li></ul>
206
- <ol><li>Ordered list item</li><li>Another item</li></ol>
207
- <details><summary>Details and summary</summary><p>Native disclosure widgets are covered too.</p></details>
208
- <fieldset><legend>Native Fieldset</legend><label>Email <input type="email" placeholder="name@example.com"></label><br><label><input type="checkbox" checked> Receive updates</label><br><label><input type="radio" name="demo-radio" checked> Option A</label></fieldset>
209
- <label>Range <input type="range" value="62"></label>
210
- <progress value="72" max="100">72%</progress>
211
- <meter value="0.68">68%</meter>
212
- </section>
213
-
214
- <section id="table" class="${p}-table-wrap">
215
- <table class="${p}-table">
216
- <caption>Component coverage example</caption>
217
- <thead><tr><th>Element</th><th>State</th><th>Coverage</th></tr></thead>
218
- <tbody>
219
- <tr><td>Button</td><td>Hover / active / disabled</td><td>Class + native</td></tr>
220
- <tr><td>Input</td><td>Focus / invalid / disabled</td><td>Class + native</td></tr>
221
- <tr><td>Table</td><td>Caption / header / hover</td><td>Class + native</td></tr>
222
- </tbody>
223
- </table>
224
- </section>
225
- </div>
226
- </section>`;
227
- }
228
- uiSelect.addEventListener('change', render);
229
- themeSelect.addEventListener('change', render);
230
- modeSelect.addEventListener('change', render);
231
- render();
232
- </script>
233
- </body>
234
- </html>