Skip to content

Commit 2ffb2f6

Browse files
b213
1 parent f1f4c72 commit 2ffb2f6

5 files changed

Lines changed: 22 additions & 19 deletions

File tree

src/Core/Theme/Getters.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,11 @@
3131

3232
$value: if(map.has-key($theme, $node), map.get($theme, $node), null);
3333

34-
@if (list.length($keys) > 0) {
34+
@if ($value != null and list.length($keys) > 0) {
3535
@for $key from 1 through list.length($keys) {
3636
@if ($value != null) {
3737
$value: if(map.has-key($value, list.nth($keys, $key)), map.get($value, list.nth($keys, $key)), null);
38+
// if key is the last item
3839
@if (list.length($keys) == $key) {
3940
@return $value;
4041
}

src/Modules/Elements/Grid/Grid.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
@use "../../../Core/Global/Options" as *;
77
@use "../../../Core/Global/Getters" as *;
8-
@use "../../../Core/Global/Options" as *;
98
@use "../../../Core/Global/Mixins" as *;
109

1110
@if enabled('elements', 'grid') {

src/Modules/Elements/Table/Table.scss

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,15 +74,17 @@
7474
td {
7575
padding: elements('table', 'td', 'padding');
7676
}
77+
th {
78+
border-bottom-color: elements('table', 'th', 'border-bottom-color');
79+
}
7780
thead tr {
7881
background: transparent !important;
7982
th {
80-
border-bottom-color: theme('border', 'color');
81-
font-size : elements('table', 'th', 'font-size');
82-
font-weight : elements('table', 'th', 'font-weight');
83-
color : elements('table', 'th', 'color');
84-
padding : elements('table', 'th', 'padding');
85-
background-color : elements('table', 'th', 'background-color');
83+
font-size : elements('table', 'th', 'font-size');
84+
font-weight : elements('table', 'th', 'font-weight');
85+
color : elements('table', 'th', 'color');
86+
padding : elements('table', 'th', 'padding');
87+
background-color: elements('table', 'th', 'background-color');
8688
}
8789
}
8890
}

src/Modules/Utilities/index.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ $helpers: (
282282
'specificity': !important, // or null
283283
'unit' : px, // length units (px, rem, em, %, vh, vw etc)
284284
'specs' : null, // for extra variables
285-
'values' : (2,4,8,10,12,14,16,500),
285+
'values' : (2,4,6,8,10,12,14,16,500),
286286
),
287287
///
288288
/// Border Style

src/options.scss

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
$options: (
1717
///
18-
/// COMPONENTS
18+
/// 01.COMPONENTS
1919
///
2020
'alert': (
2121
'enabled': true,
@@ -861,7 +861,7 @@ $options: (
861861
)
862862
),
863863
///
864-
/// ELEMENTS
864+
/// 02.ELEMENTS
865865
///
866866
'base': (
867867
'settings': (
@@ -1235,19 +1235,20 @@ $options: (
12351235
'padding': .313rem .7rem,
12361236
),
12371237
'th': (
1238-
'color' : theme('color', 'text'),
1239-
'font-size' : inherit,
1240-
'font-weight' : bold,
1241-
'padding' : .90rem .7rem,
1242-
'background-color': transparent
1238+
'color' : theme('color', 'text'),
1239+
'font-size' : inherit,
1240+
'font-weight' : bold,
1241+
'padding' : .90rem .7rem,
1242+
'background-color' : transparent,
1243+
'border-bottom-color': theme('color', 'text')
12431244
),
12441245
'caption': (
12451246
'text-align' : inherit,
12461247
'color' : theme('color', 'text'),
12471248
'font-size' : 1.15rem,
12481249
'font-weight' : bold,
1249-
'padding' : 1rem .7rem,
1250-
'border-bottom' : 2px theme('border', 'style') theme('color', 'text'),
1250+
'padding' : 1rem .6rem,
1251+
'border-bottom' : 1px theme('border', 'style') theme('color', 'text'),
12511252
'background-color': transparent
12521253
)
12531254
)
@@ -1343,7 +1344,7 @@ $options: (
13431344
)
13441345
),
13451346
///
1346-
/// UTILITIES
1347+
/// 03.UTILITIES
13471348
///
13481349
'helpers': (
13491350
'enabled': true

0 commit comments

Comments
 (0)