Skip to content

Commit ce1e30c

Browse files
Merge pull request #23 from 2bitdesigns/4bitcss-improvement
4bitcss 0.1.2
2 parents e80c3f7 + 0e8cd5e commit ce1e30c

File tree

604 files changed

+7555
-1266
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

604 files changed

+7555
-1266
lines changed

4bitcss.PSSVG.ps1

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,22 @@ $fontSettings = [Ordered]@{
2121
$assetFile =
2222
=<svg> -ViewBox 400,400 @(
2323
=<svg.defs> @(
24-
=<svg.style> -Type 'text/css' @'
25-
@import url('https://fonts.googleapis.com/css?family=Abel')
26-
'@
27-
24+
SVG.GoogleFont -FontName Abel
2825
)
29-
30-
26+
3127
=<svg.ellipse> -StrokeWidth 1.25 -Fill transparent -Cx 50% -Cy 50% -Stroke '#4488ff' -Ry 75 -Rx 50 -Class foreground-stroke
3228
=<svg.text> -FontSize 28 -Content 4bit -X 50% -Y 45% @fontSettings -Class foreground-fill -Fill '#4488ff'
33-
=<svg.text> -FontSize 28 -Content '⋅⋅⋅⋅' -X 50% -Y 50% @fontSettings -Class foreground-fill -Fill '#4488ff'
29+
$xPercent = 47.5,48.75,51.25,52.55
30+
foreach ($n in 0..3) {
31+
$x = $xPercent[$n]
32+
=<svg.circle> -Class "ansi$($n+1)-fill" -Fill '#4488ff' -Cx "$x%" -Cy 50% -R 0.5%
33+
}
3434
=<svg.text> -FontSize 28 -Content 'css' -X 50% -Y 55% @fontSettings -Class foreground-fill -Fill '#4488ff'
3535
) -OutputPath (Join-Path $assetsRoot .\4bitcss.svg)
3636

37+
$assetFile
38+
$assetFile | Copy-Item -Destination (Join-Path $docsRoot .\4bitcss.svg) -PassThru
39+
3740
=<svg> -ViewBox 640, 640 @(
3841
foreach ($n in 16..1) {
3942
=<svg.rect> -X (
@@ -82,7 +85,4 @@ $colors = 'Black', 'Red', 'Green', 'Yellow', 'Blue', 'Purple', 'Cyan', 'White',
8285
}
8386
) -OutputPath (Join-Path $docsRoot .\4bitpreviewtemplate.svg) -Class background-fill
8487

85-
$assetFile
86-
$assetFile | Copy-Item -Destination (Join-Path $docsRoot .\4bitcss.svg)
87-
8888
Pop-Location

4bitcss.build.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ foreach ($jsonFile in $jsonFiles) {
5252
@"
5353
---
5454
stylesheet: $colorSchemeFileName.css
55+
colorSchemeName: $colorSchemeName
56+
colorSchemeFileName: $colorSchemeFileName
5557
image: $colorSchemeFileName.png
5658
description: $colorSchemeName color scheme
5759
---

4bitcss.psd1

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@{
2-
ModuleVersion = '0.1.1'
2+
ModuleVersion = '0.1.2'
33
RootModule = '4bitcss.psm1'
44
Description = 'CSS3 Color Schemes'
55
Guid = '93e1d6ab-ce88-4751-bb14-b21fbb9f66f3'
@@ -11,6 +11,19 @@
1111
ProjectURI = 'https://github.com/2bitdesigns'
1212
LicenseURI = 'https://github.com/2bitdesigns/4bitcss/blob/main/LICENSE'
1313
ReleaseNotes = @'
14+
## 0.1.2:
15+
16+
Updating the Site:
17+
18+
* 4bitcss logo updates:
19+
* Now multicolor (Fixes #17)
20+
* Lacks bullet points (Fixes #16)
21+
* Theme is now automatically selected
22+
* Links are now all iocns
23+
* Download / Cloud Download (Fixes #20)
24+
* FeelingLucky (Fixes #21)
25+
* Removing Save/Load theme (for now) (Fixes #22)
26+
1427
## 0.1.1:
1528
1629
* Adding preview urls (e.g. https://4bitcss.com/Konsolas ) (Fixes #10)

Assets/4bitcss.svg

Lines changed: 6 additions & 3 deletions
Loading

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
## 0.1.2:
2+
3+
Updating the Site:
4+
5+
* 4bitcss logo updates:
6+
* Now multicolor (Fixes #17)
7+
* Lacks bullet points (Fixes #16)
8+
* Theme is now automatically selected
9+
* Links are now all iocns
10+
* Download / Cloud Download (Fixes #20)
11+
* FeelingLucky (Fixes #21)
12+
* Removing Save/Load theme (for now) (Fixes #22)
13+
114
## 0.1.1:
215

316
* Adding preview urls (e.g. https://4bitcss.com/Konsolas ) (Fixes #10)

docs/4bitcss.svg

Lines changed: 6 additions & 3 deletions
Loading

docs/4bitpreview.svg

Lines changed: 2 additions & 2 deletions
Loading

docs/4bitpreviewtemplate.svg

Lines changed: 2 additions & 2 deletions
Loading

docs/Abernathy.md

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
---
22
stylesheet: Abernathy.css
3+
colorSchemeName: Abernathy
4+
colorSchemeFileName: Abernathy
35
image: Abernathy.png
46
description: Abernathy color scheme
57
---
@@ -14,12 +16,30 @@ description: Abernathy color scheme
1416
</div>
1517

1618
<div class='centeredText'>
17-
<a id='downloadSchemeLink'>
18-
CSS
19+
<a id='downloadSchemeLink' class='padded'>
20+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="ansi6-stroke">
21+
<path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" />
22+
<polyline points="7 10 12 15 17 10" />
23+
<line x1="12" y1="15" x2="12" y2="3" />
24+
</svg>
1925
</a>
20-
<a id='cdnSchemeLink'>
21-
@jsdeliver
26+
<a id='cdnSchemeLink' class='padded'>
27+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="ansi6-stroke">
28+
<polyline points="8 17 12 21 16 17" />
29+
<line x1="12" y1="12" x2="12" y2="21" />
30+
<path d="M20.88 18.09A5 5 0 0 0 18 9h-1.26A8 8 0 1 0 3 16.29" />
31+
</svg>
2232
</a>
33+
<a id='feelingLucky' href="javascript:feelingLucky(document.getElementById('themeSelector'))" class='padded'>
34+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="ansi6-stroke">
35+
<polyline points="16 3 21 3 21 8" />
36+
<line x1="4" y1="20" x2="21" y2="3" />
37+
<polyline points="21 16 21 21 16 21" />
38+
<line x1="15" y1="15" x2="21" y2="21" />
39+
<line x1="4" y1="4" x2="9" y2="9" />
40+
</svg>
41+
</a>
42+
2343
</div>
2444

2545

docs/Abernathy.svg

Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)