balean-theme 0.1.3 → 0.1.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 357c726494c183df7d82785fb622fe3b8ae0ded0d4e398c9317cb847126b0a34
4
- data.tar.gz: 3714d0a4a7031291288491f905c98b2ceb64e36622cd2af77253955ff120f6b3
3
+ metadata.gz: b43eda6fa44dfbee8269093d6037ba43dbab55052e4b508d4e16b0e80a915de9
4
+ data.tar.gz: f7af196dea5a5e3af584cf7aa4a995135789b0c5f0a61f1ebb81de052d3484db
5
5
  SHA512:
6
- metadata.gz: 8a9ba180fcf94fad685bf852ea3653e8041da8ee803e0a4e603d166c0cd5aac8980bfee657527209dc8d93e31d70cbaa6001f3a88651339ba4d4eda96ab7a293
7
- data.tar.gz: 58b935c878734a88b764781641377785125aabd1d0c756d88634790af0e7ec8fee220615caa3ada33e091e074dab31b5e967acdba8b0769de5b12eb63ab386dc
6
+ metadata.gz: caf5df06b237bb07804fdfcd1f3c949c217670407be396a476e4c8fcf0be955bd56dae5820c91879793c3686de09050d0c2b29f940e440960c46fd2e36aaff54
7
+ data.tar.gz: 98bdf0c4e60be85f84131f355a62aea2aa848ae5433de7ef4243b21b52457a8eb6ee5a8d61be54e035a926623c85628cd005b651f039229263c824c2018f6f5f
@@ -1 +1,2 @@
1
1
  @forward "buttons";
2
+ @forward "shapes";
@@ -0,0 +1,52 @@
1
+ @use "balean/variables" as vars;
2
+
3
+ .bui-shape {
4
+ padding: 20px;
5
+
6
+ &--rounded-rectangle {
7
+ min-height: 150px;
8
+ background: var(--bui-secondary-color-1);
9
+ // x1 x2 x3 x4 / y1 y2 y3 y4 -> 1 = up-left, 2 = up right, 3 = down-right, 4 = down-left
10
+ border-radius: 60px;
11
+ }
12
+
13
+ &--organic-shape {
14
+ aspect-ratio: 3 / 2;
15
+ background: var(--bui-secondary-color-1);
16
+ // x1 x2 x3 x4 / y1 y2 y3 y4 -> 1 = up-left, 2 = up right, 3 = down-right, 4 = down-left
17
+ border-radius: 68% 23% 70% 21% / 40% 35% 66% 53%;
18
+ }
19
+
20
+ &--width-20 {
21
+ width: 20%;
22
+ min-width: 200px; }
23
+
24
+ &--width-50 {
25
+ // bui-shape--width-50 uses 50% of the screen width
26
+ width: 50%;
27
+ min-width: 600px;
28
+
29
+ @media (max-width: vars.$tablet) {
30
+ min-width: 300px;
31
+ padding: 15px;
32
+ }
33
+
34
+ @media (max-width: vars.$mobile) {
35
+ min-width: 230px;
36
+ padding: 10px;
37
+ }
38
+ }
39
+
40
+ &--width-100 {
41
+ // bui-shape--width-100 uses 100% of the screen width
42
+ width: 100%;
43
+ min-width: 1000px;
44
+ }
45
+
46
+ &--content {
47
+ text-align: center;
48
+ align-content: center;
49
+ height: 100%;
50
+ width: 100%;
51
+ }
52
+ }
@@ -17,6 +17,25 @@ $balean-bg-1: #ffffffff; // White
17
17
  $balean-bg-2: #fdfcdcff; // Soft beige
18
18
  $balean-bg-3: #003049ff; // Dark navy
19
19
 
20
+ .bui-bgcolor {
21
+ @for $i from 0 through 4 {
22
+ &__bui-primary-color-#{$i} {
23
+ background-color: var(--bui-primary-color-#{$i}) !important;
24
+ }
25
+ }
26
+ @for $i from 0 through 5 {
27
+ &__bui-secondary-color-#{$i} {
28
+ background-color: var(--balean-secondary-#{$i}) !important;
29
+ }
30
+ }
31
+ @for $i from 0 through 3 {
32
+ &__bui-bg-color-#{$i} {
33
+ background-color: var(--balean-bg-#{$i}) !important;
34
+ }
35
+ }
36
+ }
37
+
38
+
20
39
  /* Color Scheme */
21
40
  :root {
22
41
  --bui-primary-color-1: #{$balean-primary-1};
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: balean-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sander Brienen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-03-12 00:00:00.000000000 Z
11
+ date: 2025-04-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -41,6 +41,7 @@ files:
41
41
  - _sass/balean/_theme.scss
42
42
  - _sass/balean/components/_buttons.scss
43
43
  - _sass/balean/components/_index.scss
44
+ - _sass/balean/components/_shapes.scss
44
45
  - _sass/balean/settings/_balean-font.scss
45
46
  - _sass/balean/settings/_color-scheme.scss
46
47
  - _sass/balean/settings/_index.scss