bulma-turbo-themes 0.10.7 → 0.11.0
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/README.md +26 -26
- data/lib/bulma-turbo-themes.rb +3 -4
- metadata +23 -58
- data/_data/i18n.yml +0 -3
- data/_layouts/default.html +0 -377
- data/assets/css/custom.css +0 -62
- data/assets/css/themes/base.css +0 -2
- data/assets/css/themes/bulma-dark.css +0 -1
- data/assets/css/themes/bulma-light.css +0 -1
- data/assets/css/themes/catppuccin-frappe.css +0 -1
- data/assets/css/themes/catppuccin-latte.css +0 -1
- data/assets/css/themes/catppuccin-macchiato.css +0 -1
- data/assets/css/themes/catppuccin-mocha.css +0 -1
- data/assets/css/themes/critical.css +0 -1
- data/assets/css/themes/dracula.css +0 -1
- data/assets/css/themes/github-dark.css +0 -1
- data/assets/css/themes/github-light.css +0 -1
- data/assets/img/bulma-logo-dark.png +0 -0
- data/assets/img/bulma-logo-dark.webp +0 -0
- data/assets/img/bulma-logo.png +0 -0
- data/assets/img/bulma-logo.webp +0 -0
- data/assets/img/catppuccin-logo-latte.png +0 -0
- data/assets/img/catppuccin-logo-latte.webp +0 -0
- data/assets/img/catppuccin-logo-macchiato.png +0 -0
- data/assets/img/catppuccin-logo-macchiato.webp +0 -0
- data/assets/img/dracula-logo.png +0 -0
- data/assets/img/dracula-logo.webp +0 -0
- data/assets/img/github-logo-dark.png +0 -0
- data/assets/img/github-logo-dark.webp +0 -0
- data/assets/img/github-logo-light.png +0 -0
- data/assets/img/github-logo-light.webp +0 -0
- data/assets/js/theme-selector.js +0 -687
- data/assets/js/theme-selector.min.js +0 -1
- data/lib/bulma-turbo-themes/version.rb +0 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 784f6197542e1d800be530f0faa4cd39038b5f264cd1b86e49919ef15cce8c61
|
|
4
|
+
data.tar.gz: 5a51c92f26a56d8c472b4b919a08b782aefbb18692422c8e5ed771149471c7a4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9db3fd7feefb14f6bf8fdb8967c745da351ab02e40de819f279870c0523f0ee7c8fe17754141fc6549e1a1c272ef031e10c709bd3ab15cfaf70a1569aed27f67
|
|
7
|
+
data.tar.gz: 4858b5f3da6e499b6dd8730fb16e70bcac5bfc72b857ff66bc8b57d4fb640ec4955bc5cff364374217158a66fae2e2ee42a4794895cc87394565c1c98da30266
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
#
|
|
1
|
+
# turbo-themes
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Universal, accessible theme packs and a drop-in theme selector.
|
|
4
4
|
|
|
5
5
|
[](https://bun.sh/)
|
|
6
6
|
[](https://nodejs.org/)
|
|
7
|
-
[](https://codecov.io/gh/TurboCoder13/turbo-themes)
|
|
8
8
|
[](LICENSE)
|
|
9
|
-
[](https://github.com/TurboCoder13/turbo-themes/actions/workflows/quality-ci-main.yml?query=branch%3Amain)
|
|
10
|
+
[](https://github.com/TurboCoder13/turbo-themes/actions/workflows/quality-ci-main.yml?query=branch%3Amain)
|
|
11
|
+
[](https://github.com/TurboCoder13/turbo-themes/actions/workflows/reporting-lighthouse-ci.yml?query=branch%3Amain)
|
|
12
12
|
|
|
13
|
-
[](https://github.com/TurboCoder13/turbo-themes/actions/workflows/security-codeql.yml?query=branch%3Amain)
|
|
14
14
|
[](https://www.bestpractices.dev/projects/11471)
|
|
15
15
|
[](SECURITY.md)
|
|
16
|
-
[](https://github.com/TurboCoder13/
|
|
16
|
+
[](https://github.com/TurboCoder13/turbo-themes/actions/workflows/security-sbom.yml)
|
|
17
17
|
|
|
18
|
-
[](https://www.npmjs.com/package/@turbocoder13/turbo-themes)
|
|
19
|
+
[](https://rubygems.org/gems/turbo-themes)
|
|
20
20
|
|
|
21
21
|
## Features
|
|
22
22
|
|
|
@@ -36,12 +36,12 @@ Install as a Ruby gem:
|
|
|
36
36
|
|
|
37
37
|
```ruby
|
|
38
38
|
# Gemfile
|
|
39
|
-
gem "
|
|
39
|
+
gem "turbo-themes", "~> 0.10"
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
```yaml
|
|
43
43
|
# _config.yml
|
|
44
|
-
theme:
|
|
44
|
+
theme: turbo-themes
|
|
45
45
|
```
|
|
46
46
|
|
|
47
47
|
Then run:
|
|
@@ -63,10 +63,10 @@ Install via Bun (recommended) or npm:
|
|
|
63
63
|
|
|
64
64
|
```bash
|
|
65
65
|
# Using Bun (recommended - 5-10x faster)
|
|
66
|
-
bun add @turbocoder13/
|
|
66
|
+
bun add @turbocoder13/turbo-themes
|
|
67
67
|
|
|
68
68
|
# Using npm
|
|
69
|
-
npm install @turbocoder13/
|
|
69
|
+
npm install @turbocoder13/turbo-themes
|
|
70
70
|
```
|
|
71
71
|
|
|
72
72
|
## Quick start
|
|
@@ -115,7 +115,7 @@ npm install @turbocoder13/bulma-turbo-themes
|
|
|
115
115
|
|
|
116
116
|
### Non-Jekyll Projects
|
|
117
117
|
|
|
118
|
-
1. Copy CSS files from `node_modules/@turbocoder13/
|
|
118
|
+
1. Copy CSS files from `node_modules/@turbocoder13/turbo-themes/assets/css/themes/` to your project:
|
|
119
119
|
- `global.css` (required)
|
|
120
120
|
- Flavor CSS files (e.g., `catppuccin-mocha.css`, `dracula.css`, `github-dark.css`) - copy the ones you want to use
|
|
121
121
|
2. Include CSS links (adjust paths to match your project structure):
|
|
@@ -150,7 +150,7 @@ npm install @turbocoder13/bulma-turbo-themes
|
|
|
150
150
|
```
|
|
151
151
|
|
|
152
152
|
```ts
|
|
153
|
-
import { initTheme, wireFlavorSelector } from '@turbocoder13/
|
|
153
|
+
import { initTheme, wireFlavorSelector } from '@turbocoder13/turbo-themes';
|
|
154
154
|
|
|
155
155
|
document.addEventListener('DOMContentLoaded', () => {
|
|
156
156
|
initTheme(document, window);
|
|
@@ -165,15 +165,15 @@ This package provides platform-agnostic design tokens that work in React Native,
|
|
|
165
165
|
#### Installation
|
|
166
166
|
|
|
167
167
|
```bash
|
|
168
|
-
bun add @turbocoder13/
|
|
168
|
+
bun add @turbocoder13/turbo-themes
|
|
169
169
|
# or
|
|
170
|
-
npm install @turbocoder13/
|
|
170
|
+
npm install @turbocoder13/turbo-themes
|
|
171
171
|
```
|
|
172
172
|
|
|
173
173
|
#### Basic Usage (Without Context)
|
|
174
174
|
|
|
175
175
|
```tsx
|
|
176
|
-
import { useTheme, useThemeColors } from '@turbocoder13/
|
|
176
|
+
import { useTheme, useThemeColors } from '@turbocoder13/turbo-themes/tokens/react-native';
|
|
177
177
|
|
|
178
178
|
function MyComponent() {
|
|
179
179
|
const { colors, styles, theme } = useTheme('catppuccin-mocha');
|
|
@@ -192,7 +192,7 @@ function MyComponent() {
|
|
|
192
192
|
#### With ThemeProvider (Recommended)
|
|
193
193
|
|
|
194
194
|
```tsx
|
|
195
|
-
import { ThemeProvider, useThemeContext } from '@turbocoder13/
|
|
195
|
+
import { ThemeProvider, useThemeContext } from '@turbocoder13/turbo-themes/tokens/react-native';
|
|
196
196
|
import { useColorScheme } from 'react-native';
|
|
197
197
|
|
|
198
198
|
// Wrap your app with ThemeProvider
|
|
@@ -229,10 +229,10 @@ function MyApp() {
|
|
|
229
229
|
|
|
230
230
|
| Import Path | Use Case |
|
|
231
231
|
|-------------|----------|
|
|
232
|
-
| `@turbocoder13/
|
|
233
|
-
| `@turbocoder13/
|
|
234
|
-
| `@turbocoder13/
|
|
235
|
-
| `@turbocoder13/
|
|
232
|
+
| `@turbocoder13/turbo-themes/tokens` | Platform-agnostic tokens (pure data) |
|
|
233
|
+
| `@turbocoder13/turbo-themes/tokens/react-native` | React Native utilities, hooks, and context |
|
|
234
|
+
| `@turbocoder13/turbo-themes/tokens.json` | JSON tokens for Flutter, Swift, Kotlin |
|
|
235
|
+
| `@turbocoder13/turbo-themes/css/*` | CSS files for web |
|
|
236
236
|
|
|
237
237
|
#### Pre-built Styles
|
|
238
238
|
|
|
@@ -284,8 +284,8 @@ For detailed E2E testing documentation, see `docs/E2E-TESTING.md`.
|
|
|
284
284
|
|
|
285
285
|
```bash
|
|
286
286
|
# Clone and install
|
|
287
|
-
git clone https://github.com/TurboCoder13/
|
|
288
|
-
cd
|
|
287
|
+
git clone https://github.com/TurboCoder13/turbo-themes.git
|
|
288
|
+
cd turbo-themes
|
|
289
289
|
bun install
|
|
290
290
|
bundle install
|
|
291
291
|
|
data/lib/bulma-turbo-themes.rb
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
require_relative "bulma-turbo-themes/version"
|
|
4
|
-
|
|
5
|
-
# Jekyll theme for Bulma Turbo Themes
|
|
6
|
-
# Provides accessible theme packs and theme selector for Bulma CSS framework
|
|
7
3
|
module BulmaTurboThemes
|
|
4
|
+
VERSION = "0.11.0"
|
|
8
5
|
end
|
|
9
6
|
|
|
7
|
+
require "turbo-themes"
|
|
8
|
+
|
metadata
CHANGED
|
@@ -1,37 +1,30 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bulma-turbo-themes
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.11.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Turbo Coder
|
|
8
|
-
|
|
9
|
-
bindir: exe
|
|
8
|
+
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
|
-
name:
|
|
13
|
+
name: turbo-themes
|
|
15
14
|
requirement: !ruby/object:Gem::Requirement
|
|
16
15
|
requirements:
|
|
17
|
-
- - "
|
|
16
|
+
- - "~>"
|
|
18
17
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: '
|
|
20
|
-
- - "<"
|
|
21
|
-
- !ruby/object:Gem::Version
|
|
22
|
-
version: '5.0'
|
|
18
|
+
version: '1.0'
|
|
23
19
|
type: :runtime
|
|
24
20
|
prerelease: false
|
|
25
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
26
22
|
requirements:
|
|
27
|
-
- - "
|
|
28
|
-
- !ruby/object:Gem::Version
|
|
29
|
-
version: '3.5'
|
|
30
|
-
- - "<"
|
|
23
|
+
- - "~>"
|
|
31
24
|
- !ruby/object:Gem::Version
|
|
32
|
-
version: '
|
|
33
|
-
description:
|
|
34
|
-
|
|
25
|
+
version: '1.0'
|
|
26
|
+
description: This gem has been renamed to 'turbo-themes'. Please update your Gemfile
|
|
27
|
+
to `gem "turbo-themes"`.
|
|
35
28
|
email:
|
|
36
29
|
- turbocoder13@users.noreply.github.com
|
|
37
30
|
executables: []
|
|
@@ -41,48 +34,21 @@ files:
|
|
|
41
34
|
- CHANGELOG.md
|
|
42
35
|
- LICENSE
|
|
43
36
|
- README.md
|
|
44
|
-
- _data/i18n.yml
|
|
45
|
-
- _layouts/default.html
|
|
46
|
-
- assets/css/custom.css
|
|
47
|
-
- assets/css/themes/base.css
|
|
48
|
-
- assets/css/themes/bulma-dark.css
|
|
49
|
-
- assets/css/themes/bulma-light.css
|
|
50
|
-
- assets/css/themes/catppuccin-frappe.css
|
|
51
|
-
- assets/css/themes/catppuccin-latte.css
|
|
52
|
-
- assets/css/themes/catppuccin-macchiato.css
|
|
53
|
-
- assets/css/themes/catppuccin-mocha.css
|
|
54
|
-
- assets/css/themes/critical.css
|
|
55
|
-
- assets/css/themes/dracula.css
|
|
56
|
-
- assets/css/themes/github-dark.css
|
|
57
|
-
- assets/css/themes/github-light.css
|
|
58
|
-
- assets/img/bulma-logo-dark.png
|
|
59
|
-
- assets/img/bulma-logo-dark.webp
|
|
60
|
-
- assets/img/bulma-logo.png
|
|
61
|
-
- assets/img/bulma-logo.webp
|
|
62
|
-
- assets/img/catppuccin-logo-latte.png
|
|
63
|
-
- assets/img/catppuccin-logo-latte.webp
|
|
64
|
-
- assets/img/catppuccin-logo-macchiato.png
|
|
65
|
-
- assets/img/catppuccin-logo-macchiato.webp
|
|
66
|
-
- assets/img/dracula-logo.png
|
|
67
|
-
- assets/img/dracula-logo.webp
|
|
68
|
-
- assets/img/github-logo-dark.png
|
|
69
|
-
- assets/img/github-logo-dark.webp
|
|
70
|
-
- assets/img/github-logo-light.png
|
|
71
|
-
- assets/img/github-logo-light.webp
|
|
72
|
-
- assets/js/theme-selector.js
|
|
73
|
-
- assets/js/theme-selector.min.js
|
|
74
37
|
- lib/bulma-turbo-themes.rb
|
|
75
|
-
|
|
76
|
-
homepage: https://github.com/TurboCoder13/bulma-turbo-themes
|
|
38
|
+
homepage: https://github.com/TurboCoder13/turbo-themes
|
|
77
39
|
licenses:
|
|
78
40
|
- MIT
|
|
79
41
|
metadata:
|
|
80
|
-
bug_tracker_uri: https://github.com/TurboCoder13/
|
|
81
|
-
changelog_uri: https://github.com/TurboCoder13/
|
|
82
|
-
documentation_uri: https://turbocoder13.github.io/
|
|
83
|
-
homepage_uri: https://github.com/TurboCoder13/
|
|
84
|
-
source_code_uri: https://github.com/TurboCoder13/
|
|
85
|
-
post_install_message:
|
|
42
|
+
bug_tracker_uri: https://github.com/TurboCoder13/turbo-themes/issues
|
|
43
|
+
changelog_uri: https://github.com/TurboCoder13/turbo-themes/blob/main/CHANGELOG.md
|
|
44
|
+
documentation_uri: https://turbocoder13.github.io/turbo-themes/
|
|
45
|
+
homepage_uri: https://github.com/TurboCoder13/turbo-themes
|
|
46
|
+
source_code_uri: https://github.com/TurboCoder13/turbo-themes
|
|
47
|
+
post_install_message: |
|
|
48
|
+
⚠️ DEPRECATION WARNING ⚠️
|
|
49
|
+
The 'bulma-turbo-themes' gem has been renamed to 'turbo-themes'.
|
|
50
|
+
Please update your Gemfile:
|
|
51
|
+
gem "turbo-themes"
|
|
86
52
|
rdoc_options: []
|
|
87
53
|
require_paths:
|
|
88
54
|
- lib
|
|
@@ -97,8 +63,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
97
63
|
- !ruby/object:Gem::Version
|
|
98
64
|
version: '0'
|
|
99
65
|
requirements: []
|
|
100
|
-
rubygems_version: 3.
|
|
101
|
-
signing_key:
|
|
66
|
+
rubygems_version: 3.6.9
|
|
102
67
|
specification_version: 4
|
|
103
|
-
summary:
|
|
68
|
+
summary: 'DEPRECATED: Use ''turbo-themes'' gem instead.'
|
|
104
69
|
test_files: []
|
data/_data/i18n.yml
DELETED