Skip to content

Commit 0e0a748

Browse files
committed
adjusted layout variables
1 parent 3d5a55e commit 0e0a748

3 files changed

Lines changed: 14 additions & 8 deletions

File tree

samples/index.html

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -177,11 +177,9 @@ <h3 class="text-30 font-bold text-gray">Test title</h3>
177177
</div> -->
178178
<div class="h-75vh"></div>
179179

180-
<div class="grid grid-col-2 place-content-center min-h-50vh gap-20px">
181-
<div class="bg-purple">first</div>
182-
<div class="bg-purple-3">second</div>
183-
<div class="bg-purple-6">third</div>
184-
</div>
180+
<img
181+
class="object-none object-position-top h-20rem w-100per rounded-10px"
182+
src="https://omencss.com/images/blog/blogcontent/Hero-Image.webp" />
185183

186184
<script type="module">
187185
import { isInView, lazy } from '../js/omenJS.js'

scss/abstracts/variables/layout/_variables.scss

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ $layoutVariables: (
1818
break-after-auto: auto,
1919
break-after-avoid: avoid,
2020
break-after-all: all,
21+
break-after-always: always,
2122
break-after-avoid-page: avoid-page,
2223
break-after-page: page,
2324
break-after-left: left,
@@ -30,6 +31,7 @@ $layoutVariables: (
3031
break-before-auto: auto,
3132
break-before-avoid: avoid,
3233
break-before-all: all,
34+
break-before-always: always,
3335
break-before-avoid-page: avoid-page,
3436
break-before-page: page,
3537
break-before-left: left,
@@ -53,8 +55,8 @@ $layoutVariables: (
5355
),
5456
'box-sizing': (
5557
'values': (
56-
box-border: border-box,
57-
box-content: content-box
58+
box-sizing-border: border-box,
59+
box-sizing-content: content-box
5860
)
5961
),
6062
'float': (
@@ -180,7 +182,8 @@ $layoutVariables: (
180182
'visibility': (
181183
'values': (
182184
visible: visible,
183-
hidden: hidden
185+
hidden: hidden,
186+
collapse: collapse
184187
)
185188
),
186189
'z-index': (

scss/base/_reset.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,11 @@ h6 {
184184
}
185185

186186
// remove outline
187+
button {
188+
all: unset;
189+
cursor: pointer;
190+
}
191+
187192
a:focus,
188193
button:focus,
189194
input:focus,

0 commit comments

Comments
 (0)