budibase/packages/builder/src/global.css

57 lines
1.7 KiB
CSS
Raw Normal View History

2020-10-30 11:41:44 +01:00
html {
2020-10-29 21:42:34 +01:00
/* Light theme */
--background: #FFFFFF;
--ink: #393C44;
2020-10-30 11:41:44 +01:00
}
html.dark {
2020-10-29 21:42:34 +01:00
/* Dark theme */
2020-10-30 11:41:44 +01:00
--theme-hue: 208;
--theme-saturation: 9%;
--theme-brightness: 16%;
--ink: hsl(var(--theme-hue), var(--theme-saturation), 90%);
--background: hsl(var(--theme-hue), var(--theme-saturation), var(--theme-brightness));
--grey-1: hsl(var(--theme-hue), var(--theme-saturation), calc(var(--theme-brightness) + 2%));
--grey-2: hsl(var(--theme-hue), calc(var(--theme-saturation) + 1%), calc(var(--theme-brightness) + 4%));
--grey-3: hsl(var(--theme-hue), var(--theme-saturation),calc(var(--theme-brightness) + 7%));
--grey-4: hsl(var(--theme-hue), var(--theme-saturation), calc(var(--theme-brightness) + 10%));
--grey-5: hsl(var(--theme-hue), var(--theme-saturation), calc(var(--theme-brightness) + 25%));
--grey-6: hsl(var(--theme-hue), var(--theme-saturation), calc(var(--theme-brightness) + 30%));
--grey-7: hsl(var(--theme-hue), var(--theme-saturation), calc(var(--theme-brightness) + 55%));
--grey-8: hsl(var(--theme-hue), var(--theme-saturation), calc(var(--theme-brightness) + 60%));
--grey-9: hsl(var(--theme-hue), var(--theme-saturation), calc(var(--theme-brightness) + 70%));
2019-07-13 11:35:57 +02:00
}
html, body {
2020-10-29 21:42:34 +01:00
font-family: var(--font-sans);
color: var(--ink);
2019-07-13 11:35:57 +02:00
padding: 0;
margin: 0;
height: 100%;
width: 100%;
2019-07-13 11:35:57 +02:00
}
#app {
height: 100%;
2020-06-01 23:04:32 +02:00
box-sizing: border-box;
overflow-y: hidden;
}
2020-03-12 15:23:29 +01:00
.hoverable:hover {
cursor: pointer;
}
/* Top bottom spacing */
.bb-margin-m {
margin-bottom: var(--spacing-m);
}
* + .bb-margin-m {
margin-top: var(--spacing-m);
}
.bb-margin-xl {
margin-bottom: var(--spacing-xl);
}
* + .bb-margin-xl {
margin-top: var(--spacing-xl);
}