Skip to content

Commit 3e54aa7

Browse files
committed
Prepare for 0.0.1 release
- Update README.md with version-specific installation instructions - Add comprehensive Documentation.docc content describing package capabilities - Ready for initial public release
1 parent 83f555a commit 3e54aa7

File tree

2 files changed

+21
-7
lines changed

2 files changed

+21
-7
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,15 @@ Add the dependency in your `Package.swift` file:
3434

3535
```swift
3636
dependencies: [
37-
.package(url: "https://github.com/coenttb/swift-css-types", branch: "main")
37+
.package(url: "https://github.com/coenttb/swift-css-types", from: "0.0.1")
3838
]
3939
```
4040

4141
### Xcode
4242

4343
1. Select File > Add Packages...
4444
2. Enter package URL: `https://github.com/coenttb/swift-css-types`
45-
3. Choose the main branch or a specific version
45+
3. Select version 0.0.1 or "Up to Next Major Version"
4646

4747
## Related Projects
4848

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,28 @@
11
# ``CSS``
22

3-
Hello Test
4-
3+
A Swift package that provides a strongly-typed domain model of CSS properties and values.
54

65
## Overview
76

8-
<!--@START_MENU_TOKEN@-->Text<!--@END_MENU_TOKEN@-->
7+
The CSS Types package provides type-safe representations of CSS properties, values, and at-rules, enabling compile-time validation of CSS code in Swift applications. This package serves as a foundation for building CSS DSLs and tools that work with CSS in a type-safe manner.
8+
9+
### Key Features
10+
11+
- **Type-safe CSS properties**: All CSS properties represented as Swift types with appropriate value constraints
12+
- **Comprehensive CSS value types**: Support for colors, lengths, percentages, and other CSS value types
13+
- **At-rule support**: Media queries, layers, containers, and other CSS at-rules
14+
- **Extensible design**: Designed to serve as a foundation for higher-level CSS tools and DSLs
915

1016
## Topics
1117

12-
### Hello
18+
### CSS Properties
19+
20+
CSS properties like `BackgroundColor`, `FontSize`, and `Margin` provide type-safe ways to work with CSS styling.
21+
22+
### CSS Types
23+
24+
Fundamental CSS value types including `Color`, `Length`, `Percentage`, and composite types like `LengthPercentage`.
25+
26+
### At-Rules
1327

14-
- <!--@START_MENU_TOKEN@-->``Symbol``<!--@END_MENU_TOKEN@-->
28+
CSS at-rules including `Media` queries, `Layer` declarations, and `Container` queries for advanced CSS features.

0 commit comments

Comments
 (0)