Skip to content

Commit 026acfe

Browse files
author
Francesco Improta
committed
Squashed commit of the following:
commit 067c0f7 Author: Francesco Improta <francesco@designabile.com> Date: Sun Apr 24 08:54:37 2022 +0200 Build new zip commit 6af513f Author: Francesco Improta <francesco@designabile.com> Date: Sun Apr 24 08:54:27 2022 +0200 Changed zip output folder commit beb7418 Author: Francesco Improta <francesco@designabile.com> Date: Sun Apr 24 08:44:35 2022 +0200 Added new release post commit e1fb12a Author: Francesco Improta <francesco@designabile.com> Date: Sun Apr 24 08:44:23 2022 +0200 Updated blog meta text color and size commit d5d72ee Author: Francesco Improta <francesco@designabile.com> Date: Sun Apr 24 08:43:07 2022 +0200 Bumped version commit 376d4b2 Author: Francesco Improta <francesco@designabile.com> Date: Sun Apr 24 08:43:01 2022 +0200 Updated CHANGELOG commit caa230a Author: Omar Muscatello <7016897+omaxel@users.noreply.github.com> Date: Sun Apr 24 08:22:21 2022 +0200 SCSS compilation and library building (#44) * Add SCSS compiler * Add documentation * Use compiled library in docs commit d9814b1 Author: Francesco Improta <francesco@designabile.com> Date: Thu Mar 24 15:10:54 2022 +0100 Added a draft for the next release
1 parent f1a7402 commit 026acfe

Some content is hidden

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

46 files changed

+500
-10075
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,7 @@ node_modules/
44
*.sass.map
55
*.scss.map
66
.DS_Store
7+
.idea
8+
bin
9+
lib/dist
10+
lib/dev-server

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,18 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/)
55
and this project adheres to [Semantic Versioning](http://semver.org/).
66

7+
// # v1.0.0
8+
// This is a draft of release notes
9+
// - Added two different Carousel components
10+
// - Added Scroll position component
11+
// - Added CDN support
12+
13+
# v0.3.0
14+
## Added
15+
- Sass/SCSS support
16+
- Local development server
17+
- Automatic browser-vendors prefixins
18+
- Minification
719
# v0.2.1
820
## Fixed
921
- Accordion item label keyboard focus not visualized on FF and Safari (#37)

assets/scss/common/_global.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,5 +233,5 @@ body {
233233
}
234234

235235
.lead {
236-
color: $gray-600;
236+
color: $gray-800;
237237
}

assets/scss/layouts/_posts.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,8 @@
2626
.blog-footer {
2727
text-align: center;
2828
}
29+
30+
.card-meta {
31+
color: $gray-600;
32+
font-size: $font-size-sm;
33+
}

config/_default/config.toml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ rssLimit = 10
1414
home = ["HTML", "RSS", "REDIRECTS", "HEADERS"]
1515
section = ["HTML", "RSS", "SITEMAP"]
1616

17-
staticDir = ["static", "lib"]
17+
staticDir = ["static"]
1818

1919
# remove .{ext} from text/netlify
2020
[mediaTypes."text/netlify"]
@@ -89,9 +89,6 @@ rel = "sitemap"
8989
[[module.mounts]]
9090
source = "static"
9191
target = "static"
92-
[[module.mounts]]
93-
source = "lib"
94-
target = "static"
9592
[[module.mounts]]
9693
source = "node_modules/flexsearch"
9794
target = "assets/js/vendor/flexsearch"

config/_default/menus.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44
identifier = "getting-started"
55
url = "/docs/getting-started/"
66

7+
[[docs]]
8+
name = "Development"
9+
weight = 11
10+
identifier = "development"
11+
url = "/docs/development/"
12+
713
# [[docs]]
814
# name = "Help"
915
# weight = 60

content/blog/sass-support/index.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
title: "Sass/SCSS support, local server and automation"
3+
description: "What new features are we working on this year"
4+
lead: "More features for local development"
5+
date: 2022-04-23T09:00:00+01:00
6+
draft: false
7+
weight: 90
8+
contributors: ["Francesco Improta"]
9+
---
10+
11+
With the [PR #44](https://github.com/zetareticoli/cssui/pull/44) we have added some features for local development tasks.
12+
13+
CSS files are renamed to SCSS. The content of the files has not been touched. The content of HTML files must be nested into <body> to make working the hot-reload feature of the web-server.
14+
15+
It is now possible to:
16+
17+
- **start a dev server** with hot-reload for local development
18+
- **build the library**, including automatic browser-vendors prefixing and minification.
19+
20+
This will make it easier to release a new version of the library.
21+
22+
[Check the docs](https://www.cssui.dev/docs/development/local-development) for more information.
23+
24+
The components `.md` files have been updated to use the compiled version of the library. They cannot use the source files anymore since they are SCSS.
25+
26+
As of now, the build files of the library have to be manually copied to the assets/cssui folder. A new PR will be created which will include this improvement.
27+
28+
[Follow us on Twitter](https://twitter.com/css_ui) or on [Star on Github](https://github.com/zetareticoli/cssui) to stay updated!
29+
30+
Thank you 🙏
31+
32+
*CSSUI Team*

content/docs/components/accordion.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@ toc: true
1616
Click headers to expand/collapse content that is broken into logical sections.
1717

1818
<div class="preview">
19-
20-
<link rel="stylesheet" href="/cssui.css">
21-
<link rel="stylesheet" href="/accordion/accordion.css">
19+
<link rel="stylesheet" href="/cssui/cssui.min.css">
20+
<link rel="stylesheet" href="/cssui/cssui.accordion.min.css">
2221

2322
<section data-accordion>
2423
<div data-accordion-item>
@@ -102,4 +101,4 @@ List of variables used. Customize the component's design by changing or overridi
102101
--accordion-title-background: #fff;
103102
--accordion-title-spacing: 1rem;
104103
--accordion-title-color: var(--cssui-gray-dark);
105-
```
104+
```

content/docs/components/dropdown.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@ toc: true
1616
Dropdowns are toggleable, contextual overlays for displaying lists of links and more. They’re toggled by clicking, not by hovering.
1717

1818
<div class="preview">
19-
20-
<link rel="stylesheet" href="/cssui.css">
21-
<link rel="stylesheet" href="/dropdown/dropdown.css">
19+
<link rel="stylesheet" href="/cssui/cssui.min.css">
20+
<link rel="stylesheet" href="/cssui/cssui.dropdown.min.css">
2221

2322
<details data-dropdown>
2423
<summary>
@@ -62,4 +61,4 @@ List of variables used. Customize the component's design by changing or overridi
6261
--dropdown-link-color: var(--cssui-gray-darkest);
6362
--dropdown-panel-background: #fff;
6463
--dropdown-padding: var(--cssui-padding);
65-
```
64+
```

content/docs/components/modal.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ toc: true
1515

1616
Click on the button below to toggle the modal dialog.
1717

18-
<link rel="stylesheet" href="/cssui.css">
19-
<link rel="stylesheet" href="/modal/modal.css">
18+
<link rel="stylesheet" href="/cssui/cssui.min.css">
19+
<link rel="stylesheet" href="/cssui/cssui.modal.min.css">
2020

2121
<div class="preview" style="text-align: center">
2222
<a href="#modal" class="btn btn-primary btn-lg px-4 mb-2">Open Modal</a>

0 commit comments

Comments
 (0)