cleo_design_tokens 0.1.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 +7 -0
- data/lib/cleo_design_tokens/bucket.rb +22 -0
- data/lib/cleo_design_tokens/errors.rb +5 -0
- data/lib/cleo_design_tokens/lookup_builder.rb +62 -0
- data/lib/cleo_design_tokens/semantic_bucket.rb +39 -0
- data/lib/cleo_design_tokens/semantic_entry.rb +7 -0
- data/lib/cleo_design_tokens/tree_walker.rb +28 -0
- data/lib/cleo_design_tokens/version.rb +9 -0
- data/lib/cleo_design_tokens.rb +45 -0
- data/package.json +41 -0
- data/tokens/color/primitives.json +450 -0
- data/tokens/color/semantic.json +4394 -0
- metadata +55 -0
metadata
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: cleo_design_tokens
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Cleo
|
|
8
|
+
bindir: bin
|
|
9
|
+
cert_chain: []
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
|
+
dependencies: []
|
|
12
|
+
description: Flattens Cleo's colour design tokens (packages/tokens/tokens/color) into
|
|
13
|
+
frozen colors.primitives / colors.semantic lookups, with the theme passed alongside
|
|
14
|
+
the key.
|
|
15
|
+
executables: []
|
|
16
|
+
extensions: []
|
|
17
|
+
extra_rdoc_files: []
|
|
18
|
+
files:
|
|
19
|
+
- lib/cleo_design_tokens.rb
|
|
20
|
+
- lib/cleo_design_tokens/bucket.rb
|
|
21
|
+
- lib/cleo_design_tokens/errors.rb
|
|
22
|
+
- lib/cleo_design_tokens/lookup_builder.rb
|
|
23
|
+
- lib/cleo_design_tokens/semantic_bucket.rb
|
|
24
|
+
- lib/cleo_design_tokens/semantic_entry.rb
|
|
25
|
+
- lib/cleo_design_tokens/tree_walker.rb
|
|
26
|
+
- lib/cleo_design_tokens/version.rb
|
|
27
|
+
- package.json
|
|
28
|
+
- tokens/color/primitives.json
|
|
29
|
+
- tokens/color/semantic.json
|
|
30
|
+
homepage: https://github.com/meetcleo/cleonardo/tree/main/packages/tokens
|
|
31
|
+
licenses:
|
|
32
|
+
- Nonstandard
|
|
33
|
+
metadata:
|
|
34
|
+
source_code_uri: https://github.com/meetcleo/cleonardo/tree/main/packages/tokens
|
|
35
|
+
changelog_uri: https://github.com/meetcleo/cleonardo/releases
|
|
36
|
+
github_repo: ssh://github.com/meetcleo/cleonardo
|
|
37
|
+
allowed_push_host: https://rubygems.org
|
|
38
|
+
rdoc_options: []
|
|
39
|
+
require_paths:
|
|
40
|
+
- lib
|
|
41
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
42
|
+
requirements:
|
|
43
|
+
- - ">="
|
|
44
|
+
- !ruby/object:Gem::Version
|
|
45
|
+
version: '3.2'
|
|
46
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
47
|
+
requirements:
|
|
48
|
+
- - ">="
|
|
49
|
+
- !ruby/object:Gem::Version
|
|
50
|
+
version: '0'
|
|
51
|
+
requirements: []
|
|
52
|
+
rubygems_version: 3.6.9
|
|
53
|
+
specification_version: 4
|
|
54
|
+
summary: Ruby reader for Cleo's canonical colour design tokens
|
|
55
|
+
test_files: []
|