modularizing
This commit is contained in:
16
flexlove/constants.lua
Normal file
16
flexlove/constants.lua
Normal file
@@ -0,0 +1,16 @@
|
||||
-- Text size preset mappings (in vh units for auto-scaling)
|
||||
local TEXT_SIZE_PRESETS = {
|
||||
["2xs"] = 0.75, -- 0.75vh
|
||||
xxs = 0.75, -- 0.75vh
|
||||
xs = 1.25, -- 1.25vh
|
||||
sm = 1.75, -- 1.75vh
|
||||
md = 2.25, -- 2.25vh (default)
|
||||
lg = 2.75, -- 2.75vh
|
||||
xl = 3.5, -- 3.5vh
|
||||
xxl = 4.5, -- 4.5vh
|
||||
["2xl"] = 4.5, -- 4.5vh
|
||||
["3xl"] = 5.0, -- 5vh
|
||||
["4xl"] = 7.0, -- 7vh
|
||||
}
|
||||
|
||||
return { TEXT_SIZE_PRESETS }
|
||||
Reference in New Issue
Block a user