@acorex/styles 7.2.2 → 7.2.4

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/package.json CHANGED
@@ -1,18 +1,11 @@
1
1
  {
2
2
  "name": "@acorex/styles",
3
- "version": "7.2.2",
4
- "description": "",
3
+ "version": "7.2.4",
5
4
  "main": "index.js",
6
- "author": "",
5
+ "author": "Ali Safari",
7
6
  "license": "ISC",
8
- "scripts": {
9
- "test": "echo \"Error: no test specified\" && exit 1"
10
- },
11
7
  "peerDependencies": {
12
8
  "animated-tailwindcss": "^4.0.0",
13
- "autoprefixer": "^10.4.14",
14
- "postcss": "^8.4.25",
15
- "tailwind-auto-directions": "^1.0.2",
16
- "tailwindcss": "^3.3.2"
9
+ "tailwindcss": "^3.3.3"
17
10
  }
18
11
  }
@@ -33,7 +33,7 @@ ax-close-button {
33
33
 
34
34
  ax-icon {
35
35
  color: rgba(var(--ax-color-default-fore));
36
- font-size: 1.25rem;
36
+ font-size: 1.5rem;
37
37
 
38
38
  &:hover {
39
39
  opacity: 0.5;
@@ -43,3 +43,8 @@ ax-close-button {
43
43
  ax-icon {
44
44
  display: inherit;
45
45
  }
46
+ ax-sub-title {
47
+ font-weight: 400;
48
+ font-size: 0.875rem;
49
+ opacity: 0.75;
50
+ }
@@ -1,9 +1,5 @@
1
1
  @import '../mixins/index.scss';
2
- // @include darkMode() {
3
- // .ax-editor-container {
4
- // background-color: rgba(var(--ax-color-default));
5
- // }
6
- // }
2
+
7
3
  .ax-editor-container {
8
4
  width: 100%;
9
5
  height: var(--ax-size-default);
@@ -13,7 +9,7 @@
13
9
  border: 1px solid;
14
10
  border-color: rgba(var(--ax-color-border-default));
15
11
  border-radius: var(--ax-rounded-border-default);
16
- font-size: 1rem;
12
+ font-size: 0.875rem;
17
13
  overflow: hidden;
18
14
  .ax-input {
19
15
  padding: 0 0.75rem;
@@ -84,7 +80,9 @@
84
80
  text-align: inherit;
85
81
  font-family: inherit;
86
82
  font-size: inherit;
83
+ line-height: inherit;
87
84
  font-weight: 400;
85
+
88
86
  &:focus {
89
87
  box-shadow: none;
90
88
  }
@@ -29,6 +29,29 @@
29
29
  background-color: rgba(var(--ax-color-surface));
30
30
  border-color: rgba(var(--ax-color-border-default));
31
31
  }
32
+ ax-header {
33
+ padding: 1rem;
34
+ font-size: 1.125rem;
35
+ font-weight: 500;
36
+ border-bottom: 1px solid;
37
+ border-color: rgba(var(--ax-color-border-default));
38
+ ax-prefix,
39
+ ax-suffix {
40
+ display: flex;
41
+ flex-direction: column;
42
+ justify-content: flex-start;
43
+ }
44
+ ax-prefix {
45
+ align-items: flex-start;
46
+ }
47
+ ax-suffix {
48
+ align-items: flex-end;
49
+ }
50
+
51
+ @include media('phone') {
52
+ font-size: 1rem;
53
+ }
54
+ }
32
55
 
33
56
  .ax-footer {
34
57
  border-top: 1px solid;
@@ -85,6 +108,9 @@
85
108
  justify-content: space-between;
86
109
  align-items: center;
87
110
  user-select: none;
111
+ @include media('phone') {
112
+ font-size: 1rem;
113
+ }
88
114
  &:focus,
89
115
  &:focus-visible {
90
116
  outline: 2px solid transparent;