yummacss 2.0.0 → 2.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.
- package/.prettierrc +9 -0
- package/CHANGELOG.md +47 -62
- package/README.md +20 -43
- package/dist/yumma-core.css +94163 -96777
- package/dist/yumma-core.min.css +1 -1
- package/dist/yumma.css +93959 -96567
- package/dist/yumma.min.css +1 -1
- package/package.json +5 -15
- package/src/{_stylecent.scss → _base.scss} +19 -15
- package/src/abstracts/_colors.scss +2 -2
- package/src/abstracts/_extensions.scss +19 -0
- package/src/abstracts/_functions.scss +2 -3
- package/src/abstracts/_mixins.scss +17 -31
- package/src/abstracts/_theme.scss +18 -0
- package/src/abstracts/_variables.scss +43 -75
- package/src/core.scss +1 -1
- package/src/utilities/_borders.scss +214 -0
- package/src/utilities/_box-model.scss +107 -0
- package/src/utilities/_effects.scss +74 -0
- package/src/utilities/_filters.scss +57 -0
- package/src/utilities/_flexbox.scss +192 -0
- package/src/utilities/_grid.scss +320 -0
- package/src/utilities/_interactions.scss +111 -0
- package/src/utilities/_layout.scss +310 -0
- package/src/utilities/_outlines.scss +76 -0
- package/src/utilities/_tables.scss +61 -0
- package/src/utilities/_typography.scss +168 -0
- package/src/yumma.scss +15 -2
- package/src/_utilities.scss +0 -1265
package/.prettierrc
ADDED
package/CHANGELOG.md
CHANGED
|
@@ -2,72 +2,57 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to the Yumma CSS will be documented in this file.
|
|
4
4
|
|
|
5
|
-
## [2.
|
|
5
|
+
## [2.1.0]
|
|
6
6
|
|
|
7
7
|
### Added
|
|
8
|
-
|
|
9
|
-
- Add
|
|
10
|
-
- Add
|
|
11
|
-
- Add
|
|
12
|
-
- Add
|
|
13
|
-
- Add
|
|
14
|
-
- Add **Container** utilities
|
|
15
|
-
- Add **Font Style** utilities
|
|
16
|
-
- Add **Gap** utilities
|
|
17
|
-
- Add **Grid Column** utilities
|
|
18
|
-
- Add **Grid Row** utilities
|
|
19
|
-
- Add **Object Fit** utilities
|
|
20
|
-
- Add **Object Position** utilities
|
|
21
|
-
- Add **Outline Color** utilities
|
|
22
|
-
- Add **Outline Offset** utilities
|
|
23
|
-
- Add **Outline Style** utilities
|
|
24
|
-
- Add **Outline Width** utilities
|
|
25
|
-
- Add **Spacing** utilities
|
|
26
|
-
- Add **Table Layout** utilities
|
|
27
|
-
- Add **Text Decoration Color** utilities
|
|
28
|
-
- Add **Text Decoration Style** utilities
|
|
29
|
-
- Add **Text Decoration Thickness** utilities
|
|
30
|
-
- Add `_mixin.scss` partial
|
|
31
|
-
- Add `core.scss` file
|
|
32
|
-
- Add `functions.scss` partial
|
|
33
|
-
- Include **Hover** utility variants
|
|
34
|
-
- Include **Responsive** utility variants
|
|
35
|
-
- Include **Silver** color to the color palette
|
|
8
|
+
|
|
9
|
+
- Add `_borders.scss`, `_box-model.scss`, `_effects.scss`, `_filters.scss`, `_flexbox.scss`, `_grid.scss`, `_layout.scss`, `_interactions.scss`, `_outlines.scss`, `_tables.scss` and `_typography.scss`
|
|
10
|
+
- Add `_extensions.scss` and `_theme.scss`
|
|
11
|
+
- Add `cursor: pointer` to all `<button>` element
|
|
12
|
+
- Add the `0` value to **Opacity** utility variant
|
|
13
|
+
- Add the `auto` property to **Flex** utility variant
|
|
36
14
|
|
|
37
15
|
### Changed
|
|
38
16
|
|
|
39
|
-
-
|
|
40
|
-
-
|
|
41
|
-
-
|
|
42
|
-
-
|
|
43
|
-
-
|
|
44
|
-
- New
|
|
45
|
-
- New `
|
|
46
|
-
- New `
|
|
47
|
-
- New `
|
|
48
|
-
-
|
|
49
|
-
-
|
|
50
|
-
-
|
|
51
|
-
-
|
|
52
|
-
-
|
|
53
|
-
-
|
|
54
|
-
-
|
|
55
|
-
-
|
|
56
|
-
-
|
|
57
|
-
-
|
|
58
|
-
-
|
|
59
|
-
-
|
|
17
|
+
- New `baseline` **Align Content** utility variant
|
|
18
|
+
- New `baseline` **Align Items** utility variant
|
|
19
|
+
- New `cg-0` **Column Gap** and `rg-0` **Row Gap** utilities
|
|
20
|
+
- New `col-resize`, `default`, `ne-resize`, `nesw-resize`, `none`, `nw-resize`, `nwse-resize`, `progress`, `row-resize`, `s-resize`, `se-resize`, `sw-resize`, `w-resize`, `zoom-in`, `zoom-out` **Cursor** utility properties
|
|
21
|
+
- New `f-b` **Font Size** base utility
|
|
22
|
+
- New `font-size: inherit` and `font-weight: inherit` properties for heading and paragraph elements.
|
|
23
|
+
- New `fs-9xl` **Font Size** utility variant
|
|
24
|
+
- New `row dense` and `dense row` **Grid Auto Flow** utility variants
|
|
25
|
+
- New `table`, `inline-table` and `inline-grid` **Display** utility variants
|
|
26
|
+
- New `text` and `all` **User Select** utility variants
|
|
27
|
+
- Rename **Align Content** utility syntax from `ac-stretch` to `ac-s`
|
|
28
|
+
- Rename **Align Items** utility syntax from `ai-stretch` to `ai-s`
|
|
29
|
+
- Rename **Align Self** utility syntax from `as-stretch` to `as-s`
|
|
30
|
+
- Rename **Justify Items** utility syntax from `ji-stretch` to `ji-st`
|
|
31
|
+
- Rename **Justify Self** utility syntax from `js-stretch` to `ji-st`
|
|
32
|
+
- Rename **Object Position** utility syntax from `op-left` to `op-l`
|
|
33
|
+
- Rename **Position** utility syntax from `p-t` to `p-y`
|
|
34
|
+
- Rename **Position** utility syntax from `p-y` to `p-st`
|
|
35
|
+
- Rename `_miscellaneous.scss` to `_interactions.scss`
|
|
36
|
+
- Rename `$yma-direction` base value from `1px` to `0.25rem`
|
|
37
|
+
- Rename color variables from `$yma-colors-*` to `$yma-theme-*`
|
|
38
|
+
- Update **Border Radius** base value from `4px` to `0.25rem`
|
|
39
|
+
- Update **Border Width** base value from `4px` to `1px`
|
|
40
|
+
- Update **Flex Basis** base value from `1rem` to `0.25rem`
|
|
41
|
+
- Update **Flex** utility variants
|
|
42
|
+
- Update **Outline Offset** base value from `2px` to `1px`
|
|
43
|
+
- Update **Outline Width** base value from `2px` to `1px`
|
|
44
|
+
- Update **Spacing X** and **Spacing Y** calculations
|
|
60
45
|
|
|
61
46
|
### Removed
|
|
62
|
-
|
|
63
|
-
-
|
|
64
|
-
- Remove **
|
|
65
|
-
- Remove `
|
|
66
|
-
- Remove `
|
|
67
|
-
- Remove `
|
|
68
|
-
- Remove `
|
|
69
|
-
- Remove `
|
|
70
|
-
- Remove `
|
|
71
|
-
- Remove `
|
|
72
|
-
- Remove
|
|
73
|
-
- Remove
|
|
47
|
+
|
|
48
|
+
- Delete `_utilities.scss` partial
|
|
49
|
+
- Remove `end` and `start` properties from **Align Content** utilities
|
|
50
|
+
- Remove `end` and `start` properties from **Align Items** utilities
|
|
51
|
+
- Remove `end` and `start` properties from **Align Self** utilities
|
|
52
|
+
- Remove `end`, `left`, `right` and `start` properties from **Justify Content** utilities
|
|
53
|
+
- Remove `er` **Cursor** variant
|
|
54
|
+
- Remove `flex-end`, `flex-start`, `left`, `normal` and `right` properties from **Justify Items** utilities
|
|
55
|
+
- Remove `flex-end`, `flex-start`, `left`, `normal`, `right` and `stretch` properties from **Justify Self** utilities
|
|
56
|
+
- Remove `hidden` property in **Border Style** utilities
|
|
57
|
+
- Remove `hidden` property in **Outline Style** utilities
|
|
58
|
+
- Remove variable inside **Spacing X** and **Spacing Y** utilities
|
package/README.md
CHANGED
|
@@ -1,54 +1,31 @@
|
|
|
1
|
-
<
|
|
1
|
+
<div align="center">
|
|
2
|
+
<a href="https://yummacss.com" target="_blank">
|
|
3
|
+
<picture>
|
|
4
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://www.yummacss.com/assets/vectors/dark-logo.svg">
|
|
5
|
+
<source media="(prefers-color-scheme: light)" srcset="https://www.yummacss.com/assets/vectors/light-logo.svg">
|
|
6
|
+
<img alt="Yumma CSS" src="https://www.yummacss.com/assets/vectors/light-logo.svg" width="220" style="max-width: 100%;">
|
|
7
|
+
</picture>
|
|
8
|
+
</a>
|
|
9
|
+
</div>
|
|
2
10
|
|
|
3
11
|
<p align="center">
|
|
4
|
-
|
|
5
|
-
<br>
|
|
6
|
-
<a href="https://yummacss.com"><strong>Explore Yumma CSS Docs ↝</strong></a>
|
|
7
|
-
<br>
|
|
12
|
+
All the tools you need in one package, with abbreviated utility classes — goodbye, massive codebases!
|
|
8
13
|
<br>
|
|
9
|
-
<a href="https://yummacss.com
|
|
10
|
-
•
|
|
11
|
-
<a href="https://yummacss.com/blogintroducing-yummacss-intellisense">Intellisense</a>
|
|
12
|
-
•
|
|
13
|
-
<a href="https://github.com/yumma-lib/yumma-css/issues">Issues</a>
|
|
14
|
-
•
|
|
15
|
-
<a href="https://play.yummacss.com">Playground</a>
|
|
14
|
+
<a href="https://yummacss.com"><strong>Read the documentation ↝</strong></a>
|
|
16
15
|
</p>
|
|
17
16
|
|
|
18
|
-
|
|
19
|
-
<a href="https://www.npmjs.com/package/yummacss?activeTab=versions">
|
|
20
|
-
<img src="https://img.shields.io/npm/v/yummacss" alt="npm version">
|
|
21
|
-
</a>
|
|
22
|
-
<a href="https://www.npmjs.com/yummacss">
|
|
23
|
-
<img src="https://img.shields.io/npm/dt/yummacss" alt="Downloads">
|
|
24
|
-
</a>
|
|
25
|
-
<a href="https://github.com/yumma-lib/yumma-css-docs?tab=MIT-1-ov-file#readme">
|
|
26
|
-
<img src="https://img.shields.io/badge/License-MIT-blue.svg" alt="License">
|
|
27
|
-
</a>
|
|
28
|
-
</p>
|
|
29
|
-
|
|
30
|
-
## Get started
|
|
31
|
-
|
|
32
|
-
You can use [npm](https://www.npmjs.com/yummacss) to include the Yumma CSS in your project, or you can add it using [jsDelivr](https://www.jsdelivr.com/):
|
|
33
|
-
|
|
34
|
-
### cdn
|
|
35
|
-
```
|
|
36
|
-
<link href="https://cdn.jsdelivr.net/gh/yumma-lib/yumma-css/dist/yumma.min.css" rel="stylesheet" crossorigin="anonymous">
|
|
37
|
-
```
|
|
17
|
+
---
|
|
38
18
|
|
|
39
|
-
###
|
|
40
|
-
```
|
|
41
|
-
npm install yummacss
|
|
42
|
-
```
|
|
19
|
+
### Support
|
|
43
20
|
|
|
44
|
-
|
|
21
|
+
[Join our Discord server](https://discord.gg/CGw5vyqmQ6). To get support just createa post in the `#help` channel with the <kbd>yummacss</kbd> tag.
|
|
45
22
|
|
|
46
|
-
|
|
23
|
+
### Contributing
|
|
47
24
|
|
|
48
|
-
|
|
49
|
-
- Join our [Discord](https://discord.gg/CGw5vyqmQ6) server.
|
|
50
|
-
- Follow us on [Twitter](https://twitter.com/yummacss) for the latest updates.
|
|
25
|
+
I'd love your help with Yumma CSS. I've included some links below which you might find useful.
|
|
51
26
|
|
|
52
|
-
|
|
27
|
+
- [Join us on the `#yummacss` channel on Discord](https://discord.gg/V6s5jg5TfX)
|
|
28
|
+
|
|
29
|
+
### Licensing
|
|
53
30
|
|
|
54
|
-
|
|
31
|
+
MIT — Copyright (c) 2023–present [Renildo Pereira](https://github.com/yumma-lib/yumma-css/graphs/contributors).
|