Skip to content

Commit 8c5fd9c

Browse files
committed
refactor: moved basic styles to base
1 parent fb2b676 commit 8c5fd9c

File tree

4 files changed

+0
-106
lines changed

4 files changed

+0
-106
lines changed

source/_patterns/00-base/_init.global.scss

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,6 @@
11
@use "@db-ui/base/build/scss/variables" as *;
22
@use "@db-ui/base/build/scss/helpers/functions" as *;
33

4-
// *! this is an opionionated (especially based on "enhancing" normalize.css) version of minireset.css v0.0.4 | MIT License | github.com/jgthms/minireset.css
5-
html,
6-
body {
7-
margin: 0;
8-
padding: 0;
9-
}
10-
11-
body {
12-
min-height: 100vh;
13-
}
14-
154
// adapted from https://github.com/jgthms/bulma/blob/0.7.5/sass/base/generic.sass
165
html {
176
background-color: #fdfdfd; // TODO: This would need to get replaced by the correct (semantic) color
@@ -48,16 +37,6 @@ body {
4837
line-height: 1.5;
4938
}
5039

51-
// Inline
52-
a {
53-
// TODO: Move to DB UI Base
54-
color: inherit;
55-
56-
strong {
57-
color: currentColor;
58-
}
59-
}
60-
6140
code {
6241
background-color: #f5f5f5;
6342
color: darken($db-colors-primary-enabled, 2%);
@@ -74,20 +53,10 @@ hr {
7453
margin: 1.5rem 0;
7554
}
7655

77-
img {
78-
height: auto;
79-
max-width: 100%;
80-
}
81-
8256
small {
8357
font-size: to-em($pxValue: 14);
8458
}
8559

86-
// Block
87-
fieldset {
88-
border: none;
89-
}
90-
9160
pre {
9261
background-color: #f5f5f5;
9362
color: #282d37;

source/_patterns/00-base/_init.scss

Lines changed: 0 additions & 73 deletions
This file was deleted.

source/css/db-ui-core.general.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,3 @@
44

55
@import "@csstools/normalize.css/normalize";
66
@import "db-ui-core.variables";
7-
@import "../_patterns/00-base/init";

source/css/enterprise/db-ui-core.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ $partial: false;
2222
@use "@db-ui/base/build/scss/color-placeholder" as *;
2323

2424
@use "../../_patterns/00-base/init.global" as *;
25-
@use "../../_patterns/00-base/init" as *;
2625

2726
// Importing helpers
2827
@use "@db-ui/base/build/scss/helpers/functions" as *;

0 commit comments

Comments
 (0)